HArD::Core2D
Hybrid Arbitrary Degree::Core 2D - Library to implement 2D schemes with edge and cell polynomials as unknowns
|
Generate a basis where the function indices are shifted. More...
#include <basis.hpp>
Public Types | |
typedef BasisType::FunctionValue | FunctionValue |
typedef BasisType::GradientValue | GradientValue |
typedef BasisType::CurlValue | CurlValue |
typedef BasisType::DivergenceValue | DivergenceValue |
typedef BasisType::RotorValue | RotorValue |
typedef BasisType::HessianValue | HessianValue |
typedef BasisType::GeometricSupport | GeometricSupport |
typedef BasisType | AncestorType |
Public Member Functions | |
ShiftedBasis (const BasisType &basis, const int shift) | |
Constructor. | |
size_t | dimension () const |
Return the dimension of the basis. | |
constexpr const BasisType & | ancestor () const |
Return the underlying complete basis. | |
size_t | max_degree () const |
Returns the maximum degree of the basis functions. | |
FunctionValue | function (size_t i, const VectorRd &x) const |
Evaluate the i-th basis function at point x. | |
GradientValue | gradient (size_t i, const VectorRd &x) const |
Evaluate the gradient of the i-th basis function at point x. | |
CurlValue | curl (size_t i, const VectorRd &x) const |
Evaluate the curl of the i-th basis function at point x. | |
DivergenceValue | divergence (size_t i, const VectorRd &x) const |
Evaluate the divergence of the i-th basis function at point x. | |
RotorValue | rotor (size_t i, const VectorRd &x) const |
Evaluate the scalar rotor of the i-th basis function at point x. | |
HessianValue | hessian (size_t i, const VectorRd &x) const |
Evaluate the Hessian of the i-th basis function at point x. | |
Static Public Attributes | |
static constexpr const TensorRankE | tensorRank = BasisType::tensorRank |
static constexpr const bool | hasAncestor = true |
static const bool | hasFunction = BasisType::hasFunction |
static const bool | hasGradient = BasisType::hasGradient |
static const bool | hasCurl = BasisType::hasCurl |
static const bool | hasDivergence = BasisType::hasDivergence |
static const bool | hasRotor = BasisType::hasRotor |
static const bool | hasHessian = BasisType::hasHessian |
Generate a basis where the function indices are shifted.
Can be used, e.g., to ignore the constant function in a hierarchical scalar basis