|
Stokhos Development
|
Defines quadrature for a tensor product basis by tensor products of 1-D quadrature rules. More...
#include <Stokhos_TensorProductQuadrature.hpp>


Public Member Functions | |
| TensorProductQuadrature (const Teuchos::RCP< const ProductBasis< ordinal_type, value_type > > &product_basis) | |
| Constructor. | |
| TensorProductQuadrature (const Teuchos::RCP< const ProductBasis< ordinal_type, value_type > > &product_basis, const ordinal_type &quad_order) | |
| Variable order constructor. | |
| virtual | ~TensorProductQuadrature () |
| Destructor. | |
| virtual ordinal_type | size () const |
| Get number of quadrature points. | |
| virtual const Teuchos::Array< Teuchos::Array< value_type > > & | getQuadPoints () const |
| Get quadrature points. | |
| virtual const Teuchos::Array< value_type > & | getQuadWeights () const |
| Get quadrature weights. | |
| virtual const Teuchos::Array< Teuchos::Array< value_type > > & | getBasisAtQuadPoints () const |
| Get values of basis at quadrature points. | |
| virtual std::ostream & | print (std::ostream &os) const |
| Print quadrature data. | |
Public Member Functions inherited from Stokhos::Quadrature< ordinal_type, value_type > | |
| Quadrature () | |
| Constructor. | |
| virtual | ~Quadrature () |
| Destructor. | |
Protected Attributes | |
| Teuchos::Array< Teuchos::Array< value_type > > | quad_points |
| Quadrature points. | |
| Teuchos::Array< value_type > | quad_weights |
| Quadrature weights. | |
| Teuchos::Array< Teuchos::Array< value_type > > | quad_values |
| Quadrature values. | |
Defines quadrature for a tensor product basis by tensor products of 1-D quadrature rules.
| Stokhos::TensorProductQuadrature< ordinal_type, value_type >::TensorProductQuadrature | ( | const Teuchos::RCP< const ProductBasis< ordinal_type, value_type > > & | product_basis | ) |
Constructor.
| product_basis | product basis The order of the quadrature is |
| Stokhos::TensorProductQuadrature< ordinal_type, value_type >::TensorProductQuadrature | ( | const Teuchos::RCP< const ProductBasis< ordinal_type, value_type > > & | product_basis, |
| const ordinal_type & | quad_order | ||
| ) |
Variable order constructor.
| product_basis | product basis |
| quad_order | order of quadrature to use |
|
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.
Implements Stokhos::Quadrature< ordinal_type, value_type >.
|
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.
Implements Stokhos::Quadrature< ordinal_type, value_type >.
|
virtual |
Get quadrature weights.
Array is of size Q where Q is the number of quadrature points.
Implements Stokhos::Quadrature< ordinal_type, value_type >.
|
virtual |
Print quadrature data.
Implements Stokhos::Quadrature< ordinal_type, value_type >.
References Stokhos::MultiIndex< ordinal_t >::size().
|
inlinevirtual |
Get number of quadrature points.
Implements Stokhos::Quadrature< ordinal_type, value_type >.
References Stokhos::TensorProductQuadrature< ordinal_type, value_type >::quad_weights.