queso-0.57.1
|
Base class for one-dimensional quadrature rules (numerical integration of functions). More...
#include <1DQuadrature.h>
Public Member Functions | |
Constructor/Destructor methods | |
Base1DQuadrature (double minDomainValue, double maxDomainValue, unsigned int order) | |
Default constructor. More... | |
virtual | ~Base1DQuadrature ()=0 |
Pure virtual destructor, forcing this to be an abstract object. More... | |
Mathematical methods | |
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... | |
Public Member Functions inherited from QUESO::BaseQuadrature | |
BaseQuadrature () | |
virtual | ~BaseQuadrature ()=0 |
Pure virtual destructor, forcing this to be an abstract object. More... | |
const std::vector< double > & | weights () const |
Array of the weights used in the numerical integration. More... | |
Protected Attributes | |
double | m_minDomainValue |
double | m_maxDomainValue |
unsigned int | m_order |
std::vector< double > | m_positions |
Protected Attributes inherited from QUESO::BaseQuadrature | |
std::vector< double > | m_weights |
Base class for one-dimensional quadrature rules (numerical integration of functions).
Base class for numerical integration via quadrature rules of one-dimensional functions.
Definition at line 48 of file 1DQuadrature.h.
QUESO::Base1DQuadrature::Base1DQuadrature | ( | double | minDomainValue, |
double | maxDomainValue, | ||
unsigned int | order | ||
) |
Default constructor.
Definition at line 34 of file 1DQuadrature.C.
References m_maxDomainValue, and m_minDomainValue.
|
pure virtual |
Pure virtual destructor, forcing this to be an abstract object.
Definition at line 50 of file 1DQuadrature.C.
double QUESO::Base1DQuadrature::maxDomainValue | ( | ) | const |
Returns the maximum value of the domain of the (one-dimensional) function.
Definition at line 61 of file 1DQuadrature.C.
References m_maxDomainValue.
double QUESO::Base1DQuadrature::minDomainValue | ( | ) | const |
Returns the minimum value of the domain of the (one-dimensional) function.
Definition at line 55 of file 1DQuadrature.C.
References m_minDomainValue.
unsigned int QUESO::Base1DQuadrature::order | ( | ) | const |
Returns the order of the quadrature rule.
Definition at line 67 of file 1DQuadrature.C.
References m_order.
|
inline |
Array of the positions for the numerical integration.
Definition at line 74 of file 1DQuadrature.h.
References m_positions.
Referenced by QUESO::Generic1DQuadrature::Generic1DQuadrature().
|
protected |
Definition at line 81 of file 1DQuadrature.h.
Referenced by Base1DQuadrature(), maxDomainValue(), QUESO::UniformLegendre1DQuadrature::UniformLegendre1DQuadrature(), QUESO::WignerChebyshev2nd1DQuadrature::WignerChebyshev2nd1DQuadrature(), and QUESO::WignerInverseChebyshev1st1DQuadrature::WignerInverseChebyshev1st1DQuadrature().
|
protected |
Definition at line 80 of file 1DQuadrature.h.
Referenced by Base1DQuadrature(), minDomainValue(), QUESO::UniformLegendre1DQuadrature::UniformLegendre1DQuadrature(), QUESO::WignerChebyshev2nd1DQuadrature::WignerChebyshev2nd1DQuadrature(), and QUESO::WignerInverseChebyshev1st1DQuadrature::WignerInverseChebyshev1st1DQuadrature().
|
protected |
Definition at line 82 of file 1DQuadrature.h.
Referenced by QUESO::GaussianHermite1DQuadrature::GaussianHermite1DQuadrature(), order(), QUESO::UniformLegendre1DQuadrature::UniformLegendre1DQuadrature(), QUESO::WignerChebyshev2nd1DQuadrature::WignerChebyshev2nd1DQuadrature(), and QUESO::WignerInverseChebyshev1st1DQuadrature::WignerInverseChebyshev1st1DQuadrature().
|
protected |
Definition at line 83 of file 1DQuadrature.h.
Referenced by QUESO::GaussianHermite1DQuadrature::GaussianHermite1DQuadrature(), QUESO::Generic1DQuadrature::Generic1DQuadrature(), positions(), QUESO::UniformLegendre1DQuadrature::UniformLegendre1DQuadrature(), QUESO::WignerChebyshev2nd1DQuadrature::WignerChebyshev2nd1DQuadrature(), and QUESO::WignerInverseChebyshev1st1DQuadrature::WignerInverseChebyshev1st1DQuadrature().