Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Member Functions | Protected Member Functions | Private Attributes
concepts::SubspaceHelper< F, G > Class Template Reference

#include <spacePreBuilder.hh>

Inheritance diagram for concepts::SubspaceHelper< F, G >:
Inheritance graph
[legend]
Collaboration diagram for concepts::SubspaceHelper< F, G >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

const BoundaryConditionsbc () const
 Returns boundary conditions.
const CellConditionscc () const
 Returns cell conditions.
virtual const uint & idx () const
virtual uint & idx ()
 Returns the next index for the space.
uint offset () const
 Returns the offset.
bool ownIndex () const
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.
G & prebuild ()
 Returns space pre builder.
virtual void reset ()
 Reset the index counter.
void setPassive (const concepts::Connector &cntr)
 Mark a connector as passive.
virtual uint spcNo () const
 Returns a number to distinguish between global indices on same topological entity.
 SubspaceHelper (G &prebuild, uint spcNo, const BoundaryConditions *bc=0, const CellConditions *cc=0, uint *const offset=0, uint *const idx=0)
 Constructor.
virtual ~SubspaceHelper ()

Protected Member Functions

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

Private Attributes

uint *const idx_
 Last index of the space, is offset plus dimension.
uint *const offset_
 Pointer to dimension of the previous space.
bool ownIndex_
 If index is created here.
uint spcNo_

Detailed Description

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

Definition at line 156 of file spacePreBuilder.hh.


Constructor & Destructor Documentation

template<class F, class G>
concepts::SubspaceHelper< F, G >::SubspaceHelper ( G &  prebuild,
uint  spcNo,
const BoundaryConditions bc = 0,
const CellConditions cc = 0,
uint *const  offset = 0,
uint *const  idx = 0 
) [inline]

Constructor.

Parameters:
prebuildspace prebuilder itself (not deleted in destructor)
spcNoNumber to distinguish between global indices on same topological entity.
bcpointer to boundary conditions
offsetpointer to offset
idxpointer to index, e.g. for domain decomposition

Definition at line 167 of file spacePreBuilder.hh.

template<class F, class G>
virtual concepts::SubspaceHelper< F, G >::~SubspaceHelper ( ) [inline, virtual]

Definition at line 174 of file spacePreBuilder.hh.


Member Function Documentation

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

Returns boundary conditions.

Definition at line 103 of file spacePreBuilder.hh.

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

Returns cell conditions.

Definition at line 105 of file spacePreBuilder.hh.

template<class F, class G>
virtual uint& concepts::SubspaceHelper< F, G >::idx ( ) [inline, virtual]

Returns the next index for the space.

It can be used as offset for the next subspace. Because it returns the reference, then if the subspace is built, the offset of the next subspace is automatically right.

Implements concepts::SpaceHelper< F, G >.

Definition at line 184 of file spacePreBuilder.hh.

template<class F, class G>
virtual const uint& concepts::SubspaceHelper< F, G >::idx ( ) const [inline, virtual]

Implements concepts::SpaceHelper< F, G >.

Definition at line 187 of file spacePreBuilder.hh.

template<class F , class G >
std::ostream & concepts::SubspaceHelper< F, G >::info ( std::ostream &  os) const [protected, virtual]

Returns information in an output stream.

Reimplemented from concepts::SpaceHelper< F, G >.

Definition at line 209 of file spacePreBuilder.hh.

template<class F, class G>
uint concepts::SubspaceHelper< F, G >::offset ( ) const [inline]

Returns the offset.

Definition at line 194 of file spacePreBuilder.hh.

template<class F, class G>
bool concepts::SubspaceHelper< F, G >::ownIndex ( ) const [inline]

Definition at line 191 of file spacePreBuilder.hh.

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

Definition at line 126 of file spacePreBuilder.hh.

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

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

Definition at line 119 of file spacePreBuilder.hh.

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

Returns space pre builder.

Definition at line 107 of file spacePreBuilder.hh.

template<class F, class G>
virtual void concepts::SubspaceHelper< F, G >::reset ( ) [inline, virtual]

Reset the index counter.

Implements concepts::SpaceHelper< F, G >.

Definition at line 178 of file spacePreBuilder.hh.

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

Mark a connector as passive.

Definition at line 123 of file spacePreBuilder.hh.

template<class F, class G>
virtual uint concepts::SubspaceHelper< F, G >::spcNo ( ) const [inline, virtual]

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

Here 0, but meaning can come in derivated classes.

Reimplemented from concepts::SpaceHelper< F, G >.

Definition at line 192 of file spacePreBuilder.hh.


Member Data Documentation

template<class F, class G>
uint* const concepts::SubspaceHelper< F, G >::idx_ [private]

Last index of the space, is offset plus dimension.

Definition at line 204 of file spacePreBuilder.hh.

template<class F, class G>
uint* const concepts::SubspaceHelper< F, G >::offset_ [private]

Pointer to dimension of the previous space.

Definition at line 200 of file spacePreBuilder.hh.

template<class F, class G>
bool concepts::SubspaceHelper< F, G >::ownIndex_ [private]

If index is created here.

Definition at line 202 of file spacePreBuilder.hh.

template<class F, class G>
uint concepts::SubspaceHelper< F, G >::spcNo_ [private]

Definition at line 198 of file spacePreBuilder.hh.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)