MFEM v2.0
|
Quadratic 1D element with nodes the Gaussian points in [0,1] (trace of RT2) More...
#include <fe.hpp>
Public Member Functions | |
P2SegmentFiniteElement () | |
virtual void | CalcShape (const IntegrationPoint &ip, Vector &shape) const |
virtual void | CalcDShape (const IntegrationPoint &ip, DenseMatrix &dshape) const |
Quadratic 1D element with nodes the Gaussian points in [0,1] (trace of RT2)
P2SegmentFiniteElement::P2SegmentFiniteElement | ( | ) |
Definition at line 3183 of file fe.cpp.
References IntegrationRule::IntPoint(), FiniteElement::Nodes, and IntegrationPoint::x.
void P2SegmentFiniteElement::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.
Definition at line 3205 of file fe.cpp.
References IntegrationPoint::x.
void P2SegmentFiniteElement::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 3193 of file fe.cpp.
References IntegrationPoint::x.