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

Data Structures

class  _FakeActionSet
 
class  _FakeSubmodel
 

Functions

 _chain (*entities)
 A chain of tasks t0 -> t1 -> ... with the given grid entities.
 
 _groups (step)
 Names of the action sets per task group of the generated observer.
 
 _step_names (graph, non_fusable_task_pairs=None)
 
 test_entity_order_fuses_vertex_face_cell_but_not_cell_vertex ()
 
 test_repeating_task_is_never_fused ()
 
 test_non_fusable_pair_starts_new_traversal ()
 
 test_cell_data_do_not_constrain_fusion ()
 
 test_face_data_written_then_read_prevents_fusion ()
 
 test_face_data_read_then_written_prevents_fusion ()
 The reconstruction/projection pattern of a Finite Volume time step.
 
 test_vertex_data_written_twice_prevents_fusion ()
 
 test_face_data_read_twice_or_temporary_does_not_prevent_fusion ()
 
 test_independent_tasks_form_one_parallel_node ()
 
 test_independent_tasks_with_conflicting_data_are_not_parallel ()
 
 test_independent_tasks_with_conflicting_cell_data_are_fused_but_not_parallel ()
 
 test_independent_tasks_reading_the_same_cell_data_are_parallel ()
 
 test_adjacent_parallel_nodes_are_separated_by_a_synchronisation_marker ()
 
 test_task_with_several_action_sets_is_never_part_of_a_parallel_node ()
 
 test_face_task_writing_face_data_fuses_with_subsequent_cell_task ()
 Faces are touched for the first time before their adjacent cells, e.g.
 
 test_face_task_reading_face_data_fuses_with_subsequent_cell_task_writing_it ()
 
 test_face_tasks_with_conflicting_face_data_are_fused_but_not_parallel ()
 
 test_cell_task_writing_face_data_is_not_fused_with_subsequent_face_task ()
 
 test_vertex_task_writing_vertex_data_fuses_with_subsequent_cell_task ()
 
 test_face_task_writing_vertex_data_prevents_fusion ()
 A vertex is adjacent to faces which are touched only after the cell.
 

Variables

 VERTEX = Task.GridEntity.VERTEX
 
 FACE = Task.GridEntity.FACE
 
 CELL = Task.GridEntity.CELL
 
 READ_AND_DISCARD = Task.DataAccess.READ_AND_DISCARD
 
 WRITE = Task.DataAccess.WRITE
 
 READ_AND_WRITE = Task.DataAccess.READ_AND_WRITE
 
 TEMPORARY = Task.DataAccess.TEMPORARY
 

Function Documentation

◆ _chain()

test_fuse_steps._chain ( *  entities)
protected

A chain of tasks t0 -> t1 -> ... with the given grid entities.

Definition at line 31 of file test_fuse_steps.py.

◆ _groups()

test_fuse_steps._groups (   step)
protected

Names of the action sets per task group of the generated observer.

Definition at line 43 of file test_fuse_steps.py.

◆ _step_names()

test_fuse_steps._step_names (   graph,
  non_fusable_task_pairs = None 
)
protected

Definition at line 51 of file test_fuse_steps.py.

◆ test_adjacent_parallel_nodes_are_separated_by_a_synchronisation_marker()

test_fuse_steps.test_adjacent_parallel_nodes_are_separated_by_a_synchronisation_marker ( )

Definition at line 180 of file test_fuse_steps.py.

◆ test_cell_data_do_not_constrain_fusion()

test_fuse_steps.test_cell_data_do_not_constrain_fusion ( )

Definition at line 81 of file test_fuse_steps.py.

◆ test_cell_task_writing_face_data_is_not_fused_with_subsequent_face_task()

test_fuse_steps.test_cell_task_writing_face_data_is_not_fused_with_subsequent_face_task ( )

Definition at line 248 of file test_fuse_steps.py.

◆ test_entity_order_fuses_vertex_face_cell_but_not_cell_vertex()

test_fuse_steps.test_entity_order_fuses_vertex_face_cell_but_not_cell_vertex ( )

Definition at line 58 of file test_fuse_steps.py.

◆ test_face_data_read_then_written_prevents_fusion()

test_fuse_steps.test_face_data_read_then_written_prevents_fusion ( )

The reconstruction/projection pattern of a Finite Volume time step.

Definition at line 97 of file test_fuse_steps.py.

◆ test_face_data_read_twice_or_temporary_does_not_prevent_fusion()

test_fuse_steps.test_face_data_read_twice_or_temporary_does_not_prevent_fusion ( )

