queso-0.53.0
|
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 () |
Virtual destructor. 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... | |
const std::vector< double > & | weights () const |
Array of the weights used in the numerical integration. More... | |
virtual void | dumbRoutine () const =0 |
A bogus method. More... | |
Protected Attributes | |
double | m_minDomainValue |
double | m_maxDomainValue |
unsigned int | m_order |
std::vector< double > | m_positions |
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 47 of file 1DQuadrature.h.
QUESO::Base1DQuadrature::Base1DQuadrature | ( | double | minDomainValue, |
double | maxDomainValue, | ||
unsigned int | order | ||
) |
Default constructor.
Definition at line 32 of file 1DQuadrature.C.
References m_maxDomainValue, m_minDomainValue, and queso_require_less_msg.
|
virtual |
|
pure virtual |
A bogus method.
Implemented in QUESO::WignerChebyshev2nd1DQuadrature, QUESO::WignerInverseChebyshev1st1DQuadrature, QUESO::GaussianHermite1DQuadrature, QUESO::UniformLegendre1DQuadrature, and QUESO::Generic1DQuadrature.
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.
const std::vector< double > & QUESO::Base1DQuadrature::positions | ( | ) | const |
Array of the positions for the numerical integration.
Definition at line 73 of file 1DQuadrature.C.
References m_positions, and queso_require_not_equal_to_msg.
Referenced by QUESO::Generic1DQuadrature::Generic1DQuadrature().
const std::vector< double > & QUESO::Base1DQuadrature::weights | ( | ) | const |
Array of the weights used in the numerical integration.
Definition at line 80 of file 1DQuadrature.C.
References m_weights, and queso_require_not_equal_to_msg.
Referenced by QUESO::Generic1DQuadrature::Generic1DQuadrature().
|
protected |
Definition at line 83 of file 1DQuadrature.h.
Referenced by Base1DQuadrature(), maxDomainValue(), QUESO::UniformLegendre1DQuadrature::UniformLegendre1DQuadrature(), QUESO::WignerChebyshev2nd1DQuadrature::WignerChebyshev2nd1DQuadrature(), and QUESO::WignerInverseChebyshev1st1DQuadrature::WignerInverseChebyshev1st1DQuadrature().
|
protected |
Definition at line 82 of file 1DQuadrature.h.
Referenced by Base1DQuadrature(), minDomainValue(), QUESO::UniformLegendre1DQuadrature::UniformLegendre1DQuadrature(), QUESO::WignerChebyshev2nd1DQuadrature::WignerChebyshev2nd1DQuadrature(), and QUESO::WignerInverseChebyshev1st1DQuadrature::WignerInverseChebyshev1st1DQuadrature().
|
protected |
Definition at line 84 of file 1DQuadrature.h.
Referenced by QUESO::GaussianHermite1DQuadrature::GaussianHermite1DQuadrature(), order(), QUESO::UniformLegendre1DQuadrature::UniformLegendre1DQuadrature(), QUESO::WignerChebyshev2nd1DQuadrature::WignerChebyshev2nd1DQuadrature(), and QUESO::WignerInverseChebyshev1st1DQuadrature::WignerInverseChebyshev1st1DQuadrature().
|
protected |
Definition at line 85 of file 1DQuadrature.h.
Referenced by QUESO::GaussianHermite1DQuadrature::GaussianHermite1DQuadrature(), QUESO::Generic1DQuadrature::Generic1DQuadrature(), positions(), QUESO::UniformLegendre1DQuadrature::UniformLegendre1DQuadrature(), QUESO::WignerChebyshev2nd1DQuadrature::WignerChebyshev2nd1DQuadrature(), and QUESO::WignerInverseChebyshev1st1DQuadrature::WignerInverseChebyshev1st1DQuadrature().
|
protected |
Definition at line 86 of file 1DQuadrature.h.
Referenced by QUESO::GaussianHermite1DQuadrature::GaussianHermite1DQuadrature(), QUESO::Generic1DQuadrature::Generic1DQuadrature(), QUESO::UniformLegendre1DQuadrature::UniformLegendre1DQuadrature(), weights(), QUESO::WignerChebyshev2nd1DQuadrature::WignerChebyshev2nd1DQuadrature(), and QUESO::WignerInverseChebyshev1st1DQuadrature::WignerInverseChebyshev1st1DQuadrature().