walberla::mesh::MeshWorkloadMemory< DistanceObject > Class Template Reference

#include <BlockWorkloadMemory.h>

Public Types

typedef blockforest::memory_t memory_t
 
typedef blockforest::workload_t workload_t
 
typedef DistanceObject::Scalar Scalar
 

Public Member Functions

 MeshWorkloadMemory (const shared_ptr< DistanceObject > &distanceObject, const Vector3< Scalar > &cellSize)
 
 MeshWorkloadMemory (const shared_ptr< DistanceObject > &distanceObject, const Scalar cellSize)
 
void setInsideCellWorkload (const workload_t workload)
 
void setOutsideCellWorkload (const workload_t workload)
 
void setInsideCellMemoryConsumption (const memory_t memoryConsumption)
 
void setOutsideCellMemoryConsumption (const memory_t memoryConsumption)
 
void setForceZeroMemoryOnZeroWorkload (const bool value)
 
void setZeroWorkloadSUID (const SUID &suid)
 
void operator() (blockforest::SetupBlockForest &forest) const
 

Private Member Functions

void defaultInit ()
 
void countCells (const math::GenericAABB< Scalar > &aabb, const uint_t level, uint_t &numCellsInside, uint_t &numCellsOutside) const
 

Private Attributes

shared_ptr< DistanceObject > distanceObject_
 
Vector3< typename DistanceObject::Scalar > cellSize_
 
memory_t outsideCellMemoryConsumption_
 
memory_t insideCellMemoryConsumption_
 
workload_t outsideCellWorkload_
 
workload_t insideCellWorkload_
 
shared_ptr< SUID > zeroWorkloadSUID_
 
bool forceZeroMemoryOnZeroWorkload_
 

Member Typedef Documentation

template<typename DistanceObject >
typedef blockforest::memory_t walberla::mesh::MeshWorkloadMemory< DistanceObject >::memory_t
template<typename DistanceObject >
typedef DistanceObject::Scalar walberla::mesh::MeshWorkloadMemory< DistanceObject >::Scalar
template<typename DistanceObject >
typedef blockforest::workload_t walberla::mesh::MeshWorkloadMemory< DistanceObject >::workload_t

Constructor & Destructor Documentation

template<typename DistanceObject >
walberla::mesh::MeshWorkloadMemory< DistanceObject >::MeshWorkloadMemory ( const shared_ptr< DistanceObject > &  distanceObject,
const Vector3< Scalar > &  cellSize 
)
inline
template<typename DistanceObject >
walberla::mesh::MeshWorkloadMemory< DistanceObject >::MeshWorkloadMemory ( const shared_ptr< DistanceObject > &  distanceObject,
const Scalar  cellSize 
)
inline

Member Function Documentation

template<typename DistanceObject >
void walberla::mesh::MeshWorkloadMemory< DistanceObject >::countCells ( const math::GenericAABB< Scalar > &  aabb,
const uint_t  level,
uint_t numCellsInside,
uint_t numCellsOutside 
) const
private
template<typename DistanceObject >
void walberla::mesh::MeshWorkloadMemory< DistanceObject >::defaultInit ( )
inlineprivate
template<typename DistanceObject >
void walberla::mesh::MeshWorkloadMemory< DistanceObject >::operator() ( blockforest::SetupBlockForest forest) const
inline
template<typename DistanceObject >
void walberla::mesh::MeshWorkloadMemory< DistanceObject >::setForceZeroMemoryOnZeroWorkload ( const bool  value)
inline
template<typename DistanceObject >
void walberla::mesh::MeshWorkloadMemory< DistanceObject >::setInsideCellMemoryConsumption ( const memory_t  memoryConsumption)
inline
template<typename DistanceObject >
void walberla::mesh::MeshWorkloadMemory< DistanceObject >::setInsideCellWorkload ( const workload_t  workload)
inline
template<typename DistanceObject >
void walberla::mesh::MeshWorkloadMemory< DistanceObject >::setOutsideCellMemoryConsumption ( const memory_t  memoryConsumption)
inline
template<typename DistanceObject >
void walberla::mesh::MeshWorkloadMemory< DistanceObject >::setOutsideCellWorkload ( const workload_t  workload)
inline
template<typename DistanceObject >
void walberla::mesh::MeshWorkloadMemory< DistanceObject >::setZeroWorkloadSUID ( const SUID &  suid)
inline

Member Data Documentation

template<typename DistanceObject >
Vector3< typename DistanceObject::Scalar > walberla::mesh::MeshWorkloadMemory< DistanceObject >::cellSize_
private
template<typename DistanceObject >
shared_ptr< DistanceObject > walberla::mesh::MeshWorkloadMemory< DistanceObject >::distanceObject_
private
template<typename DistanceObject >
bool walberla::mesh::MeshWorkloadMemory< DistanceObject >::forceZeroMemoryOnZeroWorkload_
private
template<typename DistanceObject >
memory_t walberla::mesh::MeshWorkloadMemory< DistanceObject >::insideCellMemoryConsumption_
private
template<typename DistanceObject >
workload_t walberla::mesh::MeshWorkloadMemory< DistanceObject >::insideCellWorkload_
private
template<typename DistanceObject >
memory_t walberla::mesh::MeshWorkloadMemory< DistanceObject >::outsideCellMemoryConsumption_
private
template<typename DistanceObject >
workload_t walberla::mesh::MeshWorkloadMemory< DistanceObject >::outsideCellWorkload_
private
template<typename DistanceObject >
shared_ptr< SUID > walberla::mesh::MeshWorkloadMemory< DistanceObject >::zeroWorkloadSUID_
private

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