MFEM v2.0
Public Member Functions
Quad2DFiniteElement Class Reference

Class for quadratic FE on triangle. More...

#include <fe.hpp>

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

List of all members.

Public Member Functions

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

Detailed Description

Class for quadratic FE on triangle.

Definition at line 424 of file fe.hpp.


Constructor & Destructor Documentation

Quad2DFiniteElement::Quad2DFiniteElement ( )

Construct a quadratic FE on triangle.

Definition at line 806 of file fe.cpp.

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


Member Function Documentation

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

Implements FiniteElement.

Definition at line 837 of file fe.cpp.

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

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

Definition at line 861 of file fe.cpp.

void Quad2DFiniteElement::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 (6)

Implements FiniteElement.

Definition at line 823 of file fe.cpp.

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

void Quad2DFiniteElement::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 889 of file fe.cpp.


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