queso-0.57.1
|
Numerical quadrature using a tensor product of Base1DQuadrature rules. More...
#include <TensorProductQuadrature.h>
Public Member Functions | |
TensorProductQuadrature (const VectorSubset< V, M > &domain, const std::vector< QUESO::SharedPtr< Base1DQuadrature >::Type > &q_rules) | |
virtual | ~TensorProductQuadrature () |
Public Member Functions inherited from QUESO::MultiDQuadratureBase< V, M > | |
MultiDQuadratureBase (const VectorSubset< V, M > &domain) | |
virtual | ~MultiDQuadratureBase ()=0 |
Pure virtual destructor, forcing this to be an abstract object. More... | |
const std::vector< typename QUESO::SharedPtr< V >::Type > & | positions () const |
const VectorSubset< V, M > & | getDomain () const |
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... | |
Additional Inherited Members | |
Protected Attributes inherited from QUESO::MultiDQuadratureBase< V, M > | |
std::vector< typename QUESO::SharedPtr< V >::Type > | m_positions |
Locations of quadrature points. More... | |
const VectorSubset< V, M > & | m_domain |
Domain over which the quadrature will be performed. More... | |
Protected Attributes inherited from QUESO::BaseQuadrature | |
std::vector< double > | m_weights |
Numerical quadrature using a tensor product of Base1DQuadrature rules.
The user constructs a vector of Base1DQuadrature rules from which this class will construct a multi-dimensional quadrature rule using a tensor product of the one-dimensional rules. Thus, the dimension of this tensor product rule will be the size of the vector of one-dimensional rules provided by the user and, therefore, should match the dimension of the domain also supplied by the user.
Definition at line 47 of file TensorProductQuadrature.h.
QUESO::TensorProductQuadrature< V, M >::TensorProductQuadrature | ( | const VectorSubset< V, M > & | domain, |
const std::vector< QUESO::SharedPtr< Base1DQuadrature >::Type > & | q_rules | ||
) |
Definition at line 36 of file TensorProductQuadrature.C.
References dim, QUESO::MultiDimensionalIndexing::globalToCoord(), QUESO::MultiDQuadratureBase< V, M >::m_positions, QUESO::BaseQuadrature::m_weights, QUESO::queso_require_equal_to_msg, and QUESO::VectorSubset< V, M >::vectorSpace().
|
inlinevirtual |
Definition at line 54 of file TensorProductQuadrature.h.