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