A class that provides quadrature points and weights, in host and device memory. The quadrature points and weights are computed either the GSL quadratures or the MatsubaraQuadrature class. This avoids recomputing the quadrature points and weights for each integrator.
More...
#include <quadrature_provider.hh>
A class that provides quadrature points and weights, in host and device memory. The quadrature points and weights are computed either the GSL quadratures or the MatsubaraQuadrature class. This avoids recomputing the quadrature points and weights for each integrator.
◆ QuadratureProvider() [1/2]
| DiFfRG::QuadratureProvider::QuadratureProvider |
( |
| ) |
|
◆ QuadratureProvider() [2/2]
| DiFfRG::QuadratureProvider::QuadratureProvider |
( |
const JSONValue & |
json | ) |
|
◆ matsubara_nodes()
Get the quadrature points for a quadrature of size quadrature_size.
- Parameters
-
| quadrature_size | Size of the quadrature. |
- Returns
- const std::vector<double>&
◆ matsubara_T()
Get the effective temperature for the Matsubara zero-mode weight. Returns 0 for vacuum (T=0) quadratures and the physical T for Monien quadratures.
◆ matsubara_weights()
Get the quadrature weights for a quadrature of size quadrature_size.
- Parameters
-
| quadrature_size | Size of the quadrature. |
- Returns
- const std::vector<double>&
◆ nodes()
Get the quadrature points for a quadrature of size quadrature_size.
- Parameters
-
| quadrature_size | Size of the quadrature. |
- Returns
- const std::vector<double>&
◆ weights()
Get the quadrature weights for a quadrature of size quadrature_size.
- Parameters
-
| quadrature_size | Size of the quadrature. |
- Returns
- const std::vector<double>&
◆ matsubara_storage
◆ quadrature_storage
◆ verbosity
| int DiFfRG::QuadratureProvider::verbosity |
|
private |
The documentation for this class was generated from the following file: