walberla::pe_coupling::amr::GlobalBodyPresenceLevelDetermination Class Reference

#include <GlobalBodyPresenceLevelDetermination.h>

Public Member Functions

 GlobalBodyPresenceLevelDetermination (const shared_ptr< pe::BodyStorage > &globalBodyStorage, uint_t finestLevel, real_t blockExtensionLength=real_t(0), const std::function< bool(pe::BodyID)> &globalBodySelectorFct=selectAllBodies)
 
void operator() (std::vector< std::pair< const Block *, uint_t > > &minTargetLevels, std::vector< const Block * > &, const BlockForest &)
 

Private Member Functions

bool checkForPartialOverlapWithGlobalBodies (const AABB &box)
 

Private Attributes

shared_ptr< pe::BodyStorageglobalBodyStorage_
 
uint_t finestLevel_
 
real_t blockExtensionLength_
 
std::function< bool(pe::BodyID)> globalBodySelectorFct_
 

Constructor & Destructor Documentation

walberla::pe_coupling::amr::GlobalBodyPresenceLevelDetermination::GlobalBodyPresenceLevelDetermination ( const shared_ptr< pe::BodyStorage > &  globalBodyStorage,
uint_t  finestLevel,
real_t  blockExtensionLength = real_t(0),
const std::function< bool(pe::BodyID)> &  globalBodySelectorFct = selectAllBodies 
)
inline

Member Function Documentation

bool walberla::pe_coupling::amr::GlobalBodyPresenceLevelDetermination::checkForPartialOverlapWithGlobalBodies ( const AABB &  box)
private
void walberla::pe_coupling::amr::GlobalBodyPresenceLevelDetermination::operator() ( std::vector< std::pair< const Block *, uint_t > > &  minTargetLevels,
std::vector< const Block * > &  ,
const BlockForest &   
)

Member Data Documentation

real_t walberla::pe_coupling::amr::GlobalBodyPresenceLevelDetermination::blockExtensionLength_
private
uint_t walberla::pe_coupling::amr::GlobalBodyPresenceLevelDetermination::finestLevel_
private
std::function<bool(pe::BodyID)> walberla::pe_coupling::amr::GlobalBodyPresenceLevelDetermination::globalBodySelectorFct_
private
shared_ptr<pe::BodyStorage> walberla::pe_coupling::amr::GlobalBodyPresenceLevelDetermination::globalBodyStorage_
private

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