concepts::SubspaceHelper< F, G > Class Template Reference
#include <spacePreBuilder.hh>
Public Member Functions | |
const BoundaryConditions * | bc () const |
Returns boundary conditions. More... | |
const CellConditions * | cc () const |
Returns cell conditions. More... | |
virtual uint & | idx () |
Returns the next index for the space. More... | |
virtual const uint & | idx () const |
uint | offset () const |
Returns the offset. More... | |
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. More... | |
G & | prebuild () |
Returns space pre builder. More... | |
virtual void | reset () |
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... | |
virtual uint | spcNo () const |
Returns a number to distinguish between global indices on same topological entity. More... | |
SubspaceHelper (G &prebuild, uint spcNo, const BoundaryConditions *bc=0, const CellConditions *cc=0, uint *const offset=0, uint *const idx=0) | |
Constructor. More... | |
virtual | ~SubspaceHelper () |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. More... | |
Private Attributes | |
std::unique_ptr< const BoundaryConditions > | bc_ |
Boundary conditions. More... | |
std::unique_ptr< const CellConditions > | cc_ |
Cell conditions. More... | |
uint *const | idx_ |
Last index of the space, is offset plus dimension. More... | |
uint *const | offset_ |
Pointer to dimension of the previous space. More... | |
bool | ownIndex_ |
If index is created here. More... | |
concepts::Set< const concepts::Connector * > | passive_ |
Set of passive connectors. More... | |
G * | prebuild_ |
Space pre builder. More... | |
uint | spcNo_ |
Detailed Description
template<class F, class G>
class concepts::SubspaceHelper< F, G >
Definition at line 163 of file spacePreBuilder.hh.
Constructor & Destructor Documentation
◆ SubspaceHelper()
|
inline |
Constructor.
- Parameters
-
prebuild space prebuilder itself (not deleted in destructor) spcNo Number to distinguish between global indices on same topological entity. bc pointer to boundary conditions offset pointer to offset idx pointer to index, e.g. for domain decomposition
Definition at line 174 of file spacePreBuilder.hh.
◆ ~SubspaceHelper()
|
inlinevirtual |
Definition at line 181 of file spacePreBuilder.hh.
Member Function Documentation
◆ bc()
|
inlineinherited |
Returns boundary conditions.
Definition at line 106 of file spacePreBuilder.hh.
◆ cc()
|
inlineinherited |
Returns cell conditions.
Definition at line 108 of file spacePreBuilder.hh.
◆ idx() [1/2]
|
inlinevirtual |
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 191 of file spacePreBuilder.hh.
◆ idx() [2/2]
|
inlinevirtual |
Implements concepts::SpaceHelper< F, G >.
Definition at line 194 of file spacePreBuilder.hh.
◆ info()
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::SpaceHelper< F, G >.
Definition at line 216 of file spacePreBuilder.hh.
◆ offset()
|
inline |
Returns the offset.
Definition at line 201 of file spacePreBuilder.hh.
◆ ownIndex()
|
inline |
Definition at line 198 of file spacePreBuilder.hh.
◆ passive() [1/2]
|
inlineinherited |
Definition at line 133 of file spacePreBuilder.hh.
◆ passive() [2/2]
|
inlineinherited |
Returns if an entitiy of dimension dim
is marked as passive.
Definition at line 126 of file spacePreBuilder.hh.
◆ prebuild()
|
inlineinherited |
Returns space pre builder.
Definition at line 114 of file spacePreBuilder.hh.
◆ reset()
|
inlinevirtual |
Reset the index counter.
Implements concepts::SpaceHelper< F, G >.
Definition at line 185 of file spacePreBuilder.hh.
◆ set_bc()
|
inlineinherited |
Reset boundary conditions to bc
.
Definition at line 110 of file spacePreBuilder.hh.
◆ setPassive()
|
inlineinherited |
Mark a connector as passive.
Definition at line 130 of file spacePreBuilder.hh.
◆ spcNo()
|
inlinevirtual |
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 199 of file spacePreBuilder.hh.
Member Data Documentation
◆ bc_
|
privateinherited |
Boundary conditions.
Definition at line 142 of file spacePreBuilder.hh.
◆ cc_
|
privateinherited |
Cell conditions.
Definition at line 144 of file spacePreBuilder.hh.
◆ idx_
|
private |
Last index of the space, is offset plus dimension.
Definition at line 211 of file spacePreBuilder.hh.
◆ offset_
|
private |
Pointer to dimension of the previous space.
Definition at line 207 of file spacePreBuilder.hh.
◆ ownIndex_
|
private |
If index is created here.
Definition at line 209 of file spacePreBuilder.hh.
◆ passive_
|
privateinherited |
Set of passive connectors.
Definition at line 146 of file spacePreBuilder.hh.
◆ prebuild_
|
privateinherited |
Space pre builder.
Definition at line 140 of file spacePreBuilder.hh.
◆ spcNo_
|
private |
Definition at line 205 of file spacePreBuilder.hh.
The documentation for this class was generated from the following file:
- space/spacePreBuilder.hh