|
Peano
|
Unit tests for the registration of couplings of solvers and for the flag add_global_tasks, with which a coupling leaves the load balancing switch and the dynamic mesh refinement to one of its solvers. More...
Data Structures | |
| class | _Coupling |
| Minimal coupling: it brings its solvers along and realises them itself. More... | |
Functions | |
| _solver (scheme, name="Probe") | |
| _construct (solver, tmp_path, add_global_tasks) | |
| _toggles_load_balancing (task) | |
| test_graph_append_connects_the_end_of_one_graph_to_the_start_of_the_other () | |
| test_graph_append_makes_the_sources_wait_for_global_sinks_too () | |
| test_graph_append_rejects_shared_tasks () | |
| test_graph_merge_unites_graphs_and_keeps_the_dependencies () | |
| test_schemes_add_the_global_tasks_by_default (scheme, tmp_path) | |
| test_schemes_leave_the_global_tasks_to_the_host_on_request (scheme, tmp_path) | |
| test_solver_without_global_tasks_does_not_contribute_to_the_mesh_adaptation (tmp_path) | |
| test_project_registers_the_solvers_of_a_coupling_but_realises_the_coupling (tmp_path) | |
| test_graph_source_tasks_are_the_counterpart_of_the_sink_tasks () | |
Variables | |
| Task = peano4.api.taskgraph.Task | |
| dict | SCHEMES |
Unit tests for the registration of couplings of solvers and for the flag add_global_tasks, with which a coupling leaves the load balancing switch and the dynamic mesh refinement to one of its solvers.
|
protected |
Definition at line 40 of file test_solver_couplings.py.
Referenced by test_schemes_add_the_global_tasks_by_default(), and test_schemes_leave_the_global_tasks_to_the_host_on_request().

|
protected |
Definition at line 27 of file test_solver_couplings.py.
Referenced by test_project_registers_the_solvers_of_a_coupling_but_realises_the_coupling(), test_schemes_add_the_global_tasks_by_default(), test_schemes_leave_the_global_tasks_to_the_host_on_request(), and test_solver_without_global_tasks_does_not_contribute_to_the_mesh_adaptation().

|
protected |
Definition at line 50 of file test_solver_couplings.py.
Referenced by test_schemes_add_the_global_tasks_by_default(), and test_schemes_leave_the_global_tasks_to_the_host_on_request().

| test_solver_couplings.test_graph_append_connects_the_end_of_one_graph_to_the_start_of_the_other | ( | ) |
Definition at line 58 of file test_solver_couplings.py.
References Task.
| test_solver_couplings.test_graph_append_makes_the_sources_wait_for_global_sinks_too | ( | ) |
Definition at line 76 of file test_solver_couplings.py.
References Task.
| test_solver_couplings.test_graph_append_rejects_shared_tasks | ( | ) |
Definition at line 91 of file test_solver_couplings.py.
References Task.
| test_solver_couplings.test_graph_merge_unites_graphs_and_keeps_the_dependencies | ( | ) |
Definition at line 100 of file test_solver_couplings.py.
References Task.
| test_solver_couplings.test_graph_source_tasks_are_the_counterpart_of_the_sink_tasks | ( | ) |
Definition at line 189 of file test_solver_couplings.py.
References Task.
| test_solver_couplings.test_project_registers_the_solvers_of_a_coupling_but_realises_the_coupling | ( | tmp_path | ) |
Definition at line 176 of file test_solver_couplings.py.
References _solver().

| test_solver_couplings.test_schemes_add_the_global_tasks_by_default | ( | scheme, | |
| tmp_path ) |
Definition at line 118 of file test_solver_couplings.py.
References _construct(), _solver(), and _toggles_load_balancing().

| test_solver_couplings.test_schemes_leave_the_global_tasks_to_the_host_on_request | ( | scheme, | |
| tmp_path ) |
Definition at line 126 of file test_solver_couplings.py.
References _construct(), _solver(), and _toggles_load_balancing().

| test_solver_couplings.test_solver_without_global_tasks_does_not_contribute_to_the_mesh_adaptation | ( | tmp_path | ) |
Definition at line 135 of file test_solver_couplings.py.
References _solver().

| dict test_solver_couplings.SCHEMES |
Definition at line 16 of file test_solver_couplings.py.
| test_solver_couplings.Task = peano4.api.taskgraph.Task |
Definition at line 14 of file test_solver_couplings.py.
Referenced by test_graph_append_connects_the_end_of_one_graph_to_the_start_of_the_other(), test_graph_append_makes_the_sources_wait_for_global_sinks_too(), test_graph_append_rejects_shared_tasks(), test_graph_merge_unites_graphs_and_keeps_the_dependencies(), and test_graph_source_tasks_are_the_counterpart_of_the_sink_tasks().