Stokhos::ClenshawCurtisLegendreBasis< ordinal_type, value_type > Class Template Reference

Legendre polynomial basis using Clenshaw-Curtis quadrature points. More...

#include <Stokhos_ClenshawCurtisLegendreBasis.hpp>

Inheritance diagram for Stokhos::ClenshawCurtisLegendreBasis< ordinal_type, value_type >:
Inheritance graph
[legend]
Collaboration diagram for Stokhos::ClenshawCurtisLegendreBasis< ordinal_type, value_type >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ClenshawCurtisLegendreBasis (ordinal_type p, bool normalize=false, bool isotropic=false)
 Constructor.
 ~ClenshawCurtisLegendreBasis ()
 Destructor.
Implementation of Stokhos::OneDOrthogPolyBasis methods

virtual int getSparseGridRule () const
 Get sparse grid rule number as defined by Dakota's webbur package.
virtual int getSparseGridGrowthRule () const
 Get sparse grid rule growth rule as defined by Dakota's webbur package.

Protected Member Functions

Implementation of Stokhos::RecurrenceBasis methods

virtual void computeRecurrenceCoefficients (ordinal_type n, Teuchos::Array< value_type > &alpha, Teuchos::Array< value_type > &beta, Teuchos::Array< value_type > &delta) const
 Compute recurrence coefficients.

Protected Attributes

bool isotropic
 Flag determining if expansion is iostropic (same basis in every dim).

Detailed Description

template<typename ordinal_type, typename value_type>
class Stokhos::ClenshawCurtisLegendreBasis< ordinal_type, value_type >

Legendre polynomial basis using Clenshaw-Curtis quadrature points.

This is the same as Stokhos::LegendreBasis, but uses Clenshaw-Curtis quadrature points (instead of Gauss-Legendre) for sparse grids only.


Constructor & Destructor Documentation

template<typename ordinal_type , typename value_type >
Stokhos::ClenshawCurtisLegendreBasis< ordinal_type, value_type >::ClenshawCurtisLegendreBasis ( ordinal_type  p,
bool  normalize = false,
bool  isotropic = false 
) [inline]

Constructor.

Parameters:
p order of the basis
normalize whether polynomials should be given unit norm

Member Function Documentation

template<typename ordinal_type , typename value_type >
virtual int Stokhos::ClenshawCurtisLegendreBasis< ordinal_type, value_type >::getSparseGridGrowthRule (  )  const [inline, virtual]

Get sparse grid rule growth rule as defined by Dakota's webbur package.

This method is needed for building Smolyak sparse grids out of this basis. Returns growth rule appropriate for Clenshaw-Curtis quadrature points. Full expoential growth works well for isotropic case, but not otherwise.

Reimplemented from Stokhos::RecurrenceBasis< ordinal_type, value_type >.

template<typename ordinal_type , typename value_type >
virtual int Stokhos::ClenshawCurtisLegendreBasis< ordinal_type, value_type >::getSparseGridRule (  )  const [inline, virtual]

Get sparse grid rule number as defined by Dakota's webbur package.

This method is needed for building Smolyak sparse grids out of this basis.

Reimplemented from Stokhos::RecurrenceBasis< ordinal_type, value_type >.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Generated on Wed Apr 13 09:58:14 2011 for Stokhos by  doxygen 1.6.3