General assignment functor for load balancing.
Uses BlockInfo::computationalWeight as PhantomBlockWeight
#include <WeightAssignmentFunctor.h>
|
| shared_ptr< blockforest::InfoCollection > | ic_ |
| double | baseWeight_ = 10.0_r |
| | Base weight due to allocated data structures. A weight of zero for blocks is dangerous as empty blocks might accumulate on one process!
|
◆ PhantomBlockWeight
Convenience typedef to be used as PhantomBlock weight in conjunction with this weight assignment functor.
◆ PhantomBlockWeightPackUnpackFunctor
Convenience typedef for pack and unpack functions to be used in conjunction with PhantomBlockWeight.
◆ WeightAssignmentFunctor()
◆ getBaseWeight()
| double walberla::blockforest::WeightAssignmentFunctor::getBaseWeight |
( |
| ) |
const |
|
inline |
◆ operator()()
| void walberla::blockforest::WeightAssignmentFunctor::operator() |
( |
std::vector< std::pair< const PhantomBlock *, std::any > > & | blockData, |
|
|
const PhantomBlockForest & | ) |
|
inline |
◆ setBaseWeight()
| void walberla::blockforest::WeightAssignmentFunctor::setBaseWeight |
( |
const double | weight | ) |
|
|
inline |
◆ baseWeight_
| double walberla::blockforest::WeightAssignmentFunctor::baseWeight_ = 10.0_r |
|
private |
Base weight due to allocated data structures. A weight of zero for blocks is dangerous as empty blocks might accumulate on one process!
◆ ic_
The documentation for this class was generated from the following file: