MFEM v2.0
Public Member Functions
P2SegmentFiniteElement Class Reference

Quadratic 1D element with nodes the Gaussian points in [0,1] (trace of RT2) More...

#include <fe.hpp>

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

List of all members.

Public Member Functions

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

Detailed Description

Quadratic 1D element with nodes the Gaussian points in [0,1] (trace of RT2)

Definition at line 848 of file fe.hpp.


Constructor & Destructor Documentation

P2SegmentFiniteElement::P2SegmentFiniteElement ( )

Definition at line 3183 of file fe.cpp.

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


Member Function Documentation

void P2SegmentFiniteElement::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 3205 of file fe.cpp.

References IntegrationPoint::x.

void P2SegmentFiniteElement::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 3193 of file fe.cpp.

References IntegrationPoint::x.


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