![]() |
SG++-Doxygen-Documentation
|
Modified polynomial base functions. More...
#include <LinearModifiedClenshawCurtisBasis.hpp>
Public Member Functions | |
double | eval (LT level, IT index, double p) override |
Evaluate the basis function with given level and index. | |
double | eval (LT level, IT index, double p, double offset, double width) |
double | evalDx (LT level, IT index, double x) override |
Evaluate the basis functions derivative with given level and index. | |
double | evalHierToTop (LT level, IT index, DataVector &coeffs, double pos) |
Evaluates all the hierarchical ancestors of the node defined by level and index. | |
size_t | getDegree () const override |
Returns the polynomial degree of the basis. | |
double | getIntegral (LT level, IT index) override |
returns the integal of the current basis function | |
LinearModifiedClenshawCurtisBasis () | |
Constructor. | |
~LinearModifiedClenshawCurtisBasis () override | |
Destructor. | |
![]() | |
virtual | ~Basis () |
Destructor. | |
Protected Attributes | |
ClenshawCurtisTable & | clenshawCurtisTable |
reference to the Clenshaw-Curtis cache table | |
SLinearClenshawCurtisBase | linearBasis |
poly basis | |
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)
|
inline |
Constructor.
|
inlineoverride |
Destructor.
|
inlineoverridevirtual |
Evaluate the basis function with given level and index.
level | level of the basis function |
index | index of the basis function |
x | evaluation point |
Implements sgpp::base::Basis< LT, IT >.
References sgpp::base::LinearModifiedClenshawCurtisBasis< LT, IT >::clenshawCurtisTable, sgpp::base::ClenshawCurtisTable::getPoint(), and level.
Referenced by python.uq.analysis.asgc.ASGCAnalysis.ASGCAnalysis::estimateDensity(), sgpp::base::OperationEvalModLinearClenshawCurtisNaive::eval(), sgpp::base::OperationEvalModLinearClenshawCurtisNaive::eval(), sgpp::base::LinearModifiedClenshawCurtisBasis< LT, IT >::eval(), sgpp::base::LinearModifiedClenshawCurtisBasis< LT, IT >::evalHierToTop(), sgpp::base::OperationMultipleEvalModLinearClenshawCurtisNaive::mult(), and sgpp::base::OperationMultipleEvalModLinearClenshawCurtisNaive::multTranspose().
|
inline |
References sgpp::base::LinearModifiedClenshawCurtisBasis< LT, IT >::eval(), and level.
Referenced by python.uq.analysis.asgc.ASGCAnalysis.ASGCAnalysis::estimateDensity().
|
inlineoverridevirtual |
Evaluate the basis functions derivative with given level and index.
level | level of the basis function |
index | index of the basis function |
x | evaluation point |
Implements sgpp::base::Basis< LT, IT >.
|
inline |
Evaluates all the hierarchical ancestors of the node defined by level and index.
NOTE: It does not evaluate the current node itself.
level | |
index | |
coeffs | |
pos |
References sgpp::base::LinearModifiedClenshawCurtisBasis< LT, IT >::eval(), and level.
Referenced by sgpp::base::DehierarchisationModLinearClenshawCurtis::rec(), and sgpp::base::HierarchisationModLinearClenshawCurtis::rec().
|
inlineoverridevirtual |
Returns the polynomial degree of the basis.
Implements sgpp::base::Basis< LT, IT >.
|
inlineoverridevirtual |
returns the integal of the current basis function
level | level of the basis function |
index | index of the basis function |
Implements sgpp::base::Basis< LT, IT >.
References sgpp::base::LinearModifiedClenshawCurtisBasis< LT, IT >::clenshawCurtisTable, sgpp::base::LinearClenshawCurtisBasis< LT, IT >::getIntegral(), sgpp::base::ClenshawCurtisTable::getPoint(), level, and sgpp::base::LinearModifiedClenshawCurtisBasis< LT, IT >::linearBasis.
Referenced by sgpp::base::OperationQuadratureModLinearClenshawCurtis::doQuadrature().
|
protected |
reference to the Clenshaw-Curtis cache table
Referenced by sgpp::base::LinearModifiedClenshawCurtisBasis< LT, IT >::eval(), and sgpp::base::LinearModifiedClenshawCurtisBasis< LT, IT >::getIntegral().
|
protected |
poly basis
Referenced by sgpp::base::LinearModifiedClenshawCurtisBasis< LT, IT >::getIntegral().