MFEM v2.0
|
Linear 1D element with nodes 1/3 and 2/3 (trace of RT1) More...
#include <fe.hpp>
Public Member Functions | |
P1SegmentFiniteElement () | |
virtual void | CalcShape (const IntegrationPoint &ip, Vector &shape) const |
virtual void | CalcDShape (const IntegrationPoint &ip, DenseMatrix &dshape) const |
P1SegmentFiniteElement::P1SegmentFiniteElement | ( | ) |
Definition at line 3159 of file fe.cpp.
References IntegrationRule::IntPoint(), FiniteElement::Nodes, and IntegrationPoint::x.
void P1SegmentFiniteElement::CalcDShape | ( | const IntegrationPoint & | ip, |
DenseMatrix & | dshape | ||
) | const [virtual] |
pure 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) so that each row contains the derivatives of one shape function
Implements FiniteElement.
void P1SegmentFiniteElement::CalcShape | ( | const IntegrationPoint & | ip, |
Vector & | shape | ||
) | const [virtual] |
pure 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
Implements FiniteElement.
Definition at line 3166 of file fe.cpp.
References IntegrationPoint::x.