MFEM v2.0
|
Class for linear FE on tetrahedron. More...
#include <fe.hpp>
Public Member Functions | |
Linear3DFiniteElement () | |
Construct a linear FE on tetrahedron. | |
virtual void | CalcShape (const IntegrationPoint &ip, Vector &shape) const |
virtual void | CalcDShape (const IntegrationPoint &ip, DenseMatrix &dshape) const |
virtual void | ProjectDelta (int vertex, Vector &dofs) const |
virtual void | GetFaceDofs (int face, int **dofs, int *ndofs) const |
Linear3DFiniteElement::Linear3DFiniteElement | ( | ) |
Construct a linear FE on tetrahedron.
Definition at line 1883 of file fe.cpp.
References IntegrationRule::IntPoint(), FiniteElement::Nodes, IntegrationPoint::x, IntegrationPoint::y, and IntegrationPoint::z.
void Linear3DFiniteElement::CalcDShape | ( | const IntegrationPoint & | ip, |
DenseMatrix & | dshape | ||
) | const [virtual] |
virtual function which evaluates the values of all partial derivatives of all shape functions at a given point ip and stores them in the matrix dshape (Dof x Dim) (4 x 3) so that each row contains the derivatives of one shape function
Implements FiniteElement.
Definition at line 1909 of file fe.cpp.
References DenseMatrix::Height().
void Linear3DFiniteElement::CalcShape | ( | const IntegrationPoint & | ip, |
Vector & | shape | ||
) | const [virtual] |
virtual function which evaluates the values of all shape functions at a given point ip and stores them in the vector shape of dimension Dof (4)
Implements FiniteElement.
Definition at line 1900 of file fe.cpp.
References IntegrationPoint::x, IntegrationPoint::y, and IntegrationPoint::z.
void Linear3DFiniteElement::GetFaceDofs | ( | int | face, |
int ** | dofs, | ||
int * | ndofs | ||
) | const [virtual] |
Reimplemented from FiniteElement.
virtual void Linear3DFiniteElement::ProjectDelta | ( | int | vertex, |
Vector & | dofs | ||
) | const [inline, virtual] |
Compute a representation (up to multiplicative constant) for the delta function at the vertex with the given index.
Reimplemented from FiniteElement.