Definition at line 114 of file test_fuse_steps.py.

◆ test_face_data_written_then_read_prevents_fusion()

test_fuse_steps.test_face_data_written_then_read_prevents_fusion ( )

Definition at line 89 of file test_fuse_steps.py.

◆ test_face_task_reading_face_data_fuses_with_subsequent_cell_task_writing_it()

test_fuse_steps.test_face_task_reading_face_data_fuses_with_subsequent_cell_task_writing_it ( )

Definition at line 225 of file test_fuse_steps.py.

◆ test_face_task_writing_face_data_fuses_with_subsequent_cell_task()

test_fuse_steps.test_face_task_writing_face_data_fuses_with_subsequent_cell_task ( )

Faces are touched for the first time before their adjacent cells, e.g.

boundary conditions before a reconstruction

Definition at line 216 of file test_fuse_steps.py.

◆ test_face_task_writing_vertex_data_prevents_fusion()

test_fuse_steps.test_face_task_writing_vertex_data_prevents_fusion ( )

A vertex is adjacent to faces which are touched only after the cell.

Definition at line 264 of file test_fuse_steps.py.

◆ test_face_tasks_with_conflicting_face_data_are_fused_but_not_parallel()

test_fuse_steps.test_face_tasks_with_conflicting_face_data_are_fused_but_not_parallel ( )

Definition at line 233 of file test_fuse_steps.py.

◆ test_independent_tasks_form_one_parallel_node()

test_fuse_steps.test_independent_tasks_form_one_parallel_node ( )

Definition at line 123 of file test_fuse_steps.py.

◆ test_independent_tasks_reading_the_same_cell_data_are_parallel()

test_fuse_steps.test_independent_tasks_reading_the_same_cell_data_are_parallel ( )

Definition at line 167 of file test_fuse_steps.py.

◆ test_independent_tasks_with_conflicting_cell_data_are_fused_but_not_parallel()

test_fuse_steps.test_independent_tasks_with_conflicting_cell_data_are_fused_but_not_parallel ( )

Definition at line 151 of file test_fuse_steps.py.

◆ test_independent_tasks_with_conflicting_data_are_not_parallel()

test_fuse_steps.test_independent_tasks_with_conflicting_data_are_not_parallel ( )

Definition at line 135 of file test_fuse_steps.py.

◆ test_non_fusable_pair_starts_new_traversal()

test_fuse_steps.test_non_fusable_pair_starts_new_traversal ( )

Definition at line 75 of file test_fuse_steps.py.

◆ test_repeating_task_is_never_fused()

test_fuse_steps.test_repeating_task_is_never_fused ( )

Definition at line 63 of file test_fuse_steps.py.

◆ test_task_with_several_action_sets_is_never_part_of_a_parallel_node()

test_fuse_steps.test_task_with_several_action_sets_is_never_part_of_a_parallel_node ( )

Definition at line 202 of file test_fuse_steps.py.

◆ test_vertex_data_written_twice_prevents_fusion()

test_fuse_steps.test_vertex_data_written_twice_prevents_fusion ( )

Definition at line 106 of file test_fuse_steps.py.

◆ test_vertex_task_writing_vertex_data_fuses_with_subsequent_cell_task()

test_fuse_steps.test_vertex_task_writing_vertex_data_fuses_with_subsequent_cell_task ( )

Definition at line 256 of file test_fuse_steps.py.

Variable Documentation

◆ CELL

test_fuse_steps.CELL = Task.GridEntity.CELL

Definition at line 8 of file test_fuse_steps.py.

◆ FACE

test_fuse_steps.FACE = Task.GridEntity.FACE

Definition at line 7 of file test_fuse_steps.py.

◆ READ_AND_DISCARD

test_fuse_steps.READ_AND_DISCARD = Task.DataAccess.READ_AND_DISCARD

Definition at line 10 of file test_fuse_steps.py.

◆ READ_AND_WRITE

test_fuse_steps.READ_AND_WRITE = Task.DataAccess.READ_AND_WRITE

Definition at line 12 of file test_fuse_steps.py.

◆ TEMPORARY

test_fuse_steps.TEMPORARY = Task.DataAccess.TEMPORARY

Definition at line 13 of file test_fuse_steps.py.

◆ VERTEX

test_fuse_steps.VERTEX = Task.GridEntity.VERTEX

Definition at line 6 of file test_fuse_steps.py.

◆ WRITE

test_fuse_steps.WRITE = Task.DataAccess.WRITE

Definition at line 11 of file test_fuse_steps.py.