Class documentation of Concepts

Loading...
Searching...
No Matches

#include <vectorial.hh>

Inheritance diagram for vectorial::Space< F >:
vectorial::SpaceBase< concepts::Space< F > > concepts::Space< F > vectorial::Vectorial< F > concepts::OutputOperator

Public Types

typedef VectorialElementType< typenameSpaceType::type >::type ElementType
 
typedef concepts::Scan< ElementType > Scanner
 
typedef Element< F > type
 

Public Member Functions

 Space (const uint vdim, const uint arrayWidth=0)
 
virtual uint dim () const
 
virtual uint nelm () const
 
virtual Scannerscan () const
 
virtual void put (concepts::Space< F > &spc, const int i=0, const int j=0)
 
void rebuild ()
 Rebuilds the vectorial space from the scalar spaces.
 
virtual uint getOutputDimension () const
 Returns the default output dimension, when we consider plotting a real-valued operator on this space.
 
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.
 

Protected Member Functions

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

Protected Attributes

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::Space< F >

Vector valued space

Author
Kersten Schmidt, 2002
Examples
elasticity2D_tutorial.cc, and hpFEM3d-EV.cc.

Definition at line 478 of file vectorial.hh.

Member Typedef Documentation

◆ ElementType

typedef VectorialElementType<typenameSpaceType::type>::type vectorial::SpaceBase< concepts::Space< F > >::ElementType
inherited

Definition at line 430 of file vectorial.hh.

◆ Scanner

typedef concepts::Scan<ElementType> vectorial::SpaceBase< concepts::Space< F > >::Scanner
inherited

Definition at line 451 of file vectorial.hh.

◆ type

template<class F >
typedef Element<F> concepts::Space< F >::type
inherited

Definition at line 46 of file space.hh.

Constructor & Destructor Documentation

◆ Space()

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

Definition at line 480 of file vectorial.hh.

Member Function Documentation

◆ dim()

virtual uint vectorial::SpaceBase< concepts::Space< F > >::dim ( ) const
inlinevirtualinherited

Implements concepts::Space< F >.

Examples
hpFEM3d-EV.cc.

Definition at line 449 of file vectorial.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.

◆ getOutputDimension()

template<class F >
virtual uint concepts::Space< F >::getOutputDimension ( ) const
inlinevirtualinherited

Returns the default output dimension, when we consider plotting a real-valued operator on this space.

Reimplemented in hp2D::hpAdaptiveSpaceHCurl, and hp2Dedge::Space.

Definition at line 50 of file space.hh.

◆ info()

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

Reimplemented from concepts::Space< F >.

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

◆ nelm()

virtual uint vectorial::SpaceBase< concepts::Space< F > >::nelm ( ) const
inlinevirtualinherited

Implements concepts::Space< F >.

Definition at line 450 of file vectorial.hh.

◆ put()

virtual void vectorial::SpaceBase< concepts::Space< F > >::put ( concepts::Space< F > &  spc,
const int  i = 0,
const int  j = 0 
)
virtualinherited

Insert a Space spc of one vectorial dimension to the next v-dimensional space (arguments i and j are ignored)

Examples
hpFEM3d-EV.cc.

◆ scan()

virtual Scanner * vectorial::SpaceBase< concepts::Space< F > >::scan ( ) const
virtualinherited

Implements concepts::Space< F >.

◆ vdim()

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

Returns number of components.

Definition at line 77 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.

◆ 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 files: