10 #ifndef STOKHOS_SMOLYAK_SPARSE_GRID_QUADRATURE_HPP
11 #define STOKHOS_SMOLYAK_SPARSE_GRID_QUADRATURE_HPP
29 typename point_compare_type =
30 typename DefaultPointCompare<ordinal_type,value_type>::type >
41 template <
typename index_set_type>
44 const index_set_type& index_set,
46 const point_compare_type& point_compare = point_compare_type());
78 virtual std::ostream&
print(std::ostream& os)
const;
106 #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.