MFEM v2.0
|
Class for bilinear FE on quadrilateral. More...
#include <fe.hpp>
Public Member Functions | |
BiLinear2DFiniteElement () | |
Construct a bilinear FE on quadrilateral. | |
virtual void | CalcShape (const IntegrationPoint &ip, Vector &shape) const |
virtual void | CalcDShape (const IntegrationPoint &ip, DenseMatrix &dshape) const |
virtual void | CalcHessian (const IntegrationPoint &ip, DenseMatrix &h) const |
virtual void | ProjectDelta (int vertex, Vector &dofs) const |
BiLinear2DFiniteElement::BiLinear2DFiniteElement | ( | ) |
Construct a bilinear FE on quadrilateral.
Definition at line 590 of file fe.cpp.
References IntegrationRule::IntPoint(), FiniteElement::Nodes, IntegrationPoint::x, and IntegrationPoint::y.
void BiLinear2DFiniteElement::CalcDShape | ( | const IntegrationPoint & | ip, |
DenseMatrix & | dshape | ||
) | const [virtual] |
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) (4 x 2) so that each row contains the derivatives of one shape function
Implements FiniteElement.
Definition at line 612 of file fe.cpp.
References IntegrationPoint::x, and IntegrationPoint::y.
void BiLinear2DFiniteElement::CalcHessian | ( | const IntegrationPoint & | ip, |
DenseMatrix & | h | ||
) | const [virtual] |
each row of h contains the upper triangular part of the hessian of one shape function; the order in 2D is {u_xx, u_xy, u_yy}
Reimplemented from FiniteElement.
void BiLinear2DFiniteElement::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 (4)
Implements FiniteElement.
Definition at line 603 of file fe.cpp.
References IntegrationPoint::x, and IntegrationPoint::y.
virtual void BiLinear2DFiniteElement::ProjectDelta | ( | int | vertex, |
Vector & | dofs | ||
) | const [inline, virtual] |
Compute a representation (up to multiplicative constant) for the delta function at the vertex with the given index.
Reimplemented from FiniteElement.