MFEM v2.0
|
Class for bilinear FE on quad with nodes at the 4 Gaussian points. More...
#include <fe.hpp>
Public Member Functions | |
GaussBiLinear2DFiniteElement () | |
virtual void | CalcShape (const IntegrationPoint &ip, Vector &shape) const |
virtual void | CalcDShape (const IntegrationPoint &ip, DenseMatrix &dshape) const |
virtual void | ProjectDelta (int vertex, Vector &dofs) const |
Static Private Attributes | |
static const double | p [2] |
Class for bilinear FE on quad with nodes at the 4 Gaussian points.
GaussBiLinear2DFiniteElement::GaussBiLinear2DFiniteElement | ( | ) |
Definition at line 672 of file fe.cpp.
References IntegrationRule::IntPoint(), FiniteElement::Nodes, p, IntegrationPoint::x, and IntegrationPoint::y.
void GaussBiLinear2DFiniteElement::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 696 of file fe.cpp.
References p, IntegrationPoint::x, and IntegrationPoint::y.
void GaussBiLinear2DFiniteElement::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 685 of file fe.cpp.
References p, IntegrationPoint::x, and IntegrationPoint::y.
void GaussBiLinear2DFiniteElement::ProjectDelta | ( | int | vertex, |
Vector & | dofs | ||
) | const [virtual] |
Compute a representation (up to multiplicative constant) for the delta function at the vertex with the given index.
Reimplemented from FiniteElement.
Definition at line 707 of file fe.cpp.
References p.
const double GaussBiLinear2DFiniteElement::p [static, private] |
{ 0.2113248654051871177454256, 0.7886751345948128822545744 }
Definition at line 373 of file fe.hpp.
Referenced by CalcDShape(), CalcShape(), GaussBiLinear2DFiniteElement(), and ProjectDelta().