Class documentation of Concepts

Loading...
Searching...
No Matches
vectorial::SpaceOnCells< F > Class Template Reference

#include <vectorial.hh>

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

Public Types

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

Public Member Functions

 SpaceOnCells (const uint vdim, const uint arrayWidth=0)
 
virtual uint dim () const
 
virtual uint nelm () const
 
virtual Scannerscan () const
 
virtual void put (concepts::SpaceOnCells< 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::SpaceOnCells< F >

Vector valued space with elements on cells

Author
Kersten Schmidt, 2013

Definition at line 492 of file vectorial.hh.

Member Typedef Documentation

◆ ElementType

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

Definition at line 430 of file vectorial.hh.

◆ Scanner

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

Definition at line 451 of file vectorial.hh.

◆ type

template<class F >
typedef ElementWithCell<F> concepts::SpaceOnCells< F >::type
inherited

Definition at line 83 of file space.hh.

Constructor & Destructor Documentation

◆ SpaceOnCells()

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

Definition at line 494 of file vectorial.hh.

Member Function Documentation

◆ dim()

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

Implements concepts::SpaceOnCells< F >.

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::SpaceOnCells< F > >::info ( std::ostream &  os) const
protectedvirtualinherited

Reimplemented from concepts::SpaceOnCells< 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::SpaceOnCells< F > >::nelm ( ) const
inlinevirtualinherited

Implements concepts::SpaceOnCells< F >.

Definition at line 450 of file vectorial.hh.

◆ put()

virtual void vectorial::SpaceBase< concepts::SpaceOnCells< F > >::put ( concepts::SpaceOnCells< 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)

◆ scan()

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

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