44 #ifndef STOKHOS_GAUSS_PATTERSON_LEGENDRE_BASIS_HPP 45 #define STOKHOS_GAUSS_PATTERSON_LEGENDRE_BASIS_HPP 56 template <
typename ordinal_type,
typename value_type>
86 Teuchos::Array<value_type>& points,
87 Teuchos::Array<value_type>& weights,
88 Teuchos::Array< Teuchos::Array<value_type> >& values)
const;
virtual ordinal_type quadDegreeOfExactness(ordinal_type n) const
GaussPattersonLegendreBasis & operator=(const GaussPattersonLegendreBasis &b)
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.
Legendre polynomial basis using Gauss-Patterson quadrature points.
virtual ordinal_type coefficientGrowth(ordinal_type n) const
Evaluate coefficient growth rule for Smolyak-type bases.
Top-level namespace for Stokhos classes and functions.
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...
bool isotropic
Flag determining if expansion is iostropic (same basis in every dim)
~GaussPattersonLegendreBasis()
Destructor.
virtual ordinal_type pointGrowth(ordinal_type n) const
Evaluate point growth rule for Smolyak-type bases.
Legendre polynomial basis.
ordinal_type p
Order of basis.
GaussPattersonLegendreBasis(ordinal_type p, bool normalize=false, bool isotropic=false)
Constructor.
bool normalize
Normalize basis.