MFEM v2.0
|
#include <fe.hpp>
Public Member Functions | |
RT2TriangleFiniteElement () | |
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 |
Static Private Attributes | |
static const double | M [15][15] |
RT2TriangleFiniteElement::RT2TriangleFiniteElement | ( | ) |
Definition at line 2771 of file fe.cpp.
References IntegrationRule::IntPoint(), FiniteElement::Nodes, IntegrationPoint::x, and IntegrationPoint::y.
void RT2TriangleFiniteElement::CalcDivShape | ( | const IntegrationPoint & | ip, |
Vector & | divshape | ||
) | const [virtual] |
This virtual function evaluates the divergence of all shape functions at the given IntegrationPoint. The result is stored in the Vector divshape (of size Dof).
Reimplemented from FiniteElement.
Definition at line 2831 of file fe.cpp.
References M, IntegrationPoint::x, and IntegrationPoint::y.
void RT2TriangleFiniteElement::CalcVShape | ( | const IntegrationPoint & | ip, |
DenseMatrix & | shape | ||
) | const [virtual] |
This virtual function evaluates the values of all components of all shape functions at the given IntegrationPoint. The result is stored in the DenseMatrix shape (Dof x Dim) so that each row contains the components of one shape function.
Reimplemented from FiniteElement.
Definition at line 2808 of file fe.cpp.
References M, IntegrationPoint::x, and IntegrationPoint::y.
virtual void RT2TriangleFiniteElement::CalcVShape | ( | ElementTransformation & | Trans, |
DenseMatrix & | shape | ||
) | const [inline, virtual] |
Reimplemented from FiniteElement.
Definition at line 800 of file fe.hpp.
References VectorFiniteElement::CalcVShape_RT().
const double RT2TriangleFiniteElement::M [static, private] |
Definition at line 793 of file fe.hpp.
Referenced by CalcDivShape(), and CalcVShape().