10 #ifndef STOKHOS_CLENSHAWCURTISLEGENDREBASIS_HPP
11 #define STOKHOS_CLENSHAWCURTISLEGENDREBASIS_HPP
22 template <
typename ordinal_type,
typename value_type>
~ClenshawCurtisLegendreBasis()
Destructor.
virtual ordinal_type quadDegreeOfExactness(ordinal_type n) const
virtual ordinal_type coefficientGrowth(ordinal_type n) const
Evaluate coefficient growth rule for Smolyak-type bases.
bool isotropic
Flag determining if expansion is iostropic (same basis in every dim)
virtual Teuchos::RCP< OneDOrthogPolyBasis< ordinal_type, value_type > > cloneWithOrder(ordinal_type p) const
Clone this object with the option of building a higher order basis.
virtual ordinal_type pointGrowth(ordinal_type n) const
Evaluate point growth rule for Smolyak-type bases.
ClenshawCurtisLegendreBasis & operator=(const ClenshawCurtisLegendreBasis &b)
Legendre polynomial basis.
Legendre polynomial basis using Clenshaw-Curtis quadrature points.
ordinal_type p
Order of basis.
bool normalize
Normalize basis.
ClenshawCurtisLegendreBasis(ordinal_type p, bool normalize=false, bool isotropic=false)
Constructor.
virtual void getQuadPoints(ordinal_type quad_order, Teuchos::Array< value_type > &points, Teuchos::Array< value_type > &weights, Teuchos::Array< Teuchos::Array< value_type > > &values) const
Compute quadrature points, weights, and values of basis polynomials at given set of points points...