Definition at line 140 of file Hardcoded.h.
◆ Split() [1/2]
| toolbox::loadbalancing::strategies::Hardcoded::Split::Split |
( |
const Split & | split | ) |
|
◆ Split() [2/2]
| toolbox::loadbalancing::strategies::Hardcoded::Split::Split |
( |
int | gridSweep_, |
|
|
int | splittingTree_, |
|
|
int | numberOfCells_, |
|
|
int | destinationRank_, |
|
|
peano4::SplitInstruction::Mode | mode_ ) |
◆ toString()
| std::string toolbox::loadbalancing::strategies::Hardcoded::Split::toString |
( |
| ) |
const |
◆ validateAndAmend()
| void toolbox::loadbalancing::strategies::Hardcoded::Split::validateAndAmend |
( |
| ) |
|
Validate a split instruction.
This operation validates the split operation and amends its state if required. That means notably that it looks if the target tree does exist in an MPI environment. If not, it uses a module division to fix the assignment.
Implementation pitfalls
I originally called validateAndAmend immediately when I built up the split lists. However, this happens at startup time for many codes. At this point MPI_Init might not have been called, i.e. the rank might not yet be properly configured.
◆ destinationRank
| int toolbox::loadbalancing::strategies::Hardcoded::Split::destinationRank |
◆ gridSweep
| int toolbox::loadbalancing::strategies::Hardcoded::Split::gridSweep |
◆ mode
◆ numberOfCells
| int toolbox::loadbalancing::strategies::Hardcoded::Split::numberOfCells |
◆ splittingTree
| int toolbox::loadbalancing::strategies::Hardcoded::Split::splittingTree |
The documentation for this struct was generated from the following file: