queso-0.57.0
|
Base class for quadrature rules. More...
#include <BaseQuadrature.h>
Public Member Functions | |
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 | |
std::vector< double > | m_weights |
Base class for quadrature rules.
This serves as the base class for approximating integrals using numerical quadrature. Namely,
This class contains the weights. Subclasses will have the positions since the position can be one-dimensional (Base1DQuadrature) or multi-dimensional (MultiDQuadratureBase).
Definition at line 40 of file BaseQuadrature.h.
|
inline |
Definition at line 44 of file BaseQuadrature.h.
|
inlinepure virtual |
Pure virtual destructor, forcing this to be an abstract object.
Definition at line 60 of file BaseQuadrature.h.
|
inline |
Array of the weights used in the numerical integration.
Definition at line 50 of file BaseQuadrature.h.
References m_weights.
Referenced by QUESO::Generic1DQuadrature::Generic1DQuadrature().
|
protected |
Definition at line 56 of file BaseQuadrature.h.
Referenced by QUESO::GaussianHermite1DQuadrature::GaussianHermite1DQuadrature(), QUESO::Generic1DQuadrature::Generic1DQuadrature(), QUESO::MonteCarloQuadrature< V, M >::MonteCarloQuadrature(), QUESO::TensorProductQuadrature< V, M >::TensorProductQuadrature(), QUESO::UniformLegendre1DQuadrature::UniformLegendre1DQuadrature(), weights(), QUESO::WignerChebyshev2nd1DQuadrature::WignerChebyshev2nd1DQuadrature(), and QUESO::WignerInverseChebyshev1st1DQuadrature::WignerInverseChebyshev1st1DQuadrature().