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

#include <fe.hpp>

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

List of all members.

Public Member Functions

 RT2TriangleFiniteElement ()
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

Static Private Attributes

static const double M [15][15]

Detailed Description

Definition at line 790 of file fe.hpp.


Constructor & Destructor Documentation

RT2TriangleFiniteElement::RT2TriangleFiniteElement ( )

Member Function Documentation

void RT2TriangleFiniteElement::CalcDivShape ( const IntegrationPoint ip,
Vector divshape 
) const [virtual]

This virtual function evaluates the divergence of all shape functions at the given IntegrationPoint. The result is stored in the Vector divshape (of size Dof).

Reimplemented from FiniteElement.

Definition at line 2831 of file fe.cpp.

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

void RT2TriangleFiniteElement::CalcVShape ( const IntegrationPoint ip,
DenseMatrix shape 
) const [virtual]

This virtual function evaluates the values of all components of all shape functions at the given IntegrationPoint. The result is stored in the DenseMatrix shape (Dof x Dim) so that each row contains the components of one shape function.

Reimplemented from FiniteElement.

Definition at line 2808 of file fe.cpp.

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

virtual void RT2TriangleFiniteElement::CalcVShape ( ElementTransformation Trans,
DenseMatrix shape 
) const [inline, virtual]

Reimplemented from FiniteElement.

Definition at line 800 of file fe.hpp.

References VectorFiniteElement::CalcVShape_RT().


Member Data Documentation

const double RT2TriangleFiniteElement::M [static, private]

Definition at line 793 of file fe.hpp.

Referenced by CalcDivShape(), and CalcVShape().


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