MFEM
v3.2
Finite element discretization library
|
#include <fe.hpp>
Inherits mfem::FiniteElement.
Inherited by mfem::H1Pos_HexahedronElement, mfem::H1Pos_QuadrilateralElement, mfem::H1Pos_SegmentElement, mfem::H1Pos_TetrahedronElement, mfem::H1Pos_TriangleElement, mfem::L2Pos_HexahedronElement, mfem::L2Pos_QuadrilateralElement, mfem::L2Pos_SegmentElement, mfem::L2Pos_TetrahedronElement, and mfem::L2Pos_TriangleElement.
Public Member Functions | |
PositiveFiniteElement (int D, int G, int Do, int O, int F=FunctionSpace::Pk) | |
virtual void | Project (Coefficient &coeff, ElementTransformation &Trans, Vector &dofs) const |
virtual void | Project (const FiniteElement &fe, ElementTransformation &Trans, DenseMatrix &I) const |
Public Member Functions inherited from mfem::FiniteElement | |
FiniteElement (int D, int G, int Do, int O, int F=FunctionSpace::Pk) | |
int | GetDim () const |
Returns the space dimension for the finite element. More... | |
int | GetGeomType () const |
Returns the geometry type: More... | |
int | GetDof () const |
Returns the degrees of freedom in the FE space. More... | |
int | GetOrder () const |
Returns the order of the finite element. More... | |
int | Space () const |
Returns the type of space on each element. More... | |
int | GetRangeType () const |
int | GetMapType () const |
virtual void | CalcShape (const IntegrationPoint &ip, Vector &shape) const =0 |
virtual void | CalcDShape (const IntegrationPoint &ip, DenseMatrix &dshape) const =0 |
const IntegrationRule & | GetNodes () const |
virtual void | CalcVShape (const IntegrationPoint &ip, DenseMatrix &shape) const |
virtual void | CalcVShape (ElementTransformation &Trans, DenseMatrix &shape) const |
virtual void | CalcDivShape (const IntegrationPoint &ip, Vector &divshape) const |
virtual void | CalcCurlShape (const IntegrationPoint &ip, DenseMatrix &curl_shape) const |
virtual void | GetFaceDofs (int face, int **dofs, int *ndofs) const |
virtual void | CalcHessian (const IntegrationPoint &ip, DenseMatrix &h) const |
virtual void | GetLocalInterpolation (ElementTransformation &Trans, DenseMatrix &I) const |
virtual void | Project (VectorCoefficient &vc, ElementTransformation &Trans, Vector &dofs) const |
virtual void | ProjectDelta (int vertex, Vector &dofs) const |
virtual void | ProjectGrad (const FiniteElement &fe, ElementTransformation &Trans, DenseMatrix &grad) const |
virtual void | ProjectCurl (const FiniteElement &fe, ElementTransformation &Trans, DenseMatrix &curl) const |
virtual void | ProjectDiv (const FiniteElement &fe, ElementTransformation &Trans, DenseMatrix &div) const |
virtual | ~FiniteElement () |
Additional Inherited Members | |
Public Types inherited from mfem::FiniteElement | |
enum | { SCALAR, VECTOR } |
Enumeration for RangeType. More... | |
enum | { VALUE, INTEGRAL, H_DIV, H_CURL } |
Protected Attributes inherited from mfem::FiniteElement | |
int | Dim |
int | GeomType |
int | Dof |
int | Order |
int | FuncSpace |
int | RangeType |
int | MapType |
IntegrationRule | Nodes |
|
inline |
|
virtual |
Given a coefficient and a transformation, compute its projection (approximation) in the local finite dimensional space in terms of the degrees of freedom.
Reimplemented from mfem::FiniteElement.
|
virtual |
Compute the embedding/projection matrix from the given FiniteElement onto 'this' FiniteElement. The ElementTransformation is included to support cases when the projection depends on it.
Reimplemented from mfem::FiniteElement.