walberla::blockforest::AABBRefinementSelection Class Reference

#include <AABBRefinementSelection.h>

Public Member Functions

 AABBRefinementSelection ()=default
 
 AABBRefinementSelection (const Config::BlockHandle &configBlock)
 
void addAABB (const math::AABB &aabb, const uint_t level)
 
void addRegion (const math::AABB &region, const uint_t level)
 
void operator() (SetupBlockForest &forest)
 
void operator() (std::vector< std::pair< const Block *, uint_t > > &minTargetLevels, std::vector< const Block * > &, const BlockForest &forest)
 

Private Member Functions

std::vector< std::pair< math::AABB, uint_t > > transformRegionsToAABBs (const math::AABB &simulationDomain) const
 

Private Attributes

std::vector< std::pair< math::AABB, uint_t > > aabbs_
 
std::vector< std::pair< math::AABB, uint_t > > regions_
 

Constructor & Destructor Documentation

◆ AABBRefinementSelection() [1/2]

walberla::blockforest::AABBRefinementSelection::AABBRefinementSelection ( )
default

◆ AABBRefinementSelection() [2/2]

walberla::blockforest::AABBRefinementSelection::AABBRefinementSelection ( const Config::BlockHandle configBlock)
inline

Member Function Documentation

◆ addAABB()

void walberla::blockforest::AABBRefinementSelection::addAABB ( const math::AABB aabb,
const uint_t  level 
)
inline

◆ addRegion()

void walberla::blockforest::AABBRefinementSelection::addRegion ( const math::AABB region,
const uint_t  level 
)
inline

◆ operator()() [1/2]

void walberla::blockforest::AABBRefinementSelection::operator() ( SetupBlockForest forest)
inline

◆ operator()() [2/2]

void walberla::blockforest::AABBRefinementSelection::operator() ( std::vector< std::pair< const Block *, uint_t > > &  minTargetLevels,
std::vector< const Block * > &  ,
const BlockForest forest 
)
inline

◆ transformRegionsToAABBs()

std::vector< std::pair< math::AABB, uint_t > > walberla::blockforest::AABBRefinementSelection::transformRegionsToAABBs ( const math::AABB simulationDomain) const
inlineprivate

Member Data Documentation

◆ aabbs_

std::vector< std::pair< math::AABB, uint_t > > walberla::blockforest::AABBRefinementSelection::aabbs_
private

◆ regions_

std::vector< std::pair< math::AABB, uint_t > > walberla::blockforest::AABBRefinementSelection::regions_
private

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