MFEM v2.0
Public Member Functions
Linear1DFiniteElement Class Reference

Class for linear FE on interval. More...

#include <fe.hpp>

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

List of all members.

Public Member Functions

 Linear1DFiniteElement ()
 Construct a linear FE on interval.
virtual void CalcShape (const IntegrationPoint &ip, Vector &shape) const
virtual void CalcDShape (const IntegrationPoint &ip, DenseMatrix &dshape) const

Detailed Description

Class for linear FE on interval.

Definition at line 292 of file fe.hpp.


Constructor & Destructor Documentation

Linear1DFiniteElement::Linear1DFiniteElement ( )

Construct a linear FE on interval.

Definition at line 542 of file fe.cpp.

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


Member Function Documentation

void Linear1DFiniteElement::CalcDShape ( const IntegrationPoint ip,
DenseMatrix dshape 
) const [virtual]

virtual function which evaluates the derivatives of all shape functions at a given point ip and stores them in the matrix dshape (Dof x Dim) (2 x 1) so that each row contains the derivative of one shape function

Implements FiniteElement.

Definition at line 556 of file fe.cpp.

void Linear1DFiniteElement::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 (2)

Implements FiniteElement.

Definition at line 549 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