![]() |
Thermal-FIST 1.5
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) |
template<typename T> | |
void | GetCoefsIntegrateLegendre32Template (T a, T b, std::vector< T > *xp, std::vector< T > *wp) |
Variables | |
const double | coefficients_xleg5 [5] |
Nodes of the 5-point Gauss-Legendre quadrature. | |
const double | coefficients_wleg5 [5] |
Weights of the 5-point Gauss-Legendre quadrature. | |
const double | coefficients_xleg10 [10] |
Nodes of the 10-point Gauss-Legendre quadrature. | |
const double | coefficients_wleg10 [10] |
Weights of the 10-point Gauss-Legendre quadrature. | |
const double | coefficients_xleg32 [32] |
Nodes of the 32-point Gauss-Legendre quadrature. | |
const double | coefficients_wleg32 [32] |
Weights of the 32-point Gauss-Legendre quadrature. | |
const double | coefficients_xleg40 [40] |
Nodes of the 40-point Gauss-Legendre quadrature. | |
const double | coefficients_wleg40 [40] |
Weights of the 40-point Gauss-Legendre quadrature. | |
const double | coefficients_xlag32 [32] |
Nodes of the 32-point Gauss-Laguerre quadrature. | |
const double | coefficients_wlag32 [32] |
Weights of the 32-point Gauss-Laguerre quadrature. | |
const double | coefficients_xleg32_zeroone [32] |
Nodes of the 32-point Gauss-Legendre quadrature in the interval [0,1]. | |
const double | coefficients_wleg32_zeroone [32] |
Weights of the 32-point Gauss-Legendre quadrature in the interval [0,1]. | |
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 < \infty, 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 51 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 77 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 < \infty using the 32-point Gauss-Laguerre quadrature.
[out] | x | Gauss-Legendre nodes. |
[out] | w | Gauss-Legendre weights. |
Definition at line 183 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 122 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-Laguerre nodes. |
[out] | w | Gauss-Laguerre weights. |
Definition at line 101 of file NumericalIntegration.cpp.
void thermalfist::NumericalIntegration::GetCoefsIntegrateLegendre32Template | ( | T | a, |
T | b, | ||
std::vector< T > * | xp, | ||
std::vector< T > * | wp ) |
Template version. 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 289 of file NumericalIntegration.h.
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
a | < x < | |
b | 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 162 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 142 of file NumericalIntegration.cpp.
double thermalfist::NumericalIntegration::Integrate2DLaguerre32Legendre32 | ( | double(* | func )(double, double), |
double | ay, | ||
double | by ) |
Integrates a function f(x,y) in range 0 < x < \infty, ay <= y <= by using the combined 32-point Gauss-Laguerre and the 32-point Gauss-Legendre quadrature.
func | A pointer to a function to be integrated. |
ay | Left limit of integration for variable y. |
by | Right limit of integration for variable y. |
Integrate a 2D function from 0 to infinity using Gauss-Laguerre integration with 32 points and from ay to by using Gauss-Legendre integration with 32 points.
func | The function to integrate, taking two double arguments. |
ay | The lower bound for the Gauss-Legendre integration. |
by | The upper bound for the Gauss-Legendre integration. |
Definition at line 23 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.