42 #ifndef STOKHOS_SMOLYAK_SPARSE_GRID_QUADRATURE_HPP
43 #define STOKHOS_SMOLYAK_SPARSE_GRID_QUADRATURE_HPP
61 typename point_compare_type =
62 typename DefaultPointCompare<ordinal_type,value_type>::type >
73 template <
typename index_set_type>
76 const index_set_type& index_set,
78 const point_compare_type& point_compare = point_compare_type());
110 virtual std::ostream&
print(std::ostream& os)
const;
138 #endif //STOKHOS_SMOLYAK_SPARSE_GRID_QUADRATURE_HPP
virtual ~SmolyakSparseGridQuadrature()
Destructor.
SmolyakSparseGridQuadrature(const Teuchos::RCP< const ProductBasis< ordinal_type, value_type > > &product_basis, const index_set_type &index_set, const value_type duplicate_tol=1.0e-12, const point_compare_type &point_compare=point_compare_type())
Constructor.
Teuchos::Array< Teuchos::Array< value_type > > quad_values
Quadrature values.
Defines quadrature for a tensor product basis by Smolyak sparse grids.
virtual const Teuchos::Array< value_type > & getQuadWeights() const
Get quadrature weights.
Abstract base class for quadrature methods.
virtual const Teuchos::Array< Teuchos::Array< value_type > > & getQuadPoints() const
Get quadrature points.
Abstract base class for multivariate orthogonal polynomials generated from tensor products of univari...
Teuchos::Array< value_type > quad_weights
Quadrature weights.
SmolyakSparseGridQuadrature & operator=(const SmolyakSparseGridQuadrature &b)
virtual const Teuchos::Array< Teuchos::Array< value_type > > & getBasisAtQuadPoints() const
Get values of basis at quadrature points.
Teuchos::Array< Teuchos::Array< value_type > > quad_points
Quadrature points.
virtual ordinal_type size() const
Get number of quadrature points.
virtual std::ostream & print(std::ostream &os) const
Print quadrature data.