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

Functions

 _project (tmp_path)
 _realise_pair (pair, tmp_path)
 Let the host realise the pair and return the time step graph of the project.
 _configure (pair, enforce=None)
 Configure the CCZ4 solver of the pair with FD4 and lopsided advection.
 _realise (pair, tmp_path, enforce=None)
 Configure the pair with FD4, realise both solvers and return the time step graph.
 test_so_solver_splits_the_58_entries_into_25_unknowns_and_33_derivatives ()
 test_so_solver_has_no_formulation_switch_parameter ()
 _ncp_call (solver)
 C++ which calls the kernel of the non-conservative product.
 test_so_solver_calls_the_second_order_kernels ()
 test_so_solver_splits_the_initial_condition ()
 test_so_solver_advects_all_evolved_unknowns_with_lopsided_stencils ()
 test_so_solver_enforces_only_the_constraints_of_the_evolved_unknowns ()
 test_solvers_share_the_base_class ()
 test_fososolver_hosts_the_ccz4_solver_and_the_reconstruction_solver ()
 test_project_registers_the_solvers_of_the_host_but_lets_the_host_realise_them (tmp_path)
 test_solvers_build_separate_graphs_which_the_host_concatenates (tmp_path)
 Neither solver sees the tasks of the other one, only the host's graph holds both.
 test_host_reports_the_concatenated_graph (tmp_path, monkeypatch)
 test_reconstruction_solver_forwards_the_time_step_data_of_the_ccz4_solver (tmp_path)
 test_reconstruction_solver_takes_turns_with_each_stage_of_the_solver (tmp_path)
 test_reconstruction_keeps_the_data_it_shares_with_the_solver_alive (tmp_path)
 test_reconstruction_works_together_with_the_constraint_enforcement (tmp_path)
 test_reconstruction_runs_in_front_of_the_finite_volume_update (tmp_path)
 test_reconstruction_rejects_unsupported_schemes (tmp_path)
 test_reconstruction_rejects_a_halo_of_two (tmp_path)
 test_reconstruction_adapts_to_the_larger_halo_of_the_dissipation_scheme (tmp_path)
 test_pde_terms_are_stateless (solver_class)
 Finite Volumes and Finite Differences both call the static terms.
 test_interpolations_and_reconstructions_of_the_ccz4_solver_run_in_parallel (tmp_path)

Function Documentation

◆ _configure()

test_exagrype_fosoccz4_solver._configure ( pair,
enforce = None )
protected

Configure the CCZ4 solver of the pair with FD4 and lopsided advection.

Definition at line 31 of file test_exagrype_fosoccz4_solver.py.

Referenced by _realise(), and test_solvers_build_separate_graphs_which_the_host_concatenates().

Here is the caller graph for this function:

◆ _ncp_call()

test_exagrype_fosoccz4_solver._ncp_call ( solver)
protected

C++ which calls the kernel of the non-conservative product.

The solver registers its non-conservative product only when it is realised, so it is taken from the hook which writes it.

Definition at line 89 of file test_exagrype_fosoccz4_solver.py.

Referenced by test_so_solver_calls_the_second_order_kernels().

Here is the caller graph for this function:

◆ _project()

test_exagrype_fosoccz4_solver._project ( tmp_path)
protected

◆ _realise()

test_exagrype_fosoccz4_solver._realise ( pair,
tmp_path,
enforce = None )
protected

◆ _realise_pair()

test_exagrype_fosoccz4_solver._realise_pair ( pair,
tmp_path )
protected

Let the host realise the pair and return the time step graph of the project.

Definition at line 23 of file test_exagrype_fosoccz4_solver.py.

References _project().

Referenced by _realise(), test_reconstruction_adapts_to_the_larger_halo_of_the_dissipation_scheme(), and test_reconstruction_runs_in_front_of_the_finite_volume_update().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_fososolver_hosts_the_ccz4_solver_and_the_reconstruction_solver()

test_exagrype_fosoccz4_solver.test_fososolver_hosts_the_ccz4_solver_and_the_reconstruction_solver ( )

Definition at line 187 of file test_exagrype_fosoccz4_solver.py.

◆ test_host_reports_the_concatenated_graph()

test_exagrype_fosoccz4_solver.test_host_reports_the_concatenated_graph ( tmp_path,
monkeypatch )

Definition at line 268 of file test_exagrype_fosoccz4_solver.py.

References _realise().

Here is the call graph for this function:

◆ test_interpolations_and_reconstructions_of_the_ccz4_solver_run_in_parallel()

test_exagrype_fosoccz4_solver.test_interpolations_and_reconstructions_of_the_ccz4_solver_run_in_parallel ( tmp_path)

Definition at line 467 of file test_exagrype_fosoccz4_solver.py.

References _realise().

Here is the call graph for this function:

◆ test_pde_terms_are_stateless()

test_exagrype_fosoccz4_solver.test_pde_terms_are_stateless ( solver_class)

Finite Volumes and Finite Differences both call the static terms.

The non-conservative product is registered when the solver is realised (test_realisation_registers_the_ncp_which_fits_the_numerical_scheme in test_exagrype_ccz4_solver.py checks that it is stateless).

Definition at line 453 of file test_exagrype_fosoccz4_solver.py.

