MFEM v2.0
Public Member Functions
P1SegmentFiniteElement Class Reference

Linear 1D element with nodes 1/3 and 2/3 (trace of RT1) More...

#include <fe.hpp>

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

List of all members.

Public Member Functions

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

Detailed Description

Linear 1D element with nodes 1/3 and 2/3 (trace of RT1)

Definition at line 838 of file fe.hpp.


Constructor & Destructor Documentation

P1SegmentFiniteElement::P1SegmentFiniteElement ( )

Definition at line 3159 of file fe.cpp.

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


Member Function Documentation

void P1SegmentFiniteElement::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 3175 of file fe.cpp.

void P1SegmentFiniteElement::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 3166 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