concepts::SpaceHelper< F, G > Class Template Referenceabstract

Class which helps to build the T Columns of the elements of a space, with the help of a space pre builder. More...

#include <spacePreBuilder.hh>

Inheritance diagram for concepts::SpaceHelper< F, G >:
concepts::OutputOperator concepts::SubspaceHelper< F, G >

Public Member Functions

const BoundaryConditionsbc () const
 Returns boundary conditions. More...
 
const CellConditionscc () const
 Returns cell conditions. More...
 
virtual const uint & idx () const =0
 
virtual uint & idx ()=0
 Returns the current index. More...
 
const concepts::Set< const concepts::Connector * > passive () const
 
bool passive (const concepts::Connector &cntr) const
 Returns if an entitiy of dimension dim is marked as passive. More...
 
G & prebuild ()
 Returns space pre builder. More...
 
virtual void reset ()=0
 Reset the index counter. More...
 
void set_bc (const BoundaryConditions *bc)
 Reset boundary conditions to bc. More...
 
void setPassive (const concepts::Connector &cntr)
 Mark a connector as passive. More...
 
 SpaceHelper (G &prebuild, const BoundaryConditions *bc=0, const CellConditions *cc=0)
 Constructor. More...
 
virtual uint spcNo () const
 Returns a number to distinguish between global indices on same topological entity. More...
 
virtual ~SpaceHelper ()
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream. More...
 

Private Attributes

std::unique_ptr< const BoundaryConditionsbc_
 Boundary conditions. More...
 
std::unique_ptr< const CellConditionscc_
 Cell conditions. More...
 
concepts::Set< const concepts::Connector * > passive_
 Set of passive connectors. More...
 
G * prebuild_
 Space pre builder. More...
 

Detailed Description

template<class F, class G>
class concepts::SpaceHelper< F, G >

Class which helps to build the T Columns of the elements of a space, with the help of a space pre builder.

Parameters
Fdata type of the T-matrices
Gspace pre builder class

Definition at line 91 of file spacePreBuilder.hh.

Constructor & Destructor Documentation

◆ SpaceHelper()

template<class F , class G >
concepts::SpaceHelper< F, G >::SpaceHelper ( G &  prebuild,
const BoundaryConditions bc = 0,
const CellConditions cc = 0 
)
inline

Constructor.

Parameters
prebuildspace prebuilder
bcpointer to boundary conditions

Definition at line 99 of file spacePreBuilder.hh.

◆ ~SpaceHelper()

template<class F , class G >
virtual concepts::SpaceHelper< F, G >::~SpaceHelper ( )
inlinevirtual

Definition at line 104 of file spacePreBuilder.hh.

Member Function Documentation

◆ bc()

template<class F , class G >
const BoundaryConditions* concepts::SpaceHelper< F, G >::bc ( ) const
inline

Returns boundary conditions.

Definition at line 106 of file spacePreBuilder.hh.

◆ cc()

template<class F , class G >
const CellConditions* concepts::SpaceHelper< F, G >::cc ( ) const
inline

Returns cell conditions.

Definition at line 108 of file spacePreBuilder.hh.

◆ idx() [1/2]

◆ idx() [2/2]

◆ info()

template<class F , class G >
std::ostream & concepts::SpaceHelper< F, G >::info ( std::ostream &  os) const
protectedvirtual

◆ passive() [1/2]

template<class F , class G >
const concepts::Set<const concepts::Connector*> concepts::SpaceHelper< F, G >::passive ( ) const
inline

Definition at line 133 of file spacePreBuilder.hh.

◆ passive() [2/2]

template<class F , class G >
bool concepts::SpaceHelper< F, G >::passive ( const concepts::Connector cntr) const
inline

Returns if an entitiy of dimension dim is marked as passive.

Definition at line 126 of file spacePreBuilder.hh.

◆ prebuild()

template<class F , class G >
G& concepts::SpaceHelper< F, G >::prebuild ( )
inline

Returns space pre builder.

Definition at line 114 of file spacePreBuilder.hh.

◆ reset()

template<class F , class G >
virtual void concepts::SpaceHelper< F, G >::reset ( )
pure virtual

◆ set_bc()

template<class F , class G >
void concepts::SpaceHelper< F, G >::set_bc ( const BoundaryConditions bc)
inline

Reset boundary conditions to bc.

Definition at line 110 of file spacePreBuilder.hh.

◆ setPassive()

template<class F , class G >
void concepts::SpaceHelper< F, G >::setPassive ( const concepts::Connector cntr)
inline

Mark a connector as passive.

Definition at line 130 of file spacePreBuilder.hh.

◆ spcNo()

template<class F , class G >
virtual uint concepts::SpaceHelper< F, G >::spcNo ( ) const
inlinevirtual

Returns a number to distinguish between global indices on same topological entity.

Here 0, but meaning can come in derivated classes.

Reimplemented in concepts::SubspaceHelper< F, G >, concepts::SubspaceHelper< Real, hp2D::SpacePreBuilder >, and concepts::SubspaceHelper< F, hp2D::SpacePreBuilder >.

Definition at line 124 of file spacePreBuilder.hh.

Member Data Documentation

◆ bc_

template<class F , class G >
std::unique_ptr<const BoundaryConditions> concepts::SpaceHelper< F, G >::bc_
private

Boundary conditions.

Definition at line 142 of file spacePreBuilder.hh.

◆ cc_

template<class F , class G >
std::unique_ptr<const CellConditions> concepts::SpaceHelper< F, G >::cc_
private

Cell conditions.

Definition at line 144 of file spacePreBuilder.hh.

◆ passive_

template<class F , class G >
concepts::Set<const concepts::Connector*> concepts::SpaceHelper< F, G >::passive_
private

Set of passive connectors.

Definition at line 146 of file spacePreBuilder.hh.

◆ prebuild_

template<class F , class G >
G* concepts::SpaceHelper< F, G >::prebuild_
private

Space pre builder.

Definition at line 140 of file spacePreBuilder.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