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

Functions

 _solver (time_step_size=None, rk_order=3, boundary="dirichlet")
 _construct_time_step (solver, directory, periodic_BC=(False, False, False))
 test_one_reconstruction_per_stage_and_chain_of_stages (tmp_path)
 _tagged (tasks, tag)
 test_stage_combinations_are_tagged_as_solution_updates (tmp_path)
 test_boundary_values_use_stage_time_stamp (tmp_path)
 test_periodic_domain_needs_no_boundary_tasks (tmp_path)
 test_periodic_domain_rejects_boundary_condition_term (tmp_path)
 _roll_overs (tasks)
 test_sommerfeld_replaces_roll_over_and_omits_boundary_tasks (tmp_path)
 test_sommerfeld_rejects_decreasing_stage_time_stamps (tmp_path, monkeypatch)
 test_dirichlet_accepts_decreasing_stage_time_stamps (tmp_path, monkeypatch)
 test_stage_combinations_use_rows_of_butcher_tableau (tmp_path)
 test_kernels_are_generated_for_both_dimensions (tmp_path)
 test_fixed_time_step_size_skips_eigenvalue (tmp_path)
 test_right_hand_side_uses_stage_time_stamp_and_estimate_slot (tmp_path)
 test_adaptive_time_stepping_requires_max_eigenvalue (tmp_path)
 test_stage_input_is_loaded_once_after_each_store (tmp_path)
 Peano's stacks require that each stored datum is loaded by the next sweep which uses it.
 test_time_step_size_acts_at_the_end_of_the_time_step_and_needs_no_traversal (tmp_path, time_step_size)
 test_estimates_are_discarded_last_but_not_written_first (tmp_path)

Function Documentation

◆ _construct_time_step()

◆ _roll_overs()

test_rkfd4_time_step._roll_overs ( tasks)
protected

Definition at line 205 of file test_rkfd4_time_step.py.

Referenced by test_sommerfeld_replaces_roll_over_and_omits_boundary_tasks().

Here is the caller graph for this function:

◆ _solver()

◆ _tagged()

test_rkfd4_time_step._tagged ( tasks,
tag )
protected

Definition at line 151 of file test_rkfd4_time_step.py.

Referenced by test_stage_combinations_are_tagged_as_solution_updates().

Here is the caller graph for this function:

◆ test_adaptive_time_stepping_requires_max_eigenvalue()

test_rkfd4_time_step.test_adaptive_time_stepping_requires_max_eigenvalue ( tmp_path)

Definition at line 349 of file test_rkfd4_time_step.py.

References _construct_time_step().

Here is the call graph for this function:

◆ test_boundary_values_use_stage_time_stamp()

test_rkfd4_time_step.test_boundary_values_use_stage_time_stamp ( tmp_path)

Definition at line 172 of file test_rkfd4_time_step.py.

References _construct_time_step(), and _solver().

Here is the call graph for this function:

◆ test_dirichlet_accepts_decreasing_stage_time_stamps()

test_rkfd4_time_step.test_dirichlet_accepts_decreasing_stage_time_stamps ( tmp_path,
monkeypatch )

Definition at line 261 of file test_rkfd4_time_step.py.

References _construct_time_step(), and _solver().

Here is the call graph for this function:

◆ test_estimates_are_discarded_last_but_not_written_first()

test_rkfd4_time_step.test_estimates_are_discarded_last_but_not_written_first ( tmp_path)

Definition at line 405 of file test_rkfd4_time_step.py.

References _construct_time_step(), and _solver().

Here is the call graph for this function:

◆ test_fixed_time_step_size_skips_eigenvalue()

test_rkfd4_time_step.test_fixed_time_step_size_skips_eigenvalue ( tmp_path)

Definition at line 314 of file test_rkfd4_time_step.py.

References _construct_time_step(), and _solver().

Here is the call graph for this function:

◆ test_kernels_are_generated_for_both_dimensions()

test_rkfd4_time_step.test_kernels_are_generated_for_both_dimensions ( tmp_path)

Definition at line 296 of file test_rkfd4_time_step.py.

References _construct_time_step(), and _solver().

Here is the call graph for this function:

◆ test_one_reconstruction_per_stage_and_chain_of_stages()

test_rkfd4_time_step.test_one_reconstruction_per_stage_and_chain_of_stages ( tmp_path)

Definition at line 45 of file test_rkfd4_time_step.py.

References _construct_time_step(), and _solver().

Here is the call graph for this function:

◆ test_periodic_domain_needs_no_boundary_tasks()

test_rkfd4_time_step.test_periodic_domain_needs_no_boundary_tasks ( tmp_path)

Definition at line 185 of file test_rkfd4_time_step.py.

References _construct_time_step(), and _solver().

Here is the call graph for this function:

◆ test_periodic_domain_rejects_boundary_condition_term()

test_rkfd4_time_step.test_periodic_domain_rejects_boundary_condition_term ( tmp_path)

Definition at line 200 of file test_rkfd4_time_step.py.

References _construct_time_step(), and _solver().

Here is the call graph for this function:

◆ test_right_hand_side_uses_stage_time_stamp_and_estimate_slot()

test_rkfd4_time_step.test_right_hand_side_uses_stage_time_stamp_and_estimate_slot ( tmp_path)

Definition at line 330 of file test_rkfd4_time_step.py.

References _construct_time_step(), and _solver().

Here is the call graph for this function:

◆ test_sommerfeld_rejects_decreasing_stage_time_stamps()

test_rkfd4_time_step.test_sommerfeld_rejects_decreasing_stage_time_stamps ( tmp_path,
monkeypatch )

Definition at line 249 of file test_rkfd4_time_step.py.

References _construct_time_step(), and _solver().

Here is the call graph for this function:

◆ test_sommerfeld_replaces_roll_over_and_omits_boundary_tasks()

test_rkfd4_time_step.test_sommerfeld_replaces_roll_over_and_omits_boundary_tasks ( tmp_path)

Definition at line 214 of file test_rkfd4_time_step.py.

References _construct_time_step(), _roll_overs(), and _solver().

Here is the call graph for this function:

◆ test_stage_combinations_are_tagged_as_solution_updates()

test_rkfd4_time_step.test_stage_combinations_are_tagged_as_solution_updates ( tmp_path)

Definition at line 155 of file test_rkfd4_time_step.py.

References _construct_time_step(), _solver(), and _tagged().

Here is the call graph for this function:

◆ test_stage_combinations_use_rows_of_butcher_tableau()

test_rkfd4_time_step.test_stage_combinations_use_rows_of_butcher_tableau ( tmp_path)

Definition at line 272 of file test_rkfd4_time_step.py.

References _construct_time_step(), and _solver().

Here is the call graph for this function:

◆ test_stage_input_is_loaded_once_after_each_store()

test_rkfd4_time_step.test_stage_input_is_loaded_once_after_each_store ( tmp_path)

Peano's stacks require that each stored datum is loaded by the next sweep which uses it.

The reconstruction of a later stage is the last reader of the stage input, as the next combination writes it from scratch, so it must not store it.

Definition at line 359 of file test_rkfd4_time_step.py.

References _construct_time_step(), and _solver().

Here is the call graph for this function:

◆ test_time_step_size_acts_at_the_end_of_the_time_step_and_needs_no_traversal()

test_rkfd4_time_step.test_time_step_size_acts_at_the_end_of_the_time_step_and_needs_no_traversal ( tmp_path,
time_step_size )

Definition at line 386 of file test_rkfd4_time_step.py.

References _construct_time_step(), and _solver().

Here is the call graph for this function: