Class documentation of Concepts

Loading...
Searching...
No Matches

#include <vectorial.hh>

Inheritance diagram for vectorial::ElementWithCell< F >:
vectorial::ElementBase< concepts::ElementWithCell< F > > concepts::IntegrationCell vectorial::Vectorial< F > concepts::ElementWithCell< F > concepts::Element< F > concepts::OutputOperator

Public Types

typedef ElementType::type F
 
typedef F type
 
enum  intFormType { ZERO , ONE , TWO , THREE }
 

Public Member Functions

 ElementWithCell (uint vdim, uint arrayWidth=0)
 
virtual void put (concepts::ElementWithCell< F > &em, const int dim, const int b=0)
 
virtual bool quadraturePoint (uint i, intPoint &p, intFormType form, bool localCoord) const
 
virtual const concepts::Cellcell () const
 Returns the cell on which the element is built.
 
virtual vectorial::TMatrix< F > & T () const
 
virtual const Graphics< F > * graphics () const
 
virtual void insert (F &vdata, const int a=0, const int b=0)
 Add a component.
 
virtual const F * get (const int a, const int b=0) const
 Get a component.
 
uint vdim () const
 Returns number of components.
 
Real3d elemMap (const Real coord_local) const
 
Real3d elemMap (const Real2d &coord_local) const
 
Real3d elemMap (const Real3d &coord_local) const
 
uint & tag ()
 Returns the tag.
 

Static Public Member Functions

static Graphics< F > * vecGraphics ()
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 

Protected Attributes

std::unique_ptr< vectorial::TMatrix< F > > T_
 T matrix for the vector valued element.
 
uint vdim_
 Number of components.
 
uint idx_
 Index of the last added component.
 
concepts::Array< F * > vdata_
 Storage.
 

Detailed Description

template<class F>
class vectorial::ElementWithCell< F >

Vector valued element with a cell

Author
Kersten Schmidt, 2013

Definition at line 285 of file vectorial.hh.

Member Typedef Documentation

◆ F

typedef ElementType::type vectorial::ElementBase< concepts::ElementWithCell< F > >::F
inherited

Definition at line 227 of file vectorial.hh.

◆ type

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

Definition at line 81 of file element.hh.

Member Enumeration Documentation

◆ intFormType

Integration form, which determines terms coming from integration over reference element

Definition at line 29 of file integral.hh.

Constructor & Destructor Documentation

◆ ElementWithCell()

template<class F >
vectorial::ElementWithCell< F >::ElementWithCell ( uint  vdim,
uint  arrayWidth = 0 
)
inline

Definition at line 288 of file vectorial.hh.

Member Function Documentation

◆ cell()

template<class F >
virtual const concepts::Cell & vectorial::ElementWithCell< F >::cell ( ) const
virtual

Returns the cell on which the element is built.

Implements concepts::ElementWithCell< F >.

◆ 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.

◆ get()

template<class F >
virtual const F * vectorial::Vectorial< F >::get ( const int  a,
const int  b = 0 
) const
inlinevirtualinherited

Get a component.

Examples
hpFEM3d-EV.cc.

Definition at line 74 of file vectorial.hh.

◆ graphics()

virtual const Graphics< F > * vectorial::ElementBase< concepts::ElementWithCell< F > >::graphics ( ) const
inlinevirtualinherited

Reimplemented from concepts::Element< F >.

Definition at line 243 of file vectorial.hh.

◆ info()

virtual std::ostream & vectorial::ElementBase< concepts::ElementWithCell< F > >::info ( std::ostream &  os) const
protectedvirtualinherited

Reimplemented from concepts::OutputOperator.

◆ insert()

template<class F >
void vectorial::Vectorial< F >::insert ( F &  vdata,
const int  a = 0,
const int  b = 0 
)
virtualinherited

Add a component.

Definition at line 94 of file vectorial.hh.

◆ put()

template<class F >
virtual void vectorial::ElementWithCell< F >::put ( concepts::ElementWithCell< F > &  em,
const int  dim,
const int  b = 0 
)
virtual

Insert element em into the vector valued element. This also creates the T matrix T_ of this element.

Parameters
dimNumber of global degrees of freedom (size of the subspace)

Reimplemented from vectorial::ElementBase< concepts::ElementWithCell< F > >.

◆ quadraturePoint()

template<class F >
virtual bool vectorial::ElementWithCell< F >::quadraturePoint ( uint  i,
intPoint p,
intFormType  form,
bool  localCoord 
) const
virtual

Delivers a quadrature point.

Quadrature point consists of coordinates (for evaluation of formulas) and intermediate data, consisting of the weight and term coming from mapping.

Returns false, if the number of quadrature points is overstepped.

Parameters
inumber of quadrature point
intPointdata given back
formIntegration form
localCoordIf true, local coordinates are returned. Else physical coordinates.

Implements concepts::IntegrationCell.

◆ T()

virtual vectorial::TMatrix< F > & vectorial::ElementBase< concepts::ElementWithCell< F > >::T ( ) const
inlinevirtualinherited

Implements concepts::ElementWithCell< F >.

Definition at line 242 of file vectorial.hh.

◆ tag()

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

Returns the tag.

Definition at line 66 of file element.hh.

◆ vdim()

template<class F >
uint vectorial::Vectorial< F >::vdim ( ) const
inlineinherited

Returns number of components.

Definition at line 77 of file vectorial.hh.

◆ vecGraphics()

static Graphics< F > * vectorial::ElementBase< concepts::ElementWithCell< F > >::vecGraphics ( )
inlinestaticinherited

Definition at line 248 of file vectorial.hh.

Member Data Documentation

◆ idx_

template<class F >
uint vectorial::Vectorial< F >::idx_
protectedinherited

Index of the last added component.

Definition at line 82 of file vectorial.hh.

◆ T_

std::unique_ptr<vectorial::TMatrix<F> > vectorial::ElementBase< concepts::ElementWithCell< F > >::T_
protectedinherited

T matrix for the vector valued element.

Definition at line 256 of file vectorial.hh.

◆ vdata_

template<class F >
concepts::Array<F*> vectorial::Vectorial< F >::vdata_
mutableprotectedinherited

Storage.

Definition at line 84 of file vectorial.hh.

◆ vdim_

template<class F >
uint vectorial::Vectorial< F >::vdim_
protectedinherited

Number of components.

Definition at line 80 of file vectorial.hh.


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