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< SetupBlockForest > createSetupBlockForest (const uint_t targetNumRootBlocks, const uint_t numProcesses=uint_c(MPIManager::instance() ->numProcesses())) const
 
shared_ptr< SetupBlockForest > createSetupBlockForest (const Vector3< uint_t > &blockSize, const uint_t numProcesses=uint_c(MPIManager::instance() ->numProcesses())) const
 
shared_ptr< StructuredBlockForest > createStructuredBlockForest (const uint_t targetNumRootBlocks) const
 
shared_ptr< StructuredBlockForest > createStructuredBlockForest (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

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

Member Function Documentation

shared_ptr< SetupBlockForest > walberla::mesh::ComplexGeometryStructuredBlockforestCreator::createSetupBlockForest ( const uint_t  targetNumRootBlocks,
const uint_t  numProcesses = uint_c( MPIManager::instance()->numProcesses() ) 
) const
shared_ptr< SetupBlockForest > walberla::mesh::ComplexGeometryStructuredBlockforestCreator::createSetupBlockForest ( const Vector3< uint_t > &  blockSize,
const uint_t  numProcesses = uint_c( MPIManager::instance()->numProcesses() ) 
) const
shared_ptr< StructuredBlockForest > walberla::mesh::ComplexGeometryStructuredBlockforestCreator::createStructuredBlockForest ( const uint_t  targetNumRootBlocks) const
shared_ptr< StructuredBlockForest > walberla::mesh::ComplexGeometryStructuredBlockforestCreator::createStructuredBlockForest ( const Vector3< uint_t > &  blockSize) const
Vector3<uint_t> walberla::mesh::ComplexGeometryStructuredBlockforestCreator::domainSizeCells ( ) const
inlineprivate
uint_t walberla::mesh::ComplexGeometryStructuredBlockforestCreator::findNumBlocks ( const Vector3< uint_t > &  blockSize) const
private
void walberla::mesh::ComplexGeometryStructuredBlockforestCreator::setPeriodicity ( const Vector3< bool > &  periodicity)
inline
void walberla::mesh::ComplexGeometryStructuredBlockforestCreator::setProcessMemoryLimit ( const real_t  processMemoryLimit)
inline
void walberla::mesh::ComplexGeometryStructuredBlockforestCreator::setRefinementSelectionFunction ( const blockforest::SetupBlockForest::RefinementSelectionFunction refinementSelectionFunction)
inline
void walberla::mesh::ComplexGeometryStructuredBlockforestCreator::setTargetProcessAssignmentFunction ( const blockforest::SetupBlockForest::TargetProcessAssignmentFunction targetProcessAssignmentFunction)
inline
void walberla::mesh::ComplexGeometryStructuredBlockforestCreator::setWorkloadMemorySUIDAssignmentFunction ( const blockforest::SetupBlockForest::WorkloadMemorySUIDAssignmentFunction workloadMemorySUIDAssignmentFunction)
inline

Member Data Documentation

AABB walberla::mesh::ComplexGeometryStructuredBlockforestCreator::aabb_
private
real_t walberla::mesh::ComplexGeometryStructuredBlockforestCreator::acceptableRelativeError_
private
Vector3<real_t> walberla::mesh::ComplexGeometryStructuredBlockforestCreator::cellSize_
private
uint_t walberla::mesh::ComplexGeometryStructuredBlockforestCreator::maxIterations_
private
Vector3< bool > walberla::mesh::ComplexGeometryStructuredBlockforestCreator::periodicity_
private
real_t walberla::mesh::ComplexGeometryStructuredBlockforestCreator::processMemoryLimit_
private
blockforest::SetupBlockForest::RefinementSelectionFunction walberla::mesh::ComplexGeometryStructuredBlockforestCreator::refinementSelectionFunction_
private
blockforest::SetupBlockForest::RootBlockExclusionFunction walberla::mesh::ComplexGeometryStructuredBlockforestCreator::rootBlockExclusionFunction_
private
blockforest::SetupBlockForest::TargetProcessAssignmentFunction walberla::mesh::ComplexGeometryStructuredBlockforestCreator::targetProcessAssignmentFunction_
private
blockforest::SetupBlockForest::WorkloadMemorySUIDAssignmentFunction walberla::mesh::ComplexGeometryStructuredBlockforestCreator::workloadMemorySUIDAssignmentFunction_
private

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