MFEM v2.0
Public Member Functions
Linear2DFiniteElement Class Reference

Class for linear FE on triangle. More...

#include <fe.hpp>

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

List of all members.

Public Member Functions

 Linear2DFiniteElement ()
 Construct a linear FE on triangle.
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

Detailed Description

Class for linear FE on triangle.

Definition at line 312 of file fe.hpp.


Constructor & Destructor Documentation

Linear2DFiniteElement::Linear2DFiniteElement ( )

Construct a linear FE on triangle.

Definition at line 563 of file fe.cpp.

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


Member Function Documentation

void Linear2DFiniteElement::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) (3 x 2) so that each row contains the derivatives of one shape function

Implements FiniteElement.

Definition at line 582 of file fe.cpp.

void Linear2DFiniteElement::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 (3)

Implements FiniteElement.

Definition at line 574 of file fe.cpp.

References IntegrationPoint::x, and IntegrationPoint::y.

virtual void Linear2DFiniteElement::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 329 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