![]() |
SG++-Doxygen-Documentation
|
Modified polynomial base functions. More...
#include <PolyModifiedBasis.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 | |
PolyModifiedBasis (size_t degree) | |
Constructor. | |
~PolyModifiedBasis () override | |
Destructor. | |
![]() | |
virtual | ~Basis () |
Destructor. | |
Protected Attributes | |
SPolyBase | polyBasis |
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)
|
inlineexplicit |
Constructor.
degree | the polynom's max. degree |
|
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 >.
Referenced by python.uq.analysis.asgc.ASGCAnalysis.ASGCAnalysis::estimateDensity(), sgpp::base::OperationEvalModPolyNaive::eval(), sgpp::base::OperationEvalModPolyNaive::eval(), sgpp::base::PolyModifiedBasis< LT, IT >::eval(), sgpp::base::PolyModifiedBasis< LT, IT >::evalHierToTop(), and sgpp::pde::OperationLaplaceModPoly::mult().
|
inline |
References sgpp::base::PolyModifiedBasis< 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 >.
References sgpp::base::PolyBasis< LT, IT >::evalDx(), level, and sgpp::base::PolyModifiedBasis< LT, IT >::polyBasis.
Referenced by sgpp::pde::OperationLaplaceModPoly::mult().
|
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::PolyModifiedBasis< LT, IT >::eval(), and level.
Referenced by sgpp::base::DehierarchisationModPoly::rec(), and sgpp::base::HierarchisationModPoly::rec().
|
inlineoverridevirtual |
Returns the polynomial degree of the basis.
Implements sgpp::base::Basis< LT, IT >.
References sgpp::base::PolyBasis< LT, IT >::getDegree(), and sgpp::base::PolyModifiedBasis< LT, IT >::polyBasis.
|
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::PolyBasis< LT, IT >::getIntegral(), level, and sgpp::base::PolyModifiedBasis< LT, IT >::polyBasis.
Referenced by sgpp::base::OperationQuadratureModPoly::doQuadrature().
|
protected |