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

◆ GlobalBodyPresenceLevelDetermination()

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

◆ checkForPartialOverlapWithGlobalBodies()

bool walberla::pe_coupling::amr::GlobalBodyPresenceLevelDetermination::checkForPartialOverlapWithGlobalBodies ( const AABB &  box)
private

◆ operator()()

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

◆ blockExtensionLength_

real_t walberla::pe_coupling::amr::GlobalBodyPresenceLevelDetermination::blockExtensionLength_
private

◆ finestLevel_

uint_t walberla::pe_coupling::amr::GlobalBodyPresenceLevelDetermination::finestLevel_
private

◆ globalBodySelectorFct_

std::function<bool(pe::BodyID)> walberla::pe_coupling::amr::GlobalBodyPresenceLevelDetermination::globalBodySelectorFct_
private

◆ globalBodyStorage_

shared_ptr<pe::BodyStorage> walberla::pe_coupling::amr::GlobalBodyPresenceLevelDetermination::globalBodyStorage_
private

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