HArD::Core2D
Hybrid Arbitrary Degree::Core 2D - Library to implement 2D schemes with edge and cell polynomials as unknowns
|
Scalar monomial basis on an edge. More...
#include <basis.hpp>
Public Types | |
typedef double | FunctionValue |
typedef VectorRd | GradientValue |
typedef VectorRd | CurlValue |
typedef void | DivergenceValue |
typedef void | RotorValue |
typedef void | HessianValue |
typedef Edge | GeometricSupport |
Public Member Functions | |
MonomialScalarBasisEdge (const Edge &E, size_t degree) | |
Constructor. | |
size_t | dimension () const |
Dimension of the basis. | |
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. | |
size_t | max_degree () const |
Returns the maximum degree of the basis functions. | |
Static Public Attributes | |
static constexpr const TensorRankE | tensorRank = Scalar |
static constexpr const bool | hasAncestor = false |
static const bool | hasFunction = true |
static const bool | hasGradient = true |
static const bool | hasCurl = false |
static const bool | hasDivergence = false |
static const bool | hasRotor = false |
static const bool | hasHessian = false |
Scalar monomial basis on an edge.