walberla::mesh::ComplexGeometryBlockforestCreator Class Reference

#include <BlockForestInitialization.h>

Public Member Functions

 ComplexGeometryBlockforestCreator (const AABB &aabb)
 
 ComplexGeometryBlockforestCreator (const AABB &aabb, const blockforest::SetupBlockForest::RootBlockExclusionFunction &rootBlockExclusionFunction)
 
 ComplexGeometryBlockforestCreator (const AABB &aabb, const blockforest::SetupBlockForest::RootBlockExclusionFunction &rootBlockExclusionFunction, const blockforest::SetupBlockForest::BlockExclusionFunction &blockExclusionFunction)
 
void setRootBlockExclusionFunction (const blockforest::SetupBlockForest::RootBlockExclusionFunction &rootBlockExclusionFunction)
 
void setBlockExclusionFunction (const blockforest::SetupBlockForest::BlockExclusionFunction &blockExclusionFunction)
 
void setWorkloadMemorySUIDAssignmentFunction (const blockforest::SetupBlockForest::WorkloadMemorySUIDAssignmentFunction &workloadMemorySUIDAssignmentFunction)
 
void setTargetProcessAssignmentFunction (const blockforest::SetupBlockForest::TargetProcessAssignmentFunction &targetProcessAssignmentFunction)
 
void setProcessMemoryLimit (const real_t processMemoryLimit)
 
void setMaxBlockSkewness (const real_t maxBlockSkewness)
 
void setPeriodicity (const Vector3< bool > &periodicity)
 
shared_ptr< SetupBlockForestcreateSetupBlockForest (uint_t targetNumRootBlocks, uint_t numProcesses=uint_c(MPIManager::instance() ->numProcesses())) const
 
shared_ptr< SetupBlockForestcreateSetupBlockForest (const Vector3< real_t > &blockSize, uint_t numProcesses=uint_c(MPIManager::instance() ->numProcesses())) const
 
shared_ptr< BlockForestcreateBlockForest (uint_t targetNumRootBlocks) const
 
shared_ptr< BlockForestcreateBlockForest (const Vector3< real_t > &blockSize) const
 

Private Member Functions

uint_t findNumBlocks (const Vector3< uint_t > &numRootBlocks3D) const
 

Private Attributes

AABB aabb_
 
uint_t maxIterations_
 
real_t acceptableRelativeError_
 
real_t maxBlockSkewness_
 
real_t processMemoryLimit_
 
Vector3< bool > periodicity_
 
blockforest::SetupBlockForest::RootBlockExclusionFunction rootBlockExclusionFunction_
 
blockforest::SetupBlockForest::BlockExclusionFunction blockExclusionFunction_
 
blockforest::SetupBlockForest::WorkloadMemorySUIDAssignmentFunction workloadMemorySUIDAssignmentFunction_
 
blockforest::SetupBlockForest::TargetProcessAssignmentFunction targetProcessAssignmentFunction_
 

Constructor & Destructor Documentation

◆ ComplexGeometryBlockforestCreator() [1/3]

walberla::mesh::ComplexGeometryBlockforestCreator::ComplexGeometryBlockforestCreator ( const AABB &  aabb)

◆ ComplexGeometryBlockforestCreator() [2/3]

walberla::mesh::ComplexGeometryBlockforestCreator::ComplexGeometryBlockforestCreator ( const AABB &  aabb,
const blockforest::SetupBlockForest::RootBlockExclusionFunction rootBlockExclusionFunction 
)

◆ ComplexGeometryBlockforestCreator() [3/3]

walberla::mesh::ComplexGeometryBlockforestCreator::ComplexGeometryBlockforestCreator ( const AABB &  aabb,
const blockforest::SetupBlockForest::RootBlockExclusionFunction rootBlockExclusionFunction,
const blockforest::SetupBlockForest::BlockExclusionFunction blockExclusionFunction 
)

Member Function Documentation

◆ createBlockForest() [1/2]

shared_ptr< BlockForest > walberla::mesh::ComplexGeometryBlockforestCreator::createBlockForest ( const Vector3< real_t > &  blockSize) const

◆ createBlockForest() [2/2]

shared_ptr< BlockForest > walberla::mesh::ComplexGeometryBlockforestCreator::createBlockForest ( uint_t  targetNumRootBlocks) const

