walberla::mesh::ComplexGeometryStructuredBlockforestCreator Class Reference

#include <BlockForestInitialization.h>

Public Member Functions

 ComplexGeometryStructuredBlockforestCreator (const AABB &aabb, const Vector3< real_t > &cellSize, const blockforest::SetupBlockForest::RootBlockExclusionFunction &rootBlockExclusionFunction)
 
void setWorkloadMemorySUIDAssignmentFunction (const blockforest::SetupBlockForest::WorkloadMemorySUIDAssignmentFunction &workloadMemorySUIDAssignmentFunction)
 
void setTargetProcessAssignmentFunction (const blockforest::SetupBlockForest::TargetProcessAssignmentFunction &targetProcessAssignmentFunction)
 
void setRefinementSelectionFunction (const blockforest::SetupBlockForest::RefinementSelectionFunction &refinementSelectionFunction)
 
void setProcessMemoryLimit (const real_t processMemoryLimit)
 
void setPeriodicity (const Vector3< bool > &periodicity)
 
shared_ptr< SetupBlockForestcreateSetupBlockForest (const uint_t targetNumRootBlocks, const uint_t numProcesses=uint_c(MPIManager::instance() ->numProcesses())) const
 
shared_ptr< SetupBlockForestcreateSetupBlockForest (const Vector3< uint_t > &blockSize, const uint_t numProcesses=uint_c(MPIManager::instance() ->numProcesses())) const
 
shared_ptr< StructuredBlockForestcreateStructuredBlockForest (const uint_t targetNumRootBlocks) const
 
shared_ptr< StructuredBlockForestcreateStructuredBlockForest (const Vector3< uint_t > &blockSize) 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::WorkloadMemorySUIDAssignmentFunction workloadMemorySUIDAssignmentFunction_
 
blockforest::SetupBlockForest::TargetProcessAssignmentFunction targetProcessAssignmentFunction_
 
blockforest::SetupBlockForest::RefinementSelectionFunction refinementSelectionFunction_
 

Constructor & Destructor Documentation

◆ ComplexGeometryStructuredBlockforestCreator()

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

Member Function Documentation

◆ createSetupBlockForest() [1/2]

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

◆ createSetupBlockForest() [2/2]

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

◆ createStructuredBlockForest() [1/2]

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

◆ createStructuredBlockForest() [2/2]

shared_ptr< StructuredBlockForest > walberla::mesh::ComplexGeometryStructuredBlockforestCreator::createStructuredBlockForest ( const Vector3< uint_t > &  blockSize) 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

◆ 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

◆ 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

◆ 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: