Thermal-FIST
1.3
Package for hadron resonance gas model applications
|
Contains various Gauss-Legendre and Gauss-Laguerre quadratures used in numerical integrations. More...
Functions | |
double | Integrate2DLaguerre32Legendre32 (double(*func)(double, double), double ay, double by) |
void | GetCoefs2DLaguerre32Legendre32 (double ay, double by, std::vector< double > *xlag, std::vector< double > *wlag, std::vector< double > *xleg, std::vector< double > *wleg) |
void | GetCoefs2DLegendre32Legendre32 (double ax, double bx, double ay, double by, std::vector< double > *xleg1, std::vector< double > *wleg1, std::vector< double > *xleg2, std::vector< double > *wleg2) |
void | GetCoefsIntegrateLegendre32 (double a, double b, std::vector< double > *x, std::vector< double > *w) |
void | GetCoefsIntegrateLegendre10 (double a, double b, std::vector< double > *x, std::vector< double > *w) |
void | GetCoefsIntegrateLegendre5 (double a, double b, std::vector< double > *x, std::vector< double > *w) |
void | GetCoefsIntegrateLegendre40 (double a, double b, std::vector< double > *x, std::vector< double > *w) |
void | GetCoefsIntegrateLaguerre32 (std::vector< double > *x, std::vector< double > *w) |
Variables | |
const double | coefficients_xleg5 [5] |
Nodes of the 5-point Gauss-Legendre quadrature. More... | |
const double | coefficients_wleg5 [5] |
Weights of the 5-point Gauss-Legendre quadrature. More... | |
const double | coefficients_xleg10 [10] |
Nodes of the 10-point Gauss-Legendre quadrature. More... | |
const double | coefficients_wleg10 [10] |
Weights of the 10-point Gauss-Legendre quadrature. More... | |
const double | coefficients_xleg32 [32] |
Nodes of the 32-point Gauss-Legendre quadrature. More... | |
const double | coefficients_wleg32 [32] |
Weights of the 32-point Gauss-Legendre quadrature. More... | |
const double | coefficients_xleg40 [40] |
Nodes of the 40-point Gauss-Legendre quadrature. More... | |
const double | coefficients_wleg40 [40] |
Weights of the 40-point Gauss-Legendre quadrature. More... | |
const double | coefficients_xlag32 [32] |
Nodes of the 32-point Gauss-Laguerre quadrature. More... | |
const double | coefficients_wlag32 [32] |
Weights of the 32-point Gauss-Laguerre quadrature. More... | |
const double | coefficients_xleg32_zeroone [32] |
Nodes of the 32-point Gauss-Legendre quadrature in the interval [0,1]. More... | |
const double | coefficients_wleg32_zeroone [32] |
Weights of the 32-point Gauss-Legendre quadrature in the interval [0,1]. More... | |
Contains various Gauss-Legendre and Gauss-Laguerre quadratures used in numerical integrations.
void thermalfist::NumericalIntegration::GetCoefs2DLaguerre32Legendre32 | ( | double | ay, |
double | by, | ||
std::vector< double > * | xlag, | ||
std::vector< double > * | wlag, | ||
std::vector< double > * | xleg, | ||
std::vector< double > * | wleg | ||
) |
Populates the nodes and weights for integrating a function f(x,y) in the range 0 < x < , ay <= y <= by using the combined 32-point Gauss-Laguerre and the 32-point Gauss-Legendre quadrature.
[in] | ay | Left limit of integration for variable y. |
[in] | by | Right limit of integration for variable y. |
[out] | xlag | Gauss-Laguerre nodes for the variable x. |
[out] | wlag | Gauss-Laguerre weights for the variable x. |
[out] | xleg | Gauss-Legendre nodes for the variable y. |
[out] | wleg | Gauss-Legendre weights for the variable y. |
Definition at line 42 of file NumericalIntegration.cpp.
void thermalfist::NumericalIntegration::GetCoefs2DLegendre32Legendre32 | ( | double | ax, |
double | bx, | ||
double | ay, | ||
double | by, | ||
std::vector< double > * | xleg1, | ||
std::vector< double > * | wleg1, | ||
std::vector< double > * | xleg2, | ||
std::vector< double > * | wleg2 | ||
) |
Populates the nodes and weights for integrating a function f(x,y) in the range ax < x < bx, ay <= y <= by using two 32-point Gauss-Legendre quadratures.
[in] | ax | Left limit of integration for variable x. |
[in] | bx | Right limit of integration for variable x. |
[in] | ay | Left limit of integration for variable y. |
[in] | by | Right limit of integration for variable y. |
[out] | xlag | Gauss-Legendre nodes for the variable x. |
[out] | wlag | Gauss-Legendre weights for the variable x. |
[out] | xleg | Gauss-Legendre nodes for the variable y. |
[out] | wleg | Gauss-Legendre weights for the variable y. |
Definition at line 68 of file NumericalIntegration.cpp.
void thermalfist::NumericalIntegration::GetCoefsIntegrateLaguerre32 | ( | std::vector< double > * | x, |
std::vector< double > * | w | ||
) |
Populates the nodes and weights for integrating a function f(x) in the range 0 < x < using the 32-point Gauss-Laguerre quadrature.
[out] | x | Gauss-Legendre nodes. |
[out] | w | Gauss-Legendre weights. |
Definition at line 174 of file NumericalIntegration.cpp.
void thermalfist::NumericalIntegration::GetCoefsIntegrateLegendre10 | ( | double | a, |
double | b, | ||
std::vector< double > * | x, | ||
std::vector< double > * | w | ||
) |
Populates the nodes and weights for integrating a function f(x) in the range ax < x < bx using the 10-point Gauss-Legendre quadrature.
[in] | a | Left limit of integration. |
[in] | b | Right limit of integration |
[out] | x | Gauss-Legendre nodes. |
[out] | w | Gauss-Legendre weights. |
Definition at line 113 of file NumericalIntegration.cpp.
void thermalfist::NumericalIntegration::GetCoefsIntegrateLegendre32 | ( | double | a, |
double | b, | ||
std::vector< double > * | x, | ||
std::vector< double > * | w | ||
) |
Populates the nodes and weights for integrating a function f(x) in the range ax < x < bx using the 32-point Gauss-Legendre quadrature.
[in] | a | Left limit of integration. |
[in] | b | Right limit of integration |
[out] | x | Gauss-Legendre nodes. |
[out] | w | Gauss-Legendre weights. |
Definition at line 92 of file NumericalIntegration.cpp.
void thermalfist::NumericalIntegration::GetCoefsIntegrateLegendre40 | ( | double | a, |
double | b, | ||
std::vector< double > * | x, | ||
std::vector< double > * | w | ||
) |
Populates the nodes and weights for integrating a function f(x) in the range
ax | < x < | |
bx | using the 40-point Gauss-Legendre quadrature. | |
[in] | a | Left limit of integration. |
[in] | b | Right limit of integration |
[out] | x | Gauss-Legendre nodes. |
[out] | w | Gauss-Legendre weights. |
Definition at line 153 of file NumericalIntegration.cpp.
void thermalfist::NumericalIntegration::GetCoefsIntegrateLegendre5 | ( | double | a, |
double | b, | ||
std::vector< double > * | x, | ||
std::vector< double > * | w | ||
) |
Populates the nodes and weights for integrating a function f(x) in the range ax < x < bx using the 5-point Gauss-Legendre quadrature.
[in] | a | Left limit of integration. |
[in] | b | Right limit of integration |
[out] | x | Gauss-Legendre nodes. |
[out] | w | Gauss-Legendre weights. |
Definition at line 133 of file NumericalIntegration.cpp.
double thermalfist::NumericalIntegration::Integrate2DLaguerre32Legendre32 | ( | double(*)(double, double) | func, |
double | ay, | ||
double | by | ||
) |
Integrates a function f(x,y) in range 0 < x < , ay <= y <= by using the combined 32-point Gauss-Laguerre and the 32-point Gauss-Legendre quadrature.
func | A point to a function to be integrate. |
ay | Left limit of integration for variable y. |
by | Right limit of integration for variable y. |
Definition at line 14 of file NumericalIntegration.cpp.
const double thermalfist::NumericalIntegration::coefficients_wlag32[32] |
Weights of the 32-point Gauss-Laguerre quadrature.
Definition at line 129 of file NumericalIntegration.h.
const double thermalfist::NumericalIntegration::coefficients_wleg10[10] |
Weights of the 10-point Gauss-Legendre quadrature.
Definition at line 52 of file NumericalIntegration.h.
const double thermalfist::NumericalIntegration::coefficients_wleg32[32] |
Weights of the 32-point Gauss-Legendre quadrature.
Definition at line 73 of file NumericalIntegration.h.
const double thermalfist::NumericalIntegration::coefficients_wleg32_zeroone[32] |
Weights of the 32-point Gauss-Legendre quadrature in the interval [0,1].
Definition at line 156 of file NumericalIntegration.h.
const double thermalfist::NumericalIntegration::coefficients_wleg40[40] |
Weights of the 40-point Gauss-Legendre quadrature.
Definition at line 101 of file NumericalIntegration.h.
const double thermalfist::NumericalIntegration::coefficients_wleg5[5] |
Weights of the 5-point Gauss-Legendre quadrature.
Definition at line 37 of file NumericalIntegration.h.
const double thermalfist::NumericalIntegration::coefficients_xlag32[32] |
Nodes of the 32-point Gauss-Laguerre quadrature.
Definition at line 116 of file NumericalIntegration.h.
const double thermalfist::NumericalIntegration::coefficients_xleg10[10] |
Nodes of the 10-point Gauss-Legendre quadrature.
Definition at line 44 of file NumericalIntegration.h.
const double thermalfist::NumericalIntegration::coefficients_xleg32[32] |
Nodes of the 32-point Gauss-Legendre quadrature.
Definition at line 60 of file NumericalIntegration.h.
const double thermalfist::NumericalIntegration::coefficients_xleg32_zeroone[32] |
Nodes of the 32-point Gauss-Legendre quadrature in the interval [0,1].
Definition at line 142 of file NumericalIntegration.h.
const double thermalfist::NumericalIntegration::coefficients_xleg40[40] |
Nodes of the 40-point Gauss-Legendre quadrature.
Definition at line 86 of file NumericalIntegration.h.
const double thermalfist::NumericalIntegration::coefficients_xleg5[5] |
Nodes of the 5-point Gauss-Legendre quadrature.
Definition at line 30 of file NumericalIntegration.h.