◆ createSetupBlockForest() [1/2]

shared_ptr< SetupBlockForest > walberla::mesh::ComplexGeometryBlockforestCreator::createSetupBlockForest ( const Vector3< real_t > &  blockSize,
uint_t  numProcesses = uint_c( MPIManager::instance()->numProcesses() ) 
) const

◆ createSetupBlockForest() [2/2]

shared_ptr< SetupBlockForest > walberla::mesh::ComplexGeometryBlockforestCreator::createSetupBlockForest ( uint_t  targetNumRootBlocks,
uint_t  numProcesses = uint_c( MPIManager::instance()->numProcesses() ) 
) const

◆ findNumBlocks()

uint_t walberla::mesh::ComplexGeometryBlockforestCreator::findNumBlocks ( const Vector3< uint_t > &  numRootBlocks3D) const
private

◆ setBlockExclusionFunction()

void walberla::mesh::ComplexGeometryBlockforestCreator::setBlockExclusionFunction ( const blockforest::SetupBlockForest::BlockExclusionFunction blockExclusionFunction)
inline

◆ setMaxBlockSkewness()

void walberla::mesh::ComplexGeometryBlockforestCreator::setMaxBlockSkewness ( const real_t  maxBlockSkewness)
inline

◆ setPeriodicity()

void walberla::mesh::ComplexGeometryBlockforestCreator::setPeriodicity ( const Vector3< bool > &  periodicity)
inline

◆ setProcessMemoryLimit()

void walberla::mesh::ComplexGeometryBlockforestCreator::setProcessMemoryLimit ( const real_t  processMemoryLimit)
inline

◆ setRootBlockExclusionFunction()

void walberla::mesh::ComplexGeometryBlockforestCreator::setRootBlockExclusionFunction ( const blockforest::SetupBlockForest::RootBlockExclusionFunction rootBlockExclusionFunction)
inline

◆ setTargetProcessAssignmentFunction()

void walberla::mesh::ComplexGeometryBlockforestCreator::setTargetProcessAssignmentFunction ( const blockforest::SetupBlockForest::TargetProcessAssignmentFunction targetProcessAssignmentFunction)
inline

◆ setWorkloadMemorySUIDAssignmentFunction()

void walberla::mesh::ComplexGeometryBlockforestCreator::setWorkloadMemorySUIDAssignmentFunction ( const blockforest::SetupBlockForest::WorkloadMemorySUIDAssignmentFunction workloadMemorySUIDAssignmentFunction)
inline

Member Data Documentation

◆ aabb_

AABB walberla::mesh::ComplexGeometryBlockforestCreator::aabb_
private

◆ acceptableRelativeError_

real_t walberla::mesh::ComplexGeometryBlockforestCreator::acceptableRelativeError_
private

◆ blockExclusionFunction_

blockforest::SetupBlockForest::BlockExclusionFunction walberla::mesh::ComplexGeometryBlockforestCreator::blockExclusionFunction_
private

◆ maxBlockSkewness_

real_t walberla::mesh::ComplexGeometryBlockforestCreator::maxBlockSkewness_
private

◆ maxIterations_

uint_t walberla::mesh::ComplexGeometryBlockforestCreator::maxIterations_
private

◆ periodicity_

Vector3< bool > walberla::mesh::ComplexGeometryBlockforestCreator::periodicity_
private

◆ processMemoryLimit_

real_t walberla::mesh::ComplexGeometryBlockforestCreator::processMemoryLimit_
private

◆ rootBlockExclusionFunction_

blockforest::SetupBlockForest::RootBlockExclusionFunction walberla::mesh::ComplexGeometryBlockforestCreator::rootBlockExclusionFunction_
private

◆ targetProcessAssignmentFunction_

blockforest::SetupBlockForest::TargetProcessAssignmentFunction walberla::mesh::ComplexGeometryBlockforestCreator::targetProcessAssignmentFunction_
private

◆ workloadMemorySUIDAssignmentFunction_

blockforest::SetupBlockForest::WorkloadMemorySUIDAssignmentFunction walberla::mesh::ComplexGeometryBlockforestCreator::workloadMemorySUIDAssignmentFunction_
private

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