Class documentation of Concepts

Loading...
Searching...
No Matches

#include <element.hh>

Inheritance diagram for hp2D::Element< F >:
concepts::ElementWithCell< F > concepts::Element< F > concepts::OutputOperator hp2D::BaseQuad< Real > hp2D::BaseQuad< H > hp2D::BaseQuad< F > hp2D::Quad< Real > hp2D::Quad< H > hp2D::Quad< F > hp2Dedge::Quad< F > hp3D::NeumannTraceElement3d< F >

Public Types

typedef F type
 

Public Member Functions

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

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 28 of file element.hh.

Member Typedef Documentation

◆ type

template<typename F >
typedef F concepts::ElementWithCell< F >::type
inherited

Definition at line 81 of file element.hh.

Constructor & Destructor Documentation

◆ Element()

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

Constructor.

Parameters
TList of T columns for this element

Definition at line 33 of file element.hh.

Member Function Documentation

◆ appendT()

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

Appends the T columns to the T matrix.

Definition at line 43 of file element.hh.

◆ cell()

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

Returns the cell on which the element is built.

Implements concepts::ElementWithCell< F >.

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

◆ elemMap() [1/3]

template<typename F >
Real3d concepts::ElementWithCell< F >::elemMap ( const Real  coord_local) const
inlineinherited

Definition at line 86 of file element.hh.

◆ elemMap() [2/3]

template<typename F >
Real3d concepts::ElementWithCell< F >::elemMap ( const Real2d coord_local) const
inlineinherited

Definition at line 90 of file element.hh.

◆ elemMap() [3/3]

template<typename F >
Real3d concepts::ElementWithCell< F >::elemMap ( const Real3d coord_local) const
inlineinherited

Definition at line 94 of file element.hh.

◆ graphics()

◆ info()

template<class F >
virtual std::ostream & hp2D::Element< F >::info ( std::ostream &  os) const
protectedvirtual

◆ support()

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::BaseQuad< H >, hp2D::BaseQuad< Real >, and hp2D::InfiniteQuad.

◆ T()

template<class F >
virtual const concepts::TMatrix< F > & hp2D::Element< F >::T ( ) const
inlinevirtual

Returns the T matrix of the element.

Implements concepts::ElementWithCell< F >.

Reimplemented in hp3D::NeumannTraceElement3d< F >.

Definition at line 40 of file element.hh.

◆ tag()

template<class F >
uint & concepts::Element< F >::tag ( )
inlineinherited

Returns the tag.

Definition at line 66 of file element.hh.

◆ vertex()

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::BaseQuad< H >, hp2D::BaseQuad< Real >, and hp2D::InfiniteQuad.

Member Data Documentation

◆ T_

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: