![]() |
SG++-Doxygen-Documentation
|
Polynomial basis functions. More...
#include <PolyClenshawCurtisBoundaryBasis.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 | |
PolyClenshawCurtisBoundaryBasis (size_t degree) | |
Constructor. | |
~PolyClenshawCurtisBoundaryBasis () override | |
Destructor. | |
![]() | |
virtual | ~Basis () |
Destructor. | |
Protected Attributes | |
SPolyClenshawCurtisBase | polyBasis |
poly basis for clenshaw curtis grid | |
Polynomial basis functions.
|
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 >.
References sgpp::base::PolyClenshawCurtisBasis< LT, IT >::eval(), level, and sgpp::base::PolyClenshawCurtisBoundaryBasis< LT, IT >::polyBasis.
Referenced by python.uq.analysis.asgc.ASGCAnalysis.ASGCAnalysis::estimateDensity(), sgpp::base::OperationEvalPolyClenshawCurtisBoundaryNaive::eval(), sgpp::base::OperationEvalPolyClenshawCurtisBoundaryNaive::eval(), sgpp::base::PolyClenshawCurtisBoundaryBasis< LT, IT >::eval(), sgpp::base::PolyClenshawCurtisBoundaryBasis< LT, IT >::evalHierToTop(), sgpp::base::OperationMultipleEvalPolyClenshawCurtisBoundaryNaive::mult(), sgpp::pde::OperationLaplacePolyClenshawCurtisBoundary::mult(), sgpp::base::OperationMultipleEvalPolyClenshawCurtisBoundaryNaive::multTranspose(), sgpp::base::GetAffectedBasisFunctions< PolyClenshawCurtisBoundaryBasis< unsigned int, unsigned int > >::rec(), and sgpp::base::GetAffectedBasisFunctions< PolyClenshawCurtisBoundaryBasis< unsigned int, unsigned int > >::recBB().
|
inline |
References sgpp::base::PolyClenshawCurtisBoundaryBasis< 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::PolyClenshawCurtisBasis< LT, IT >::evalDx(), level, and sgpp::base::PolyClenshawCurtisBoundaryBasis< LT, IT >::polyBasis.
Referenced by sgpp::pde::OperationLaplacePolyClenshawCurtisBoundary::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::PolyClenshawCurtisBoundaryBasis< LT, IT >::eval(), and level.
Referenced by sgpp::base::DehierarchisationPolyClenshawCurtisBoundary::rec(), and sgpp::base::HierarchisationPolyClenshawCurtisBoundary::rec().
|
inlineoverridevirtual |
Returns the polynomial degree of the basis.
Implements sgpp::base::Basis< LT, IT >.
References sgpp::base::PolyClenshawCurtisBasis< LT, IT >::getDegree(), and sgpp::base::PolyClenshawCurtisBoundaryBasis< 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::PolyClenshawCurtisBasis< LT, IT >::getIntegral(), level, and sgpp::base::PolyClenshawCurtisBoundaryBasis< LT, IT >::polyBasis.
Referenced by sgpp::base::OperationQuadraturePolyClenshawCurtisBoundary::doQuadrature().
|
protected |
poly basis for clenshaw curtis grid
Referenced by sgpp::base::PolyClenshawCurtisBoundaryBasis< LT, IT >::eval(), sgpp::base::PolyClenshawCurtisBoundaryBasis< LT, IT >::evalDx(), sgpp::base::PolyClenshawCurtisBoundaryBasis< LT, IT >::getDegree(), and sgpp::base::PolyClenshawCurtisBoundaryBasis< LT, IT >::getIntegral().