MFEM v2.0
Public Member Functions | Static Private Attributes
GaussBiLinear2DFiniteElement Class Reference

Class for bilinear FE on quad with nodes at the 4 Gaussian points. More...

#include <fe.hpp>

Inheritance diagram for GaussBiLinear2DFiniteElement:
Inheritance graph
[legend]
Collaboration diagram for GaussBiLinear2DFiniteElement:
Collaboration graph
[legend]

List of all members.

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]

Detailed Description

Class for bilinear FE on quad with nodes at the 4 Gaussian points.

Definition at line 370 of file fe.hpp.


Constructor & Destructor Documentation

GaussBiLinear2DFiniteElement::GaussBiLinear2DFiniteElement ( )

Member Function Documentation

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.


Member Data Documentation

const double GaussBiLinear2DFiniteElement::p [static, private]
Initial value:
{ 0.2113248654051871177454256, 0.7886751345948128822545744 }

Definition at line 373 of file fe.hpp.

Referenced by CalcDShape(), CalcShape(), GaussBiLinear2DFiniteElement(), and ProjectDelta().


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines