SG++-Doxygen-Documentation
sgpp::base::LinearModifiedClenshawCurtisBasis< LT, IT > Class Template Reference

Modified polynomial base functions. More...

#include <LinearModifiedClenshawCurtisBasis.hpp>

Inheritance diagram for sgpp::base::LinearModifiedClenshawCurtisBasis< LT, IT >:
sgpp::base::Basis< LT, IT >

Public Member Functions

double eval (LT level, IT index, double p) override
 Evaluate the basis function with given level and index. More...
 
double eval (LT level, IT index, double p, double offset, double width)
 
double evalHierToTop (LT level, IT index, DataVector &coeffs, double pos)
 Evaluates all the hierarchical ancestors of the node defined by level and index. More...
 
size_t getDegree () const override
 Returns the polynomial degree of the basis. More...
 
double getIntegral (LT level, IT index) override
 returns the integal of the current basis function More...
 
 LinearModifiedClenshawCurtisBasis ()
 Constructor. More...
 
 ~LinearModifiedClenshawCurtisBasis () override
 Destructor. More...
 
- Public Member Functions inherited from sgpp::base::Basis< LT, IT >
virtual ~Basis ()
 Destructor. More...
 

Protected Attributes

ClenshawCurtisTableclenshawCurtisTable
 reference to the Clenshaw-Curtis cache table More...
 
SLinearClenshawCurtisBase linearBasis
 poly basis More...
 

Detailed Description

template<class LT, class IT>
class sgpp::base::LinearModifiedClenshawCurtisBasis< LT, IT >

Modified polynomial base functions.

Special polynomial functions to cover values unequal 0 at the border. Implemented as seen in AWR 2 paper by Prof. Bungartz (http://www5.in.tum.de/wiki/index.php/Algorithmen_des_Wissenschaftlichen_Rechnens_II_-_Winter_08)

Constructor & Destructor Documentation

◆ LinearModifiedClenshawCurtisBasis()

template<class LT, class IT>
sgpp::base::LinearModifiedClenshawCurtisBasis< LT, IT >::LinearModifiedClenshawCurtisBasis ( )
inline

Constructor.

◆ ~LinearModifiedClenshawCurtisBasis()

template<class LT, class IT>
sgpp::base::LinearModifiedClenshawCurtisBasis< LT, IT >::~LinearModifiedClenshawCurtisBasis ( )
inlineoverride

Destructor.

Member Function Documentation

◆ eval() [1/2]

◆ eval() [2/2]

template<class LT, class IT>
double sgpp::base::LinearModifiedClenshawCurtisBasis< LT, IT >::eval ( LT  level,
IT  index,
double  p,
double  offset,
double  width 
)
inline

◆ evalHierToTop()

template<class LT, class IT>
double sgpp::base::LinearModifiedClenshawCurtisBasis< LT, IT >::evalHierToTop ( LT  level,
IT  index,
DataVector coeffs,
double  pos 
)
inline

Evaluates all the hierarchical ancestors of the node defined by level and index.

NOTE: It does not evaluate the current node itself.

Parameters
level
index
coeffs
pos
Returns

Referenced by sgpp::base::DehierarchisationModLinearClenshawCurtis::rec(), and sgpp::base::HierarchisationModLinearClenshawCurtis::rec().

◆ getDegree()

template<class LT, class IT>
size_t sgpp::base::LinearModifiedClenshawCurtisBasis< LT, IT >::getDegree ( ) const
inlineoverridevirtual

Returns the polynomial degree of the basis.

Returns
polynomial degree of the basis

Implements sgpp::base::Basis< LT, IT >.

◆ getIntegral()

template<class LT, class IT>
double sgpp::base::LinearModifiedClenshawCurtisBasis< LT, IT >::getIntegral ( LT  level,
IT  index 
)
inlineoverridevirtual

returns the integal of the current basis function

Parameters
levellevel of the basis function
indexindex of the basis function
Returns

Implements sgpp::base::Basis< LT, IT >.

Referenced by sgpp::base::OperationQuadratureModLinearClenshawCurtis::doQuadrature().

Member Data Documentation

◆ clenshawCurtisTable

template<class LT, class IT>
ClenshawCurtisTable& sgpp::base::LinearModifiedClenshawCurtisBasis< LT, IT >::clenshawCurtisTable
protected

reference to the Clenshaw-Curtis cache table

◆ linearBasis

template<class LT, class IT>
SLinearClenshawCurtisBase sgpp::base::LinearModifiedClenshawCurtisBasis< LT, IT >::linearBasis
protected

poly basis


The documentation for this class was generated from the following file: