Peano
Loading...
Searching...
No Matches
test_exagrype_ccz4_solver.py File Reference

Go to the source code of this file.

Namespaces

namespace  test_exagrype_ccz4_solver

Functions

 test_exagrype_ccz4_solver.test_solver_has_58_named_unknowns ()
 test_exagrype_ccz4_solver._call (solver, term)
 C++ which calls the kernel of term.
 test_exagrype_ccz4_solver.test_solver_registers_ccz4_pde_terms ()
 The non-conservative product is missing until the solver is realised (test_realisation_registers_the_ncp_which_fits_the_numerical_scheme).
 test_exagrype_ccz4_solver.test_solver_has_no_initial_condition_of_its_own ()
 test_exagrype_ccz4_solver.test_initial_condition_is_added_from_outside ()
 test_exagrype_ccz4_solver.test_parameters_override_defaults ()
 test_exagrype_ccz4_solver.test_unknown_parameter_is_rejected ()
 test_exagrype_ccz4_solver.test_removed_parameters_are_rejected (key)
 test_exagrype_ccz4_solver.test_switches_are_integers ()
 test_exagrype_ccz4_solver.test_switches_reject_anything_but_zero_and_one (value)
 test_exagrype_ccz4_solver.test_kernel_calls_pass_the_parameters_of_the_kernel_signature (solver_class, term)
 The CCZ4 parameters of a kernel call match the kernel's declaration.
 test_exagrype_ccz4_solver.test_constraint_enforcement_is_opt_in ()
 test_exagrype_ccz4_solver._central_differences (solver)
 test_exagrype_ccz4_solver._dissipation (solver)
 test_exagrype_ccz4_solver._lopsided (solver, advected_quantities=None, advection_velocity=None)
 FD4 with lopsided advection, by default of the quantities the solver asks for.
 test_exagrype_ccz4_solver._finite_volumes (solver)
 test_exagrype_ccz4_solver.test_ncp_adds_advection_iff_the_scheme_does_not (solver_class, parameters, scheme_factory, advection)
 The non-conservative product adds the advection terms if and only if the Finite Differences do not (src/exagrype/ccz4/adrs/0003-the-solver-picks-who-adds-the-advection.md).
 test_exagrype_ccz4_solver.test_ncp_adds_advection_rejects_lopsided_advection_of_other_quantities (solver_class)
 A scheme which advects other quantities than those the kernels leave out would add some advection terms twice or miss some.
 test_exagrype_ccz4_solver.test_ncp_adds_advection_rejects_unknown_schemes ()
 test_exagrype_ccz4_solver._constexpr_list (code, name)
 test_exagrype_ccz4_solver.test_central_advection_adds_what_the_lopsided_advection_would_add (solver_class, parameters)
 The advection which the non-conservative product appends covers exactly the quantities and the velocity which the lopsided advection of the scheme gets, i.e.
 test_exagrype_ccz4_solver._realise (solver, tmp_path)
 Realise a first-order solver with gauge wave initial data on the unit cube.
 test_exagrype_ccz4_solver._solver_with (scheme_factory)
 test_exagrype_ccz4_solver._non_conservative_products (solver)
 test_exagrype_ccz4_solver.test_realisation_registers_the_ncp_which_fits_the_numerical_scheme (scheme_factory, advection, tmp_path)
 The solver is created before its numerical scheme, so it can pick the non-conservative product only when it is realised.
 test_exagrype_ccz4_solver.test_realising_twice_replaces_the_ncp_of_the_first_realisation (tmp_path)
 A project can be generated several times.
 test_exagrype_ccz4_solver.test_realisation_rejects_an_ncp_added_by_somebody_else (stateless, tmp_path)
 The solver would replace it silently, and it might add advection terms the scheme adds as well, or miss them (src/exagrype/ccz4/adrs/0003-the-solver-picks-who-adds-the-advection.md).

Variables

 test_exagrype_ccz4_solver.KERNELS_HEADER = kernels_header.read()
 test_exagrype_ccz4_solver.Kernel = exahype2.api.rkfd4.CentralDifferencesWithRungeKutta.RightHandSideKernel