walberla::mesh::ComplexGeometryStructuredBlockforestCreator Class Reference

#include <BlockForestInitialization.h>

Public Member Functions

 ComplexGeometryStructuredBlockforestCreator (const AABB &aabb, const Vector3< real_t > &cellSize)
 
 ComplexGeometryStructuredBlockforestCreator (const AABB &aabb, const Vector3< real_t > &cellSize, const blockforest::SetupBlockForest::RootBlockExclusionFunction &rootBlockExclusionFunction)
 
 ComplexGeometryStructuredBlockforestCreator (const AABB &aabb, const Vector3< real_t > &cellSize, const blockforest::SetupBlockForest::RootBlockExclusionFunction &rootBlockExclusionFunction, const blockforest::SetupBlockForest::BlockExclusionFunction &blockExclusionFunction)
 
void setWorkloadMemorySUIDAssignmentFunction (const blockforest::SetupBlockForest::WorkloadMemorySUIDAssignmentFunction &workloadMemorySUIDAssignmentFunction)
 
void setTargetProcessAssignmentFunction (const blockforest::SetupBlockForest::TargetProcessAssignmentFunction &targetProcessAssignmentFunction)
 
void setRootBlockExclusionFunction (const blockforest::SetupBlockForest::RootBlockExclusionFunction &rootBlockExclusionFunction)
 
void setBlockExclusionFunction (const blockforest::SetupBlockForest::BlockExclusionFunction &blockExclusionFunction)
 
void setRefinementSelectionFunction (const blockforest::SetupBlockForest::RefinementSelectionFunction &refinementSelectionFunction)
 
void setProcessMemoryLimit (const real_t processMemoryLimit)
 
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< uint_t > &blockSize, uint_t numProcesses=uint_c(MPIManager::instance() ->numProcesses())) const
 
shared_ptr< SetupBlockForestcreateSetupBlockForest (const Vector3< uint_t > &cellsPerBlock, const Vector3< uint_t > &numBlocks) const
 
shared_ptr< StructuredBlockForestcreateStructuredBlockForest (uint_t targetNumRootBlocks) const
 
shared_ptr< StructuredBlockForestcreateStructuredBlockForest (const Vector3< uint_t > &blockSize) const
 
shared_ptr< StructuredBlockForestcreateStructuredBlockForest (const Vector3< uint_t > &cellsPerBlock, const Vector3< uint_t > &numBlocks) const
 

Private Member Functions

uint_t findNumBlocks (const Vector3< uint_t > &blockSize) const
 
Vector3< uint_tdomainSizeCells () const
 

Private Attributes

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

Constructor & Destructor Documentation

◆ ComplexGeometryStructuredBlockforestCreator() [1/3]

walberla::mesh::ComplexGeometryStructuredBlockforestCreator::ComplexGeometryStructuredBlockforestCreator ( const AABB &  aabb,
const Vector3< real_t > &  cellSize 
)

◆ ComplexGeometryStructuredBlockforestCreator() [2/3]

walberla::mesh::ComplexGeometryStructuredBlockforestCreator::ComplexGeometryStructuredBlockforestCreator ( const AABB &  aabb,
const Vector3< real_t > &  cellSize,
const blockforest::SetupBlockForest::RootBlockExclusionFunction rootBlockExclusionFunction 
)

◆ ComplexGeometryStructuredBlockforestCreator() [3/3]

walberla::mesh::ComplexGeometryStructuredBlockforestCreator::ComplexGeometryStructuredBlockforestCreator ( const AABB &  aabb,
const Vector3< real_t > &  cellSize,
const blockforest::SetupBlockForest::RootBlockExclusionFunction rootBlockExclusionFunction,
const blockforest::SetupBlockForest::BlockExclusionFunction blockExclusionFunction 
)

Member Function Documentation

◆ createSetupBlockForest() [1/3]

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

◆ createSetupBlockForest() [2/3]

shared_ptr< SetupBlockForest > walberla::mesh::ComplexGeometryStructuredBlockforestCreator::createSetupBlockForest ( const Vector3< uint_t > &  cellsPerBlock,
const Vector3< uint_t > &  numBlocks 
) const

◆ createSetupBlockForest() [3/3]

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

◆ createStructuredBlockForest() [1/3]

shared_ptr< StructuredBlockForest > walberla::mesh::ComplexGeometryStructuredBlockforestCreator::createStructuredBlockForest ( const Vector3< uint_t > &  blockSize) const

◆ createStructuredBlockForest() [2/3]

shared_ptr< StructuredBlockForest > walberla::mesh::ComplexGeometryStructuredBlockforestCreator::createStructuredBlockForest ( const Vector3< uint_t > &  cellsPerBlock,
const Vector3< uint_t > &  numBlocks 
) const

◆ createStructuredBlockForest() [3/3]

shared_ptr< StructuredBlockForest > walberla::mesh::ComplexGeometryStructuredBlockforestCreator::createStructuredBlockForest ( uint_t  targetNumRootBlocks) const

◆ domainSizeCells()

Vector3<uint_t> walberla::mesh::ComplexGeometryStructuredBlockforestCreator::domainSizeCells ( ) const
inlineprivate

◆ findNumBlocks()

uint_t walberla::mesh::ComplexGeometryStructuredBlockforestCreator::findNumBlocks ( const Vector3< uint_t > &  blockSize) const
private

◆ setBlockExclusionFunction()

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

◆ setPeriodicity()

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

◆ setProcessMemoryLimit()

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

◆ setRefinementSelectionFunction()

void walberla::mesh::ComplexGeometryStructuredBlockforestCreator::setRefinementSelectionFunction ( const blockforest::SetupBlockForest::RefinementSelectionFunction refinementSelectionFunction)
inline

◆ setRootBlockExclusionFunction()

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

◆ setTargetProcessAssignmentFunction()

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

◆ setWorkloadMemorySUIDAssignmentFunction()

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

Member Data Documentation

◆ aabb_

AABB walberla::mesh::ComplexGeometryStructuredBlockforestCreator::aabb_
private

◆ acceptableRelativeError_

real_t walberla::mesh::ComplexGeometryStructuredBlockforestCreator::acceptableRelativeError_
private

◆ blockExclusionFunction_

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

◆ cellSize_

Vector3<real_t> walberla::mesh::ComplexGeometryStructuredBlockforestCreator::cellSize_
private

◆ maxIterations_

uint_t walberla::mesh::ComplexGeometryStructuredBlockforestCreator::maxIterations_
private

◆ periodicity_

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

◆ processMemoryLimit_

real_t walberla::mesh::ComplexGeometryStructuredBlockforestCreator::processMemoryLimit_
private

◆ refinementSelectionFunction_

blockforest::SetupBlockForest::RefinementSelectionFunction walberla::mesh::ComplexGeometryStructuredBlockforestCreator::refinementSelectionFunction_
private

◆ rootBlockExclusionFunction_

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

◆ targetProcessAssignmentFunction_

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

◆ workloadMemorySUIDAssignmentFunction_

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

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