SG++-Doxygen-Documentation
|
Lookup table for 1D Clenshaw-Curtis points. More...
#include <ClenshawCurtisTable.hpp>
Public Types | |
typedef HashGridPoint::index_type | index_type |
typedef HashGridPoint::level_type | level_type |
Public Member Functions | |
double | getPoint (level_type l, index_type i) const |
double | getPoint (level_type l, index_type i, index_type hInv) const |
Static Public Member Functions | |
static ClenshawCurtisTable & | getInstance () |
Static Public Attributes | |
static const level_type | DEFAULT_MAX_LEVEL = 16 |
default number of intervals More... | |
Protected Member Functions | |
double | calculatePoint (index_type hInv, index_type i) const |
double | calculatePoint (double h, index_type i) const |
Protected Attributes | |
level_type | maxLevel |
maximal level More... | |
DataVector | table |
lookup table More... | |
Lookup table for 1D Clenshaw-Curtis points.
This class precomputes the first maxLevel
levels of a 1D Clenshaw-Curtis grid to increase performance of Clenshaw-Curtis grids.
|
inlineprotected |
hInv | 2^l |
i | index of the grid point (can be even) |
Referenced by getPoint().
|
inlineprotected |
h | step width of the grid point (2^(-l)) |
i | index of the grid point (can be even) |
References M_PI.
|
static |
Referenced by sgpp::base::Stretching::~Stretching().
|
inline |
l | level of the grid point |
i | index of the grid point (can be even) |
References calculatePoint(), sgpp::base::DataVector::get(), maxLevel, and table.
Referenced by sgpp::base::BsplineClenshawCurtisBasis< unsigned int, unsigned int >::clenshawCurtisPoint(), sgpp::base::BsplineModifiedClenshawCurtisBasis< unsigned int, unsigned int >::clenshawCurtisPoint(), sgpp::base::BsplineModifiedClenshawCurtisBasis< unsigned int, unsigned int >::clenshawCurtisPointNegativeIndex(), sgpp::base::BsplineClenshawCurtisBasis< unsigned int, unsigned int >::constructKnots(), sgpp::base::OperationFirstMomentModPolyClenshawCurtis::doQuadrature(), sgpp::base::OperationFirstMomentPolyClenshawCurtis::doQuadrature(), sgpp::base::OperationSecondMomentModPolyClenshawCurtis::doQuadrature(), sgpp::base::OperationSecondMomentPolyClenshawCurtis::doQuadrature(), sgpp::base::OperationFirstMomentModBsplineClenshawCurtis::doQuadrature(), sgpp::base::OperationFirstMomentBsplineClenshawCurtis::doQuadrature(), sgpp::base::OperationFirstMomentPolyClenshawCurtisBoundary::doQuadrature(), sgpp::base::OperationSecondMomentBsplineClenshawCurtis::doQuadrature(), sgpp::base::OperationSecondMomentModBsplineClenshawCurtis::doQuadrature(), sgpp::base::OperationSecondMomentPolyClenshawCurtisBoundary::doQuadrature(), sgpp::base::LinearClenshawCurtisBasis< unsigned int, unsigned int >::eval(), sgpp::base::LinearModifiedClenshawCurtisBasis< unsigned int, unsigned int >::eval(), sgpp::base::PolyModifiedClenshawCurtisBasis< unsigned int, unsigned int >::eval(), sgpp::base::PolyClenshawCurtisBasis< unsigned int, unsigned int >::eval(), sgpp::base::PolyClenshawCurtisBasis< unsigned int, unsigned int >::evalBasis(), sgpp::base::PolyClenshawCurtisBasis< unsigned int, unsigned int >::evalDx(), sgpp::base::PolyModifiedClenshawCurtisBasis< unsigned int, unsigned int >::evalDx(), sgpp::base::LinearModifiedClenshawCurtisBasis< unsigned int, unsigned int >::getDegree(), sgpp::base::LinearClenshawCurtisBasis< unsigned int, unsigned int >::getIntegral(), sgpp::base::LinearModifiedClenshawCurtisBasis< unsigned int, unsigned int >::getIntegral(), sgpp::base::PolyModifiedClenshawCurtisBasis< unsigned int, unsigned int >::getIntegral(), sgpp::base::PolyClenshawCurtisBasis< unsigned int, unsigned int >::getIntegral(), sgpp::pde::OperationLaplacePolyClenshawCurtisBoundary::mult(), sgpp::pde::OperationLaplaceModBsplineClenshawCurtis::mult(), sgpp::pde::OperationLaplacePolyClenshawCurtis::mult(), sgpp::pde::OperationLaplaceBsplineClenshawCurtis::mult(), sgpp::pde::OperationLaplaceModPolyClenshawCurtis::mult(), sgpp::pde::OperationMatrixLTwoDotModPolyClenshawCurtis::mult(), sgpp::pde::OperationMatrixLTwoDotPolyClenshawCurtis::mult(), sgpp::pde::OperationMatrixLTwoDotPolyClenshawCurtisBoundary::mult(), sgpp::pde::OperationMatrixLTwoDotExplicitModPolyClenshawCurtis::OperationMatrixLTwoDotExplicitModPolyClenshawCurtis(), sgpp::pde::OperationMatrixLTwoDotExplicitPolyClenshawCurtis::OperationMatrixLTwoDotExplicitPolyClenshawCurtis(), sgpp::pde::OperationMatrixLTwoDotExplicitPolyClenshawCurtisBoundary::OperationMatrixLTwoDotExplicitPolyClenshawCurtisBoundary(), sgpp::base::DehierarchisationLinearClenshawCurtisBoundary::operator()(), sgpp::base::HierarchisationLinearClenshawCurtisBoundary::operator()(), sgpp::base::DehierarchisationLinearClenshawCurtisBoundary::rec(), sgpp::base::DehierarchisationModLinearClenshawCurtis::rec(), sgpp::base::DehierarchisationLinearClenshawCurtis::rec(), sgpp::base::HierarchisationLinearClenshawCurtis::rec(), sgpp::base::HierarchisationModLinearClenshawCurtis::rec(), sgpp::base::HierarchisationLinearClenshawCurtisBoundary::rec(), sgpp::base::DehierarchisationPolyClenshawCurtis::rec(), sgpp::base::DehierarchisationModPolyClenshawCurtis::rec(), sgpp::base::DehierarchisationPolyClenshawCurtisBoundary::rec(), sgpp::base::HierarchisationPolyClenshawCurtis::rec(), sgpp::base::HierarchisationModPolyClenshawCurtis::rec(), sgpp::base::HierarchisationPolyClenshawCurtisBoundary::rec(), and sgpp::base::Stretching::~Stretching().
|
inline |
l | level of the grid point |
i | index of the grid point (can be even) |
hInv | 2^l |
References calculatePoint(), sgpp::base::DataVector::get(), maxLevel, and table.
|
static |
default number of intervals
|
protected |
maximal level
Referenced by python.uq.refinement.AdmissibleSet.AdmissibleSparseGridNodeSet::addChildren(), python.uq.operations.forcePositivity.localHierarchicalIntersectionSearch.LocalHierarchicalIntersectionCandidates::getMaxLevelOfChildrenUpToMaxLevel(), getPoint(), python.uq.refinement.AdmissibleSet.AdmissibleSetGenerator::insertPoint(), python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast::makePositive(), and python.uq.refinement.AdmissibleSet.RefinableNodesSet::update().
|
protected |
lookup table
Referenced by getPoint().