Stokhos
Development
|
Abstract base class for quadrature methods. More...
#include <Stokhos_Quadrature.hpp>
Public Member Functions | |
Quadrature () | |
Constructor. | |
virtual | ~Quadrature () |
Destructor. | |
virtual ordinal_type | size () const =0 |
Get number of quadrature points. | |
virtual const Teuchos::Array < Teuchos::Array< value_type > > & | getQuadPoints () const =0 |
Get quadrature points. More... | |
virtual const Teuchos::Array < value_type > & | getQuadWeights () const =0 |
Get quadrature weights. More... | |
virtual const Teuchos::Array < Teuchos::Array< value_type > > & | getBasisAtQuadPoints () const =0 |
Get values of basis at quadrature points. More... | |
virtual std::ostream & | print (std::ostream &os) const =0 |
Print quadrature data. | |
Abstract base class for quadrature methods.
|
pure virtual |
Get values of basis at quadrature points.
Array is dimensioned Q-by-P where Q is the number of quadrature points and P is the size of the basis.
Implemented in Stokhos::SparseGridQuadrature< ordinal_type, value_type >, Stokhos::SmolyakSparseGridQuadrature< ordinal_type, value_type, point_compare_type >, Stokhos::AnisoSparseGridQuadrature< ordinal_type, value_type >, Stokhos::TensorProductQuadrature< ordinal_type, value_type >, and Stokhos::UserDefinedQuadrature< ordinal_type, value_type >.
Referenced by Stokhos::MonoProjPCEBasis< ordinal_type, value_type >::MonoProjPCEBasis(), and Stokhos::QuadraturePseudoSpectralOperator< ordinal_t, value_t, point_compare_type >::QuadraturePseudoSpectralOperator().
|
pure virtual |
Get quadrature points.
Array is dimensioned Q-by-d where Q is the number of quadrature points and d is the dimension of the basis.
Implemented in Stokhos::SparseGridQuadrature< ordinal_type, value_type >, Stokhos::SmolyakSparseGridQuadrature< ordinal_type, value_type, point_compare_type >, Stokhos::AnisoSparseGridQuadrature< ordinal_type, value_type >, Stokhos::TensorProductQuadrature< ordinal_type, value_type >, and Stokhos::UserDefinedQuadrature< ordinal_type, value_type >.
Referenced by Stokhos::MonoProjPCEBasis< ordinal_type, value_type >::MonoProjPCEBasis(), and Stokhos::QuadraturePseudoSpectralOperator< ordinal_t, value_t, point_compare_type >::QuadraturePseudoSpectralOperator().
|
pure virtual |
Get quadrature weights.
Array is of size Q where Q is the number of quadrature points.
Implemented in Stokhos::SparseGridQuadrature< ordinal_type, value_type >, Stokhos::SmolyakSparseGridQuadrature< ordinal_type, value_type, point_compare_type >, Stokhos::AnisoSparseGridQuadrature< ordinal_type, value_type >, Stokhos::TensorProductQuadrature< ordinal_type, value_type >, and Stokhos::UserDefinedQuadrature< ordinal_type, value_type >.
Referenced by Stokhos::MonoProjPCEBasis< ordinal_type, value_type >::MonoProjPCEBasis(), and Stokhos::QuadraturePseudoSpectralOperator< ordinal_t, value_t, point_compare_type >::QuadraturePseudoSpectralOperator().