queso-0.53.0
|
Class for Hermite-Gauss quadrature rule for one-dimensional functions. More...
#include <1DQuadrature.h>
Public Member Functions | |
Constructor/Destructor methods | |
GaussianHermite1DQuadrature (double mean, double stddev, unsigned int order) | |
Default constructor. More... | |
~GaussianHermite1DQuadrature () | |
Destructor. More... | |
Mathematical methods | |
void | dumbRoutine () const |
A bogus method. More... | |
Public Member Functions inherited from QUESO::Base1DQuadrature | |
Base1DQuadrature (double minDomainValue, double maxDomainValue, unsigned int order) | |
Default constructor. More... | |
virtual | ~Base1DQuadrature () |
Virtual destructor. More... | |
double | minDomainValue () const |
Returns the minimum value of the domain of the (one-dimensional) function. More... | |
double | maxDomainValue () const |
Returns the maximum value of the domain of the (one-dimensional) function. More... | |
unsigned int | order () const |
Returns the order of the quadrature rule. More... | |
const std::vector< double > & | positions () const |
Array of the positions for the numerical integration. More... | |
const std::vector< double > & | weights () const |
Array of the weights used in the numerical integration. More... | |
Protected Attributes | |
double | m_mean |
double | m_stddev |
Protected Attributes inherited from QUESO::Base1DQuadrature | |
double | m_minDomainValue |
double | m_maxDomainValue |
unsigned int | m_order |
std::vector< double > | m_positions |
std::vector< double > | m_weights |
Class for Hermite-Gauss quadrature rule for one-dimensional functions.
Hermite-Gauss quadrature, also called Hermite quadrature, is a Gaussian quadrature over the interval with weighting function .
The abscissas for quadrature order are given by the roots of the Hermite polynomials , which occur symmetrically about 0.
The abscissas and weights can be computed analytically for small :
2 | ||
3 | ||
4 | ||
Definition at line 219 of file 1DQuadrature.h.
QUESO::GaussianHermite1DQuadrature::GaussianHermite1DQuadrature | ( | double | mean, |
double | stddev, | ||
unsigned int | order | ||
) |
Default constructor.
Constructs a Gaussian-Hermite quadrature of order order
. Valid values for the order of the quadrature rule are: 1-9, 19.
mean
and stddev
. Definition at line 428 of file 1DQuadrature.C.
References QUESO::Base1DQuadrature::m_order, QUESO::Base1DQuadrature::m_positions, QUESO::Base1DQuadrature::m_weights, and queso_error_msg.
QUESO::GaussianHermite1DQuadrature::~GaussianHermite1DQuadrature | ( | ) |
|
virtual |
|
protected |
Definition at line 246 of file 1DQuadrature.h.
|
protected |
Definition at line 247 of file 1DQuadrature.h.