MFEM v2.0
Public Member Functions
P0TriangleFiniteElement Class Reference

Class for constant FE on triangle. More...

#include <fe.hpp>

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

List of all members.

Public Member Functions

 P0TriangleFiniteElement ()
 Construct P0 triangle finite element.
virtual void CalcShape (const IntegrationPoint &ip, Vector &shape) const
 evaluate shape function - constant 1
virtual void CalcDShape (const IntegrationPoint &ip, DenseMatrix &dshape) const
 evaluate derivatives of shape function - constant 0
virtual void ProjectDelta (int vertex, Vector &dofs) const

Detailed Description

Class for constant FE on triangle.

Definition at line 561 of file fe.hpp.


Constructor & Destructor Documentation

P0TriangleFiniteElement::P0TriangleFiniteElement ( )

Construct P0 triangle finite element.

Definition at line 1841 of file fe.cpp.

References IntegrationRule::IntPoint(), FiniteElement::Nodes, IntegrationPoint::x, and IntegrationPoint::y.


Member Function Documentation

void P0TriangleFiniteElement::CalcDShape ( const IntegrationPoint ip,
DenseMatrix dshape 
) const [virtual]

evaluate derivatives of shape function - constant 0

Implements FiniteElement.

Definition at line 1854 of file fe.cpp.

void P0TriangleFiniteElement::CalcShape ( const IntegrationPoint ip,
Vector shape 
) const [virtual]

evaluate shape function - constant 1

Implements FiniteElement.

Definition at line 1848 of file fe.cpp.

virtual void P0TriangleFiniteElement::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.

Definition at line 573 of file fe.hpp.


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