#include <Stokhos_SparseGridQuadrature.hpp>
Inheritance diagram for Stokhos::SparseGridQuadrature< ordinal_type, value_type >:


Public Member Functions | |
| SparseGridQuadrature (const Teuchos::RCP< const ProductBasis< ordinal_type, value_type > > &product_basis, ordinal_type sparse_grid_level=0) | |
| Constructor. | |
| virtual | ~SparseGridQuadrature () |
| Destructor. | |
| 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. | |
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. | |
Requires Dakota webbur quadrature package, which is currently provided through TriKota. To enable, configure Stokhos with TriKota enabled and see the TriKota instructions for building TriKota with Dakota.
| Stokhos::SparseGridQuadrature< ordinal_type, value_type >::SparseGridQuadrature | ( | const Teuchos::RCP< const ProductBasis< ordinal_type, value_type > > & | product_basis, | |
| ordinal_type | sparse_grid_level = 0 | |||
| ) |
Constructor.
| product_basis | product basis | |
| sparse_grid_level | sparse grid level defining the order of the quadrature. If equal to 0, the level is calculated using a heuristic formula. |
| const Teuchos::Array< Teuchos::Array< value_type > > & Stokhos::SparseGridQuadrature< ordinal_type, value_type >::getBasisAtQuadPoints | ( | ) | const [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 >.
| const Teuchos::Array< Teuchos::Array< value_type > > & Stokhos::SparseGridQuadrature< ordinal_type, value_type >::getQuadPoints | ( | ) | const [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 >.
| const Teuchos::Array< value_type > & Stokhos::SparseGridQuadrature< ordinal_type, value_type >::getQuadWeights | ( | ) | const [virtual] |
Get quadrature weights.
Array is of size Q where Q is the number of quadrature points.
Implements Stokhos::Quadrature< ordinal_type, value_type >.
1.4.7