MFEM v2.0
|
Class for quadratic FE on interval. More...
#include <fe.hpp>
Public Member Functions | |
Quad1DFiniteElement () | |
Construct a quadratic FE on interval. | |
virtual void | CalcShape (const IntegrationPoint &ip, Vector &shape) const |
virtual void | CalcDShape (const IntegrationPoint &ip, DenseMatrix &dshape) const |
Quad1DFiniteElement::Quad1DFiniteElement | ( | ) |
Construct a quadratic FE on interval.
Definition at line 748 of file fe.cpp.
References IntegrationRule::IntPoint(), FiniteElement::Nodes, and IntegrationPoint::x.
void Quad1DFiniteElement::CalcDShape | ( | const IntegrationPoint & | ip, |
DenseMatrix & | dshape | ||
) | const [virtual] |
virtual function which evaluates the derivatives of all shape functions at a given point ip and stores them in the matrix dshape (Dof x Dim) (3 x 1) so that each row contains the derivative of one shape function
Implements FiniteElement.
Definition at line 767 of file fe.cpp.
References IntegrationPoint::x.
void Quad1DFiniteElement::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 (3)
Implements FiniteElement.
Definition at line 756 of file fe.cpp.
References IntegrationPoint::x.