|
Stokhos Development
|
Legendre polynomial basis using Clenshaw-Curtis quadrature points. More...
#include <Stokhos_ClenshawCurtisLegendreBasis.hpp>


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) | |
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.
| Stokhos::ClenshawCurtisLegendreBasis< ordinal_type, value_type >::ClenshawCurtisLegendreBasis | ( | ordinal_type | p, |
| bool | normalize = false, |
||
| bool | isotropic = false |
||
| ) |
Constructor.
| p | order of the basis |
| normalize | whether polynomials should be given unit norm |
| 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 >.
| 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 >.
1.7.4