|
| tuple[str, str] | SplitTrees.split_tree (Tree peano_tree, decomposition, str traversal="bfs_finest_first", bool enable_propagate_bottom_up=False, bool enable_optimize_hierarchy=False, bool require_all_children_for_hierarchy_optimization=True, list[bool]|None periodic_BC=None, bool verbose=False) |
| | Split a tree using a staged load-balancing workflow.
|
| |
| bool | SplitTrees._is_along_periodic_boundary (int level, coordinates, periodic_BC) |
| | Does a cell touch a periodic boundary?
|
| |
| list[int] | SplitTrees._assign_leaves (Tree peano_tree, leaf_nodes, decomposition, periodic_BC=None) |
| | Assign leaves to subtrees in the order given.
|
| |
| tuple[bool, list[int]] | SplitTrees.distribute_leaves_bottom_up (Tree peano_tree, decomposition, bool finest_level_first=False, list[bool]|None periodic_BC=None) |
| | Stage I: BFS-style leaf redecomposition over Peano SFC order.
|
| |
| tuple[bool, list[int]] | SplitTrees.distribute_leaves_top_down (Tree peano_tree, decomposition, list[bool]|None periodic_BC=None) |
| | Stage I: DFS-style leaf redecomposition over the Peano SFC.
|
| |
| None | SplitTrees.propagate_bottom_up (Tree peano_tree) |
| | Propagate information bottom-up.
|
| |
| None | SplitTrees._optimize_hierarchy (Tree peano_tree, bool require_all_children=True) |
| | Stage III of the staged load-balancing workflow.
|
| |
| None | SplitTrees.generate_tree_yaml (Tree peano_tree, str output_yaml_file) |
| | Generate a YAML file describing the complete tree structure with spatial layout.
|
| |
| Tree | SplitTrees.reset_tree_to_single_subtree (Tree peano_tree) |
| | Reset all tree nodes to belong to subtree 0, effectively erasing all splitting.
|
| |
| tuple[list[int], list[int], list[int], list[bool]] | SplitTrees.extract_split_instructions (Tree peano_tree) |
| | Stage IV of the staged load-balancing workflow.
|
| |