MFEM  v3.2
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
mfem::BiLinear2DFiniteElement Class Reference

Class for bilinear FE on quadrilateral. More...

#include <fe.hpp>

Inheritance diagram for mfem::BiLinear2DFiniteElement:
[legend]
Collaboration diagram for mfem::BiLinear2DFiniteElement:
[legend]

Public Member Functions

 BiLinear2DFiniteElement ()
 Construct a bilinear FE on quadrilateral. More...
 
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
 
- Public Member Functions inherited from mfem::NodalFiniteElement
 NodalFiniteElement (int D, int G, int Do, int O, int F=FunctionSpace::Pk)
 
virtual void GetLocalInterpolation (ElementTransformation &Trans, DenseMatrix &I) const
 
virtual void Project (Coefficient &coeff, ElementTransformation &Trans, Vector &dofs) const
 
virtual void Project (VectorCoefficient &vc, ElementTransformation &Trans, Vector &dofs) const
 
virtual void Project (const FiniteElement &fe, ElementTransformation &Trans, DenseMatrix &I) const
 
virtual void ProjectGrad (const FiniteElement &fe, ElementTransformation &Trans, DenseMatrix &grad) const
 
virtual void ProjectDiv (const FiniteElement &fe, ElementTransformation &Trans, DenseMatrix &div) const
 
- Public Member Functions inherited from mfem::FiniteElement
 FiniteElement (int D, int G, int Do, int O, int F=FunctionSpace::Pk)
 
int GetDim () const
 Returns the space dimension for the finite element. More...
 
int GetGeomType () const
 Returns the geometry type: More...
 
int GetDof () const
 Returns the degrees of freedom in the FE space. More...
 
int GetOrder () const
 Returns the order of the finite element. More...
 
int Space () const
 Returns the type of space on each element. More...
 
int GetRangeType () const
 
int GetMapType () const
 
const IntegrationRuleGetNodes () const
 
virtual void CalcVShape (const IntegrationPoint &ip, DenseMatrix &shape) const
 
virtual void CalcVShape (ElementTransformation &Trans, DenseMatrix &shape) const
 
virtual void CalcDivShape (const IntegrationPoint &ip, Vector &divshape) const
 
virtual void CalcCurlShape (const IntegrationPoint &ip, DenseMatrix &curl_shape) const
 
virtual void GetFaceDofs (int face, int **dofs, int *ndofs) const
 
virtual void ProjectCurl (const FiniteElement &fe, ElementTransformation &Trans, DenseMatrix &curl) const
 
virtual ~FiniteElement ()
 

Additional Inherited Members

- Public Types inherited from mfem::FiniteElement
enum  { SCALAR, VECTOR }
 Enumeration for RangeType. More...
 
enum  { VALUE, INTEGRAL, H_DIV, H_CURL }
 
- Protected Member Functions inherited from mfem::NodalFiniteElement
void NodalLocalInterpolation (ElementTransformation &Trans, DenseMatrix &I, const NodalFiniteElement &fine_fe) const
 
void ProjectCurl_2D (const FiniteElement &fe, ElementTransformation &Trans, DenseMatrix &curl) const
 
- Protected Attributes inherited from mfem::NodalFiniteElement
Vector c_shape
 
- Protected Attributes inherited from mfem::FiniteElement
int Dim
 
int GeomType
 
int Dof
 
int Order
 
int FuncSpace
 
int RangeType
 
int MapType
 
IntegrationRule Nodes
 

Detailed Description

Class for bilinear FE on quadrilateral.

Definition at line 396 of file fe.hpp.

Constructor & Destructor Documentation

mfem::BiLinear2DFiniteElement::BiLinear2DFiniteElement ( )

Construct a bilinear FE on quadrilateral.

Definition at line 788 of file fe.cpp.

Member Function Documentation

void mfem::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 mfem::FiniteElement.

Definition at line 810 of file fe.cpp.

void mfem::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 mfem::FiniteElement.

Definition at line 819 of file fe.cpp.

void mfem::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 mfem::FiniteElement.

Definition at line 801 of file fe.cpp.

virtual void mfem::BiLinear2DFiniteElement::ProjectDelta ( int  vertex,
Vector dofs 
) const
inlinevirtual

Compute a representation (up to multiplicative constant) for the delta function at the vertex with the given index.

Reimplemented from mfem::FiniteElement.

Definition at line 415 of file fe.hpp.


The documentation for this class was generated from the following files: