Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
hp2D::Element< F > Class Template Reference

Abstract class for a 2D FEM element. More...

#include <element.hh>

Inheritance diagram for hp2D::Element< F >:
Inheritance graph
[legend]
Collaboration diagram for hp2D::Element< F >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef F type

Public Member Functions

void appendT (concepts::TColumn< F > *T)
 Appends the T columns to the T matrix.
virtual const concepts::Cell2cell () const =0
 Returns the cell on which the element is built.
 Element (concepts::TColumn< F > *T)
 Constructor.
Real3d elemMap (const Real2d &coord_local) const
Real3d elemMap (const Real3d &coord_local) const
Real3d elemMap (const Real coord_local) const
virtual const ElementGraphics
< F > * 
graphics () const
virtual const
concepts::Connector2
support () const =0
 Returns the topological support of the element.
virtual const
concepts::TMatrix< F > & 
T () const
 Returns the T matrix of the element.
uint & tag ()
 Returns the tag.
virtual concepts::Real3d vertex (uint i) const =0
 Returns the coordinates of the ith vertex of this element.

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.

Protected Attributes

concepts::TMatrix< F > T_
 T matrix of the element.

Detailed Description

template<class F>
class hp2D::Element< F >

Abstract class for a 2D FEM element.

All FEM elements have to be derived from this class. It prescribes the interface for querying the support of the element and it has a polynomials degree (ie. hp).

Author:
Philipp Frauenfelder, 2001

Definition at line 26 of file element.hh.


Member Typedef Documentation

template<class F>
typedef F concepts::Element< F >::type [inherited]

Definition at line 53 of file element.hh.


Constructor & Destructor Documentation

template<class F>
hp2D::Element< F >::Element ( concepts::TColumn< F > *  T) [inline]

Constructor.

Parameters:
TList of T columns for this element

Definition at line 31 of file element.hh.


Member Function Documentation

template<class F>
void hp2D::Element< F >::appendT ( concepts::TColumn< F > *  T) [inline]

Appends the T columns to the T matrix.

Definition at line 41 of file element.hh.

template<class F>
virtual const concepts::Cell2& hp2D::Element< F >::cell ( ) const [pure virtual]

Returns the cell on which the element is built.

Possible are tetrahedrons, hexahedron, prims and pyramids.

Implements concepts::ElementWithCell< F >.

Implemented in hp2D::BaseQuad< F >, hp2D::InfiniteQuad, and hp2D::BaseQuad< Real >.

template<typename F>
Real3d concepts::ElementWithCell< F >::elemMap ( const Real2d coord_local) const [inline, inherited]

Definition at line 87 of file element.hh.

template<typename F>
Real3d concepts::ElementWithCell< F >::elemMap ( const Real3d coord_local) const [inline, inherited]

Definition at line 91 of file element.hh.

template<typename F>
Real3d concepts::ElementWithCell< F >::elemMap ( const Real  coord_local) const [inline, inherited]

Definition at line 83 of file element.hh.

template<class F>
virtual const ElementGraphics<F>* concepts::Element< F >::graphics ( ) const [inline, virtual, inherited]
template<class F>
virtual std::ostream& hp2D::Element< F >::info ( std::ostream &  os) const [protected, virtual]
template<class F>
virtual const concepts::Connector2& hp2D::Element< F >::support ( ) const [pure virtual]

Returns the topological support of the element.

Possible supports for an element are quadrilaterals and triangles.

Implemented in hp2D::BaseQuad< F >, hp2D::InfiniteQuad, and hp2D::BaseQuad< Real >.

template<class F>
virtual const concepts::TMatrix<F>& hp2D::Element< F >::T ( ) const [inline, virtual]

Returns the T matrix of the element.

Implements concepts::Element< F >.

Definition at line 38 of file element.hh.

template<class F>
uint& concepts::Element< F >::tag ( ) [inline, inherited]

Returns the tag.

Definition at line 65 of file element.hh.

template<class F>
virtual concepts::Real3d hp2D::Element< F >::vertex ( uint  i) const [pure virtual]

Returns the coordinates of the ith vertex of this element.

Parameters:
iIndex of the vertex

Implemented in hp2D::BaseQuad< F >, hp2D::InfiniteQuad, and hp2D::BaseQuad< Real >.


Member Data Documentation

template<class F>
concepts::TMatrix<F> hp2D::Element< F >::T_ [protected]

T matrix of the element.

Definition at line 57 of file element.hh.


The documentation for this class was generated from the following file:

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)