◆ test_project_registers_the_solvers_of_the_host_but_lets_the_host_realise_them()

test_exagrype_fosoccz4_solver.test_project_registers_the_solvers_of_the_host_but_lets_the_host_realise_them ( tmp_path)

Definition at line 207 of file test_exagrype_fosoccz4_solver.py.

References _project().

Here is the call graph for this function:

◆ test_reconstruction_adapts_to_the_larger_halo_of_the_dissipation_scheme()

test_exagrype_fosoccz4_solver.test_reconstruction_adapts_to_the_larger_halo_of_the_dissipation_scheme ( tmp_path)

Definition at line 436 of file test_exagrype_fosoccz4_solver.py.

References _realise_pair().

Here is the call graph for this function:

◆ test_reconstruction_keeps_the_data_it_shares_with_the_solver_alive()

test_exagrype_fosoccz4_solver.test_reconstruction_keeps_the_data_it_shares_with_the_solver_alive ( tmp_path)

Definition at line 361 of file test_exagrype_fosoccz4_solver.py.

References _realise().

Here is the call graph for this function:

◆ test_reconstruction_rejects_a_halo_of_two()

test_exagrype_fosoccz4_solver.test_reconstruction_rejects_a_halo_of_two ( tmp_path)

Definition at line 426 of file test_exagrype_fosoccz4_solver.py.

◆ test_reconstruction_rejects_unsupported_schemes()

test_exagrype_fosoccz4_solver.test_reconstruction_rejects_unsupported_schemes ( tmp_path)

Definition at line 417 of file test_exagrype_fosoccz4_solver.py.

◆ test_reconstruction_runs_in_front_of_the_finite_volume_update()

test_exagrype_fosoccz4_solver.test_reconstruction_runs_in_front_of_the_finite_volume_update ( tmp_path)

Definition at line 394 of file test_exagrype_fosoccz4_solver.py.

References _realise_pair().

Here is the call graph for this function:

◆ test_reconstruction_solver_forwards_the_time_step_data_of_the_ccz4_solver()

test_exagrype_fosoccz4_solver.test_reconstruction_solver_forwards_the_time_step_data_of_the_ccz4_solver ( tmp_path)

Definition at line 305 of file test_exagrype_fosoccz4_solver.py.

References _realise().

Here is the call graph for this function:

◆ test_reconstruction_solver_takes_turns_with_each_stage_of_the_solver()

test_exagrype_fosoccz4_solver.test_reconstruction_solver_takes_turns_with_each_stage_of_the_solver ( tmp_path)

Definition at line 320 of file test_exagrype_fosoccz4_solver.py.

References _realise().

Here is the call graph for this function:

◆ test_reconstruction_works_together_with_the_constraint_enforcement()

test_exagrype_fosoccz4_solver.test_reconstruction_works_together_with_the_constraint_enforcement ( tmp_path)

Definition at line 383 of file test_exagrype_fosoccz4_solver.py.

References _realise().

Here is the call graph for this function:

◆ test_so_solver_advects_all_evolved_unknowns_with_lopsided_stencils()

test_exagrype_fosoccz4_solver.test_so_solver_advects_all_evolved_unknowns_with_lopsided_stencils ( )

Definition at line 143 of file test_exagrype_fosoccz4_solver.py.

◆ test_so_solver_calls_the_second_order_kernels()

test_exagrype_fosoccz4_solver.test_so_solver_calls_the_second_order_kernels ( )

Definition at line 98 of file test_exagrype_fosoccz4_solver.py.

References _ncp_call().

Here is the call graph for this function:

◆ test_so_solver_enforces_only_the_constraints_of_the_evolved_unknowns()

test_exagrype_fosoccz4_solver.test_so_solver_enforces_only_the_constraints_of_the_evolved_unknowns ( )

Definition at line 167 of file test_exagrype_fosoccz4_solver.py.

◆ test_so_solver_has_no_formulation_switch_parameter()

test_exagrype_fosoccz4_solver.test_so_solver_has_no_formulation_switch_parameter ( )

Definition at line 82 of file test_exagrype_fosoccz4_solver.py.

◆ test_so_solver_splits_the_58_entries_into_25_unknowns_and_33_derivatives()

test_exagrype_fosoccz4_solver.test_so_solver_splits_the_58_entries_into_25_unknowns_and_33_derivatives ( )

Definition at line 57 of file test_exagrype_fosoccz4_solver.py.

◆ test_so_solver_splits_the_initial_condition()

test_exagrype_fosoccz4_solver.test_so_solver_splits_the_initial_condition ( )

Definition at line 133 of file test_exagrype_fosoccz4_solver.py.

◆ test_solvers_build_separate_graphs_which_the_host_concatenates()

test_exagrype_fosoccz4_solver.test_solvers_build_separate_graphs_which_the_host_concatenates ( tmp_path)

Neither solver sees the tasks of the other one, only the host's graph holds both.

Definition at line 218 of file test_exagrype_fosoccz4_solver.py.

References _configure(), and _project().

Here is the call graph for this function:

◆ test_solvers_share_the_base_class()

test_exagrype_fosoccz4_solver.test_solvers_share_the_base_class ( )

Definition at line 178 of file test_exagrype_fosoccz4_solver.py.