MFEM v2.0
|
Class for tri-linear FE on cube. More...
#include <fe.hpp>
Public Member Functions | |
TriLinear3DFiniteElement () | |
Construct a tri-linear FE on cube. | |
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 |
TriLinear3DFiniteElement::TriLinear3DFiniteElement | ( | ) |
Construct a tri-linear FE on cube.
Definition at line 2018 of file fe.cpp.
References IntegrationRule::IntPoint(), FiniteElement::Nodes, IntegrationPoint::x, IntegrationPoint::y, and IntegrationPoint::z.
void TriLinear3DFiniteElement::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) (8 x 3) so that each row contains the derivatives of one shape function
Implements FiniteElement.
Definition at line 2070 of file fe.cpp.
References IntegrationPoint::x, IntegrationPoint::y, and IntegrationPoint::z.
void TriLinear3DFiniteElement::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 (8)
Implements FiniteElement.
Definition at line 2054 of file fe.cpp.
References IntegrationPoint::x, IntegrationPoint::y, and IntegrationPoint::z.
virtual void TriLinear3DFiniteElement::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.