SG++-Doxygen-Documentation
Loading...
Searching...
No Matches
sgpp::base::LinearModifiedBasis< LT, IT > Class Template Reference

Modified linear basis on Noboundary grids. More...

#include <LinearModifiedBasis.hpp>

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

Public Member Functions

double eval (LT l, IT i, double x) override
 
double evalDx (LT level, IT index, double x) override
 Evaluate the basis functions derivative with given 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
 
 ~LinearModifiedBasis () override
 Destructor.
 
- Public Member Functions inherited from sgpp::base::Basis< LT, IT >
virtual ~Basis ()
 Destructor.
 

Detailed Description

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

Modified linear basis on Noboundary grids.

Constructor & Destructor Documentation

◆ ~LinearModifiedBasis()

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

Destructor.

Member Function Documentation

◆ eval()

template<class LT , class IT >
double sgpp::base::LinearModifiedBasis< LT, IT >::eval ( LT  l,
IT  i,
double  x 
)
inlineoverridevirtual

◆ evalDx()

template<class LT , class IT >
double sgpp::base::LinearModifiedBasis< LT, IT >::evalDx ( LT  level,
IT  index,
double  x 
)
inlineoverridevirtual

Evaluate the basis functions derivative with given level and index.

Parameters
levellevel of the basis function
indexindex of the basis function
xevaluation point
Returns
value of the basis functions derivative.

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

◆ getDegree()

template<class LT , class IT >
size_t sgpp::base::LinearModifiedBasis< 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::LinearModifiedBasis< 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 >.

References level.

Referenced by sgpp::pde::OperationMatrixLTwoDotExplicitModLinear::buildMatrixWithBounds(), and sgpp::pde::OperationMatrixLTwoDotModLinear::mult().


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