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;
~GaussPattersonLegendreBasis()
Destructor.
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.
GaussPattersonLegendreBasis(const GaussPattersonLegendreBasis &)
bool isotropic
Flag determining if expansion is iostropic (same basis in every dim)
GaussPattersonLegendreBasis(ordinal_type p, bool normalize=false, bool isotropic=false)
Constructor.
virtual ordinal_type pointGrowth(ordinal_type n) const
Evaluate point growth rule for Smolyak-type bases.
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.
virtual ordinal_type coefficientGrowth(ordinal_type n) const
Evaluate coefficient growth rule for Smolyak-type bases.
virtual ordinal_type quadDegreeOfExactness(ordinal_type n) const
LegendreBasis(ordinal_type p, bool normalize=false, GrowthPolicy growth=SLOW_GROWTH)
Constructor.
bool normalize
Normalize basis.
ordinal_type p
Order of basis.
Top-level namespace for Stokhos classes and functions.