|
waLBerla 7.2
|
#include <BlockID.h>
Inheritance diagram for walberla::blockforest::BlockID:Public Member Functions | |
| BlockID () | |
| BlockID (const BlockID &id) | |
| BlockID (const uint_t treeIndex, const uint_t treeIdMarker) | |
| BlockID (const BlockID &id, const uint_t branchId) | |
| BlockID (const std::vector< uint8_t > &array, const uint_t offset, const uint_t bytes) | |
| void | init (const uint_t treeIndex, const uint_t treeIdMarker) |
| void | clear () |
| uint_t | getUsedBits () const |
| uint_t | getUsedBytes () const |
| uint_t | getTreeId () const |
| uint_t | getTreeIndex () const |
| BlockID | getSuperId () const |
| BlockID | getFatherId () const |
| void | appendBranchId (const uint_t branchId) |
| void | removeBranchId () |
| uint_t | getBranchId () const |
| bool | operator< (const IBlockID &rhs) const |
| bool | operator== (const IBlockID &rhs) const |
| bool | operator!= (const IBlockID &rhs) const |
| IDType | getID () const |
| returns a somehow simplified ID which can be used in maps | |
| std::ostream & | toStream (std::ostream &os) const |
| void | toByteArray (std::vector< uint8_t > &array, const uint_t offset, const uint_t bytes) const |
| template<typename Buffer_T > | |
| void | toBuffer (Buffer_T &buffer) const |
| template<typename Buffer_T > | |
| void | fromBuffer (Buffer_T &buffer) |
Public Member Functions inherited from walberla::domain_decomposition::IBlockID | |
| virtual | ~IBlockID ()=default |
Private Attributes | |
| uint_t | usedBits_ |
| std::vector< uint_t > | blocks_ |
Static Private Attributes | |
| static const uint_t | SHIFT = math::UINT_BITS - 3 |
Additional Inherited Members | |
Public Types inherited from walberla::domain_decomposition::IBlockID | |
| using | IDType = uint64_t |
| ID type which can be used as a key in a map. | |
|
inline |
|
inline |
|
inline |
| walberla::blockforest::BlockID::BlockID | ( | const std::vector< uint8_t > & | array, |
| const uint_t | offset, | ||
| const uint_t | bytes ) |
| void walberla::blockforest::BlockID::appendBranchId | ( | const uint_t | branchId | ) |
|
inline |
| void walberla::blockforest::BlockID::fromBuffer | ( | Buffer_T & | buffer | ) |
|
inline |
|
inline |
|
inlinevirtual |
returns a somehow simplified ID which can be used in maps
Implements walberla::domain_decomposition::IBlockID.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Implements walberla::domain_decomposition::IBlockID.
|
inlinevirtual |
Implements walberla::domain_decomposition::IBlockID.
|
inlinevirtual |
Implements walberla::domain_decomposition::IBlockID.
| void walberla::blockforest::BlockID::removeBranchId | ( | ) |
| void walberla::blockforest::BlockID::toBuffer | ( | Buffer_T & | buffer | ) | const |
| void walberla::blockforest::BlockID::toByteArray | ( | std::vector< uint8_t > & | array, |
| const uint_t | offset, | ||
| const uint_t | bytes ) const |
|
inlinevirtual |
Implements walberla::domain_decomposition::IBlockID.
|
private |
|
staticprivate |
|
private |