MFEM v2.0
|
#include <fe.hpp>
Public Member Functions | |
Lagrange1DFiniteElement (int degree) | |
virtual void | CalcShape (const IntegrationPoint &ip, Vector &shape) const |
virtual void | CalcDShape (const IntegrationPoint &ip, DenseMatrix &dshape) const |
Private Attributes | |
Vector | rwk |
Vector | rxxk |
Lagrange1DFiniteElement::Lagrange1DFiniteElement | ( | int | degree | ) |
Definition at line 3218 of file fe.cpp.
References IntegrationRule::IntPoint(), FiniteElement::Nodes, rwk, rxxk, Vector::SetSize(), and IntegrationPoint::x.
void Lagrange1DFiniteElement::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 3274 of file fe.cpp.
References FiniteElement::GetOrder(), rwk, rxxk, and IntegrationPoint::x.
void Lagrange1DFiniteElement::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 3242 of file fe.cpp.
References FiniteElement::GetOrder(), rwk, rxxk, and IntegrationPoint::x.
Vector Lagrange1DFiniteElement::rwk [private] |
Definition at line 860 of file fe.hpp.
Referenced by CalcDShape(), CalcShape(), and Lagrange1DFiniteElement().
Vector Lagrange1DFiniteElement::rxxk [mutable, private] |
Definition at line 862 of file fe.hpp.
Referenced by CalcDShape(), CalcShape(), and Lagrange1DFiniteElement().