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()

walberla::blockforest::BlockForest::BlockInformation::BlockInformation ( const BlockForest forest)
inline

Member Function Documentation

◆ active()

bool walberla::blockforest::BlockForest::BlockInformation::active ( ) const
inline

◆ clear()

void walberla::blockforest::BlockForest::BlockInformation::clear ( )
inlineprivate

◆ exists() [1/2]

bool walberla::blockforest::BlockForest::BlockInformation::exists ( const BlockID id) const
inline

◆ 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]

bool walberla::blockforest::BlockForest::BlockInformation::existsRemotely ( const BlockID id) const
inline

◆ existsRemotely() [2/2]

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

◆ 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]

bool walberla::blockforest::BlockForest::BlockInformation::getProcess ( uint_t process,
const BlockID id 
) const
inline

◆ 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()

bool walberla::blockforest::BlockForest::BlockInformation::rootBlockExists ( const uint_t  x,
const uint_t  y,
const uint_t  z 
) const
inline

◆ rootBlockExistsRemotely()

bool walberla::blockforest::BlockForest::BlockInformation::rootBlockExistsRemotely ( const uint_t  x,
const uint_t  y,
const uint_t  z 
) const
inline

Friends And Related Function Documentation

◆ BlockForest

friend class BlockForest
friend

Member Data Documentation

◆ forest_

const BlockForest& walberla::blockforest::BlockForest::BlockInformation::forest_
private

◆ nodes_

std::vector< shared_ptr< Node > > walberla::blockforest::BlockForest::BlockInformation::nodes_
private

The documentation for this class was generated from the following files: