Peano
Loading...
Searching...
No Matches
test_hardcoded_output Namespace Reference

Functions

 _split_regular_grid (number_of_subtrees, periodic_BC=None)
 Split the 27x27 mesh of tutorial 35 into number_of_subtrees subtrees.
 
 _cells_per_subtree (tree, number_of_subtrees)
 
 test_periodic_frame_stays_on_subtree_zero ()
 All cells along a periodic boundary remain on subtree 0, and the shares still add up.
 
 test_periodic_frame_only_along_periodic_axes ()
 Only the faces of periodic axes are kept on subtree 0.
 
 test_no_periodic_boundaries_keeps_plain_split ()
 periodic_BC=None and all-False yield the same decomposition.
 
 test_single_marker_holds_for_all_splits ()
 
 test_one_marker_per_split ()
 
 test_invalid_markers_are_rejected (modes)
 
 test_round_robin_assignment_is_accepted (number_of_ranks)
 
 test_other_assignments_are_rejected ()
 Subtree s has to live on rank sR, as Peano numbers its trees round robin.
 
 test_number_of_ranks_is_taken_into_account ()
 Round robin over three ranks is no round robin over four ranks.
 

Function Documentation

◆ _cells_per_subtree()

test_hardcoded_output._cells_per_subtree (   tree,
  number_of_subtrees 
)
protected

Definition at line 22 of file test_hardcoded_output.py.

Referenced by test_periodic_frame_stays_on_subtree_zero().

Here is the caller graph for this function:

◆ _split_regular_grid()

test_hardcoded_output._split_regular_grid (   number_of_subtrees,
  periodic_BC = None 
)
protected

◆ test_invalid_markers_are_rejected()

test_hardcoded_output.test_invalid_markers_are_rejected (   modes)

Definition at line 99 of file test_hardcoded_output.py.

References _split_regular_grid().

Here is the call graph for this function:

◆ test_no_periodic_boundaries_keeps_plain_split()

test_hardcoded_output.test_no_periodic_boundaries_keeps_plain_split ( )

periodic_BC=None and all-False yield the same decomposition.

Definition at line 59 of file test_hardcoded_output.py.

References _split_regular_grid().

Here is the call graph for this function:

◆ test_number_of_ranks_is_taken_into_account()

test_hardcoded_output.test_number_of_ranks_is_taken_into_account ( )

Round robin over three ranks is no round robin over four ranks.

Definition at line 128 of file test_hardcoded_output.py.

References _split_regular_grid().

Here is the call graph for this function:

◆ test_one_marker_per_split()

test_hardcoded_output.test_one_marker_per_split ( )

Definition at line 83 of file test_hardcoded_output.py.

References _split_regular_grid().

Here is the call graph for this function:

◆ test_other_assignments_are_rejected()

test_hardcoded_output.test_other_assignments_are_rejected ( )

Subtree s has to live on rank sR, as Peano numbers its trees round robin.

Definition at line 121 of file test_hardcoded_output.py.

References _split_regular_grid().

Here is the call graph for this function:

◆ test_periodic_frame_only_along_periodic_axes()

test_hardcoded_output.test_periodic_frame_only_along_periodic_axes ( )

Only the faces of periodic axes are kept on subtree 0.

Definition at line 46 of file test_hardcoded_output.py.

References _split_regular_grid().

Here is the call graph for this function:

◆ test_periodic_frame_stays_on_subtree_zero()

test_hardcoded_output.test_periodic_frame_stays_on_subtree_zero ( )

All cells along a periodic boundary remain on subtree 0, and the shares still add up.

Definition at line 36 of file test_hardcoded_output.py.

References _cells_per_subtree(), and _split_regular_grid().

Here is the call graph for this function:

◆ test_round_robin_assignment_is_accepted()

test_hardcoded_output.test_round_robin_assignment_is_accepted (   number_of_ranks)

Definition at line 111 of file test_hardcoded_output.py.

References _split_regular_grid().

Here is the call graph for this function:

◆ test_single_marker_holds_for_all_splits()

test_hardcoded_output.test_single_marker_holds_for_all_splits ( )

Definition at line 71 of file test_hardcoded_output.py.

References _split_regular_grid().

Here is the call graph for this function: