|
waLBerla 7.2
|
Interface/base class for block IDs (unique identifiers for blocks)
Just as 'IBlock' serves as a base class for all blocks and 'BlockStorage' serves as a base class for all data structures that manage these blocks, 'IBlockID' serves as a base class for all block IDs. The single purpose of block IDs is to uniquely identify blocks within their corresponding block structure (see class 'BlockStorage').
#include <IBlockID.h>
Inheritance diagram for walberla::domain_decomposition::IBlockID:Public Types | |
| using | IDType = uint64_t |
| ID type which can be used as a key in a map. | |
Public Member Functions | |
| virtual | ~IBlockID ()=default |
| virtual bool | operator< (const IBlockID &rhs) const =0 |
| virtual bool | operator== (const IBlockID &rhs) const =0 |
| virtual bool | operator!= (const IBlockID &rhs) const =0 |
| virtual IDType | getID () const =0 |
| returns a somehow simplified ID which can be used in maps | |
| virtual std::ostream & | toStream (std::ostream &os) const =0 |
ID type which can be used as a key in a map.
|
virtualdefault |
|
pure virtual |
returns a somehow simplified ID which can be used in maps
Implemented in walberla::blockforest::BlockID.
|
pure virtual |
Implemented in walberla::blockforest::BlockID.
|
pure virtual |
Implemented in walberla::blockforest::BlockID.
|
pure virtual |
Implemented in walberla::blockforest::BlockID.
|
pure virtual |
Implemented in walberla::blockforest::BlockID.