MFEM v2.0
|
Class for refined linear FE on triangle. More...
#include <fe.hpp>
Public Member Functions | |
RefinedLinear2DFiniteElement () | |
Construct a quadratic FE on triangle. | |
virtual void | CalcShape (const IntegrationPoint &ip, Vector &shape) const |
virtual void | CalcDShape (const IntegrationPoint &ip, DenseMatrix &dshape) const |
RefinedLinear2DFiniteElement::RefinedLinear2DFiniteElement | ( | ) |
Construct a quadratic FE on triangle.
Definition at line 3637 of file fe.cpp.
References IntegrationRule::IntPoint(), FiniteElement::Nodes, IntegrationPoint::x, and IntegrationPoint::y.
void RefinedLinear2DFiniteElement::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) (6 x 2) so that each row contains the derivatives of one shape function
Implements FiniteElement.
Definition at line 3696 of file fe.cpp.
References IntegrationPoint::x, and IntegrationPoint::y.
void RefinedLinear2DFiniteElement::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 (6)
Implements FiniteElement.
Definition at line 3654 of file fe.cpp.
References IntegrationPoint::x, and IntegrationPoint::y.