44 #ifndef STOKHOS_GAUSS_PATTERSON_LEGENDRE_BASIS_HPP
45 #define STOKHOS_GAUSS_PATTERSON_LEGENDRE_BASIS_HPP
56 template <
typename ordinal_type,
typename value_type>
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.
GaussPattersonLegendreBasis & operator=(const GaussPattersonLegendreBasis &b)
virtual ordinal_type quadDegreeOfExactness(ordinal_type n) const
virtual ordinal_type coefficientGrowth(ordinal_type n) const
Evaluate coefficient growth rule for Smolyak-type bases.
Legendre polynomial basis using Gauss-Patterson quadrature points.
bool isotropic
Flag determining if expansion is iostropic (same basis in every dim)
~GaussPattersonLegendreBasis()
Destructor.
Legendre polynomial basis.
ordinal_type p
Order of basis.
GaussPattersonLegendreBasis(ordinal_type p, bool normalize=false, bool isotropic=false)
Constructor.
bool normalize
Normalize basis.
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...