Go to the source code of this file.
|
| namespace | api |
| | This file is part of the load balancing project within Peano 4.
|
| |
| namespace | api.output |
| | This file is part of the load balancing project within Peano 4.
|
| |
| namespace | api.output.Hardcoded |
| |
|
| | api.output.Hardcoded.assign_trees_to_ranks_round_Robin (int number_of_subtrees, int max_ranks) |
| | Take the trees and assign them to the ranks in a round-robin fashion.
|
| |
| | api.output.Hardcoded._format_initialisation_lists (parent_trees, subpartition_sizes, destination_ranks) |
| | Turn the enumerated splits into the C++ initialiser lists of Hardcoded.
|
| |
| | api.output.Hardcoded._markers_from_flags (bottom_up_flags) |
| | Translate the per-split flags of extract_split_instructions() into markers.
|
| |
| | api.output.Hardcoded._normalise_markers (modes, number_of_splits) |
| | Turn the user's modes argument into one marker per split.
|
| |
| | api.output.Hardcoded._format_modes (markers) |
| | Turn the markers into the C++ mode argument of Hardcoded.
|
| |
| | api.output.Hardcoded._normalise_destination_ranks (destination_ranks, subtrees) |
| | Normalise destination rank input to one rank per split instruction.
|
| |
| | api.output.Hardcoded._validate_round_robin (subtrees, destination_ranks, number_of_ranks=None) |
| | Ensure that the subtrees are assigned to the ranks round robin.
|
| |
| tuple[str, str] | api.output.Hardcoded.create_constructor_initialisation_string ("Tree" peano_tree, list[int] destination_ranks, bool verbose=False, modes=None, int|None number_of_ranks=None) |
| | Construct the constructor arguments for an instance of Hardcoded.
|
| |