waLBerla 7.3
Loading...
Searching...
No Matches
walberla::blockforest::BlockForest::BlockInformation Class Reference

#include <BlockForest.h>

Classes

struct  Node

Public Member Functions

 BlockInformation (const BlockForest &forest)
bool active () const
void getAllBlocks (std::vector< shared_ptr< IBlockID > > &blocks) const
bool getProcess (uint_t &process, const real_t x, const real_t y, const real_t z) const
bool getProcess (uint_t &process, const BlockID &id) const
bool getState (Set< SUID > &state, const real_t x, const real_t y, const real_t z) const
bool getState (Set< SUID > &state, const BlockID &id) const
bool exists (const real_t x, const real_t y, const real_t z) const
bool exists (const BlockID &id) const
bool existsRemotely (const real_t x, const real_t y, const real_t z) const
bool existsRemotely (const BlockID &id) const
bool getId (BlockID &id, const real_t x, const real_t y, const real_t z) const
bool getRootBlockProcess (uint_t &process, const uint_t x, const uint_t y, const uint_t z) const
bool getRootBlockState (Set< SUID > &state, const uint_t x, const uint_t y, const uint_t z) const
bool rootBlockExists (const uint_t x, const uint_t y, const uint_t z) const
bool rootBlockExistsRemotely (const uint_t x, const uint_t y, const uint_t z) const

Private Member Functions

void clear ()
bool operator== (const BlockInformation &rhs) const
bool operator!= (const BlockInformation &rhs) const
const NodegetNode (const real_t x, const real_t y, const real_t z) const
const NodegetNode (const BlockID &id) const
const NodegetRootNode (const uint_t x, const uint_t y, const uint_t z) const

Private Attributes

const BlockForestforest_
std::vector< shared_ptr< Node > > nodes_

Friends

class BlockForest

Constructor & Destructor Documentation

◆ BlockInformation()

Member Function Documentation

◆ active()

◆ clear()

◆ exists() [1/2]

◆ exists() [2/2]

bool walberla::blockforest::BlockForest::BlockInformation::exists ( const real_t x,
const real_t y,
const real_t z ) const
inline

◆ existsRemotely() [1/2]

◆ existsRemotely() [2/2]

◆ getAllBlocks()

void walberla::blockforest::BlockForest::BlockInformation::getAllBlocks ( std::vector< shared_ptr< IBlockID > > & blocks) const

◆ getId()

bool walberla::blockforest::BlockForest::BlockInformation::getId ( BlockID & id,
const real_t x,
const real_t y,
const real_t z ) const

◆ getNode() [1/2]

const BlockForest::BlockInformation::Node * walberla::blockforest::BlockForest::BlockInformation::getNode ( const BlockID & id) const
private

◆ getNode() [2/2]

const BlockForest::BlockInformation::Node * walberla::blockforest::BlockForest::BlockInformation::getNode ( const real_t x,
const real_t y,
const real_t z ) const
private

◆ getProcess() [1/2]

◆ getProcess() [2/2]

bool walberla::blockforest::BlockForest::BlockInformation::getProcess ( uint_t & process,
const real_t x,
const real_t y,
const real_t z ) const
inline

◆ getRootBlockProcess()

bool walberla::blockforest::BlockForest::BlockInformation::getRootBlockProcess ( uint_t & process,
const uint_t x,
const uint_t y,
const uint_t z ) const
inline

◆ getRootBlockState()

bool walberla::blockforest::BlockForest::BlockInformation::getRootBlockState ( Set< SUID > & state,
const uint_t x,
const uint_t y,
const uint_t z ) const
inline

◆ getRootNode()

const Node * walberla::blockforest::BlockForest::BlockInformation::getRootNode ( const uint_t x,
const uint_t y,
const uint_t z ) const
inlineprivate

◆ getState() [1/2]

bool walberla::blockforest::BlockForest::BlockInformation::getState ( Set< SUID > & state,
const BlockID & id ) const
inline

◆ getState() [2/2]

bool walberla::blockforest::BlockForest::BlockInformation::getState ( Set< SUID > & state,
const real_t x,
const real_t y,
const real_t z ) const
inline

◆ operator!=()

bool walberla::blockforest::BlockForest::BlockInformation::operator!= ( const BlockInformation & rhs) const
inlineprivate

◆ operator==()

bool walberla::blockforest::BlockForest::BlockInformation::operator== ( const BlockInformation & rhs) const
private

◆ rootBlockExists()

◆ rootBlockExistsRemotely()

◆ BlockForest

friend class BlockForest
friend

Member Data Documentation

◆ forest_

◆ nodes_


The documentation for this class was generated from the following files:
  • /builds/administration/walberla-website/walberla/src/blockforest/BlockForest.h
  • /builds/administration/walberla-website/walberla/src/blockforest/BlockForest.cpp