HArD::Core2D
Hybrid Arbitrary Degree::Core 2D - Library to implement 2D schemes with edge and cell polynomials as unknowns
Public Types | Public Member Functions | Static Public Attributes | List of all members
HArDCore2D::MonomialScalarBasisCell Class Reference

Scalar monomial basis on a cell. More...

#include <basis.hpp>

Public Types

typedef double FunctionValue
 
typedef VectorRd GradientValue
 
typedef VectorRd CurlValue
 
typedef void DivergenceValue
 
typedef void RotorValue
 
typedef MatrixRd HessianValue
 
typedef Cell GeometricSupport
 

Public Member Functions

 MonomialScalarBasisCell (const Cell &T, size_t degree)
 Constructor. More...
 
size_t dimension () const
 Compute the dimension of the basis. More...
 
FunctionValue function (size_t i, const VectorRd &x) const
 Evaluate the i-th basis function at point x. More...
 
GradientValue gradient (size_t i, const VectorRd &x) const
 Evaluate the gradient of the i-th basis function at point x. More...
 
CurlValue curl (size_t i, const VectorRd &x) const
 Evaluate the curl (vector rot) of the i-th basis function at point x. More...
 
HessianValue hessian (size_t i, const VectorRd &x) const
 Evaluate the Hessian of the i-th basis function at point x. More...
 
size_t max_degree () const
 Returns the maximum degree of the basis functions. More...
 
VectorZd powers (size_t i) const
 Returns the powers of the i-th basis function (its degree can be found using powers(i).sum()) More...
 

Static Public Attributes

constexpr static const TensorRankE tensorRank = Scalar
 
constexpr static const bool hasAncestor = false
 
static const bool hasFunction = true
 
static const bool hasGradient = true
 
static const bool hasCurl = true
 
static const bool hasDivergence = false
 
static const bool hasRotor = false
 
static const bool hasHessian = true
 

Detailed Description

Scalar monomial basis on a cell.


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