|
| Block (BlockForest &forest, const SetupBlock *const block) |
|
| Block (BlockForest &forest, const BlockID &id, const AABB &aabb, const Set< SUID > &state, const uint_t level, const BlockReconstruction::NeighborhoodReconstruction< Block > &neighborhoodReconstruction, const std::vector< BlockReconstruction::NeighborhoodReconstructionBlock > &neighbors) |
|
| Block (BlockForest &forest, const PhantomBlock &phantom) |
|
| Block (BlockForest &forest, const BlockID &id, const AABB &aabb, const uint_t level, mpi::RecvBuffer &buffer, const std::function< uint_t(const uint_t) > &processMapping=std::function< uint_t(const uint_t) >()) |
|
| ~Block () override=default |
|
void | toBuffer (mpi::SendBuffer &buffer) const |
|
const BlockForest & | getForest () const |
|
BlockForest & | getForest () |
|
const BlockID & | getId () const override |
|
uint_t | getProcess () const |
|
uint_t | getLevel () const |
|
void | clearNeighborhoodSection (const uint_t index) |
|
const std::vector< NeighborBlock * > & | getNeighborhoodSection (const uint_t index) const |
|
uint_t | getNeighborhoodSectionSize (const uint_t index) const |
|
void | addNeighbor (const uint_t sectionIndex, const uint_t neighborIndex) |
|
const NeighborBlock & | getNeighbor (const uint_t sectionIndex, const uint_t neighborIndex) const |
|
const BlockID & | getNeighborId (const uint_t sectionIndex, const uint_t neighborIndex) const |
|
uint_t | getNeighborProcess (const uint_t sectionIndex, const uint_t neighborIndex) const |
|
bool | neighborExistsLocally (const uint_t sectionIndex, const uint_t neighborIndex) const |
|
bool | neighborExistsRemotely (const uint_t sectionIndex, const uint_t neighborIndex) const |
|
const Set< SUID > & | getNeighborState (const uint_t sectionIndex, const uint_t neighborIndex) const |
|
const AABB & | getNeighborAABB (const uint_t sectionIndex, const uint_t neighborIndex) const |
|
bool | neighborhoodSectionHasBlocks (const uint_t sectionIndex) const |
|
bool | neighborhoodSectionHasSmallerBlocks (const uint_t sectionIndex) const |
|
bool | neighborhoodSectionHasEquallySizedBlock (const uint_t sectionIndex) const |
|
bool | neighborhoodSectionHasLargerBlock (const uint_t sectionIndex) const |
|
void | clearNeighborhood () |
|
const std::vector< NeighborBlock > & | getNeighborhood () const |
|
uint_t | getNeighborhoodSize () const |
|
void | addNeighbor (const BlockID &id, const uint_t process, const Set< SUID > &state) |
|
const NeighborBlock & | getNeighbor (const uint_t index) const |
|
const BlockID & | getNeighborId (const uint_t index) const |
|
uint_t | getNeighborProcess (const uint_t index) const |
|
bool | neighborExistsLocally (const uint_t index) const |
|
bool | neighborExistsRemotely (const uint_t index) const |
|
const Set< SUID > & | getNeighborState (const uint_t index) const |
|
const AABB & | getNeighborAABB (const uint_t index) const |
|
void | resetNeighborhood (const PhantomBlock &phantom) |
|
bool | targetBlockHasTheSameSize () const |
|
bool | targetBlockIsLarger () const |
|
bool | targetBlockIsSmaller () const |
|
uint_t | getTargetLevel () const |
|
void | setTargetLevel (const uint_t tl) |
|
const std::vector< uint_t > & | getTargetProcess () const |
|
void | clearTargetProcess () |
|
void | addTargetProcess (const uint_t process) |
|
void | setTargetProcess (const uint_t index, const uint_t process) |
|
Public Member Functions inherited from walberla::domain_decomposition::IBlock |
bool | operator== (const IBlock &rhs) const |
| The following members are not used for checking if two IBlock objects are equal: storage_ & storageIndex_. More...
|
|
bool | operator!= (const IBlock &rhs) const |
|
const Set< SUID > & | getState () const |
|
void | setState (const Set< SUID > &state) |
|
void | addState (const Set< SUID > &state) |
|
void | addState (const SUID &state) |
|
void | clearState () |
|
const AABB & | getAABB () const |
|
bool | isBlockDataAllocated (const ConstBlockDataID &index) const |
| Returns true if block data is allocated on this block at index "index". More...
|
|
template<typename T > |
const T * | getData (const ConstBlockDataID &index) const |
| For documentation of this function see "const T* IBlock::getData( const BlockDataID index ) const". More...
|
|
template<typename T > |
const T * | getData (const BlockDataID &index) const |
| Function for retrieving data - data that was previously added by the governing block storage data structure class (see class 'BlockStorage') via block data initialization functions. More...
|
|
template<typename T > |
T * | getData (const BlockDataID &index) |
| For documentation of this function see "const T* IBlock::getData( const BlockDataID index ) const". More...
|
|
void | deleteData (const BlockDataID &index) |
| Function for removing all data that corresponds to block data ID 'index'. More...
|
|
template<typename T > |
bool | isDataOfType (const ConstBlockDataID &index) const |
| Returns true if and only if the data stored at position "index" is of type T. More...
|
|
template<typename T > |
bool | isDataClassOrSubclassOf (const ConstBlockDataID &index) const |
| Returns true if the data stored at position "index" is of type T or if it is a subclass of T. More...
|
|
template<typename T > |
bool | isDataSubclassOf (const ConstBlockDataID &index) const |
| Returns true if and only if the type of the data stored at position "index" is a subclass of T. More...
|
|
bool | isDataOfSameType (const ConstBlockDataID &indexA, const ConstBlockDataID &indexB) const |
| Returns true if the type of the data stored at position "indexA" is equal to the type of the data stored at position "indexB". More...
|
|
template<typename T > |
const T * | uncheckedFastGetData (const ConstBlockDataID &index) const |
| For documentation of this function see "const T* IBlock::uncheckedFastGetData( const BlockDataID index ) const". More...
|
|
template<typename T > |
const T * | uncheckedFastGetData (const BlockDataID &index) const |
| Identical to "getData", however only works if type T is identical (!) to the type that was once added. More...
|
|
template<typename T > |
T * | uncheckedFastGetData (const BlockDataID &index) |
| For documentation of this function see "const T* IBlock::uncheckedFastGetData( const BlockDataID index ) const". More...
|
|