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

Class for quadratic FE on triangle with nodes at the "Gaussian" points. More...

#include <fe.hpp>

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

List of all members.

Public Member Functions

 GaussQuad2DFiniteElement ()
virtual void CalcShape (const IntegrationPoint &ip, Vector &shape) const
virtual void CalcDShape (const IntegrationPoint &ip, DenseMatrix &dshape) const

Private Attributes

DenseMatrix A
DenseMatrix D
Vector pol

Static Private Attributes

static const double p [2]

Detailed Description

Class for quadratic FE on triangle with nodes at the "Gaussian" points.

Definition at line 448 of file fe.hpp.


Constructor & Destructor Documentation

GaussQuad2DFiniteElement::GaussQuad2DFiniteElement ( )

Member Function Documentation

void GaussQuad2DFiniteElement::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 953 of file fe.cpp.

References A, D, Mult(), IntegrationPoint::x, and IntegrationPoint::y.

void GaussQuad2DFiniteElement::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 939 of file fe.cpp.

References A, DenseMatrix::Mult, pol, IntegrationPoint::x, and IntegrationPoint::y.


Member Data Documentation

Definition at line 452 of file fe.hpp.

Referenced by CalcDShape(), CalcShape(), and GaussQuad2DFiniteElement().

Definition at line 453 of file fe.hpp.

Referenced by CalcDShape().

const double GaussQuad2DFiniteElement::p [static, private]
Initial value:
{ 0.0915762135097707434595714634022015, 0.445948490915964886318329253883051 }

Definition at line 451 of file fe.hpp.

Referenced by GaussQuad2DFiniteElement().

Definition at line 454 of file fe.hpp.

Referenced by CalcShape().


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