Vector valued space with elements on cells. More...

#include <vectorial.hh>

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

Public Types

typedef VectorialElementType< typename SpaceType::type >::type ElementType
 
typedef concepts::Scan< ElementTypeScanner
 
typedef ElementWithCell< F > type
 

Public Member Functions

virtual uint dim () const
 
virtual uint dim () const =0
 Returns the dimension of the space. More...
 
virtual const concepts::SpaceOnCells< F > * get (const int a, const int b=0) const
 Get a component. More...
 
virtual uint getOutputDimension () const
 Returns the default output dimension, when we consider plotting a real-valued operator on this space. More...
 
virtual void insert (concepts::SpaceOnCells< F > &vdata, const int a=0, const int b=0)
 Add a component. More...
 
virtual uint nelm () const
 
virtual uint nelm () const =0
 Returns the number of elements in the space. More...
 
virtual void put (concepts::SpaceOnCells< F > &spc, const int i=0, const int j=0)
 Insert a Space spc of one vectorial dimension to the next v-dimensional space (arguments i and j are ignored) More...
 
void rebuild ()
 Rebuilds the vectorial space from the scalar spaces. More...
 
virtual Scannerscan () const
 
virtual Scannerscan () const =0
 Returns a scanner to iterate over the elements of the space. More...
 
 SpaceOnCells (const uint vdim, const uint arrayWidth=0)
 
uint vdim () const
 Returns number of components. More...
 
virtual ~SpaceOnCells ()
 

Protected Member Functions

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

Protected Attributes

uint idx_
 Index of the last added component. More...
 
concepts::Array< concepts::SpaceOnCells< F > * > vdata_
 Storage. More...
 
uint vdim_
 Number of components. More...
 

Private Member Functions

void buildElm_ (const concepts::SpaceOnCells< F > &spc, uint idx)
 

Private Attributes

uint dim_
 
concepts::Joiner< ElementType *, 1 > * elm_
 
std::string name_
 Name of the class for output. More...
 
uint nelm_
 

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<typename SpaceType::type>::type vectorial::SpaceBase< concepts::SpaceOnCells< F > >::ElementType
inherited

Definition at line 430 of file vectorial.hh.

◆ Scanner

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.

◆ ~SpaceOnCells()

template<class F >
virtual vectorial::SpaceOnCells< F >::~SpaceOnCells ( )
virtual

Member Function Documentation

◆ buildElm_()

void vectorial::SpaceBase< concepts::SpaceOnCells< F > >::buildElm_ ( const concepts::SpaceOnCells< F > &  spc,
uint  idx 
)
privateinherited

◆ dim() [1/2]

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

Definition at line 449 of file vectorial.hh.

◆ dim() [2/2]

◆ get()

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

Get a component.

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.

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()

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

Add a component.

Definition at line 72 of file vectorial.hh.

◆ nelm() [1/2]

virtual uint vectorial::SpaceBase< concepts::SpaceOnCells< F > >::nelm
inlinevirtualinherited

Definition at line 450 of file vectorial.hh.

◆ nelm() [2/2]

template<class F >
virtual uint concepts::SpaceOnCells< F >::nelm ( ) const
pure virtualinherited

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

◆ rebuild()

void vectorial::SpaceBase< concepts::SpaceOnCells< F > >::rebuild
inherited

Rebuilds the vectorial space from the scalar spaces.

◆ scan() [1/2]

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

◆ scan() [2/2]

template<class F >
virtual Scanner* concepts::SpaceOnCells< F >::scan ( ) const
pure virtualinherited

◆ vdim()

uint vectorial::Vectorial< concepts::SpaceOnCells< F > >::vdim
inlineinherited

Returns number of components.

Definition at line 77 of file vectorial.hh.

Member Data Documentation

◆ dim_

uint vectorial::SpaceBase< concepts::SpaceOnCells< F > >::dim_
privateinherited

Definition at line 464 of file vectorial.hh.

◆ elm_

Definition at line 465 of file vectorial.hh.

◆ idx_

uint vectorial::Vectorial< concepts::SpaceOnCells< F > >::idx_
protectedinherited

Index of the last added component.

Definition at line 82 of file vectorial.hh.

◆ name_

std::string vectorial::SpaceBase< concepts::SpaceOnCells< F > >::name_
privateinherited

Name of the class for output.

Definition at line 467 of file vectorial.hh.

◆ nelm_

uint vectorial::SpaceBase< concepts::SpaceOnCells< F > >::nelm_
privateinherited

Definition at line 464 of file vectorial.hh.

◆ vdata_

concepts::Array<concepts::SpaceOnCells< F > *> vectorial::Vectorial< concepts::SpaceOnCells< F > >::vdata_
mutableprotectedinherited

Storage.

Definition at line 84 of file vectorial.hh.

◆ vdim_

uint vectorial::Vectorial< concepts::SpaceOnCells< 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:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich