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

Unit tests for multiple plotters per solver (exahype2.api.Solver.Solver.add_plotter()) and the checkpoints (exahype2.api.fv.WriteCheckpoint, exahype2.api.rkfd4.WriteCheckpoint). More...

Functions

 _solver (scheme="fv", dirichlet=False)
 
 _plot_graph (solver, tmp_path, periodic=True)
 
 _method_definition (solver, declaration)
 
 test_plotters_get_names_from_class_and_counter ()
 
 test_plotter_names_have_to_be_unique_identifiers ()
 
 test_plotters_must_not_share_files ()
 
 test_plotter_shorthand_replaces_all_plotters ()
 
 test_each_plotter_gets_own_bookkeeping_and_wants_to_plot_combines_them (tmp_path)
 
 test_checkpoint_meta_data_lists_added_attributes (tmp_path)
 
 test_vtk_plotter_selects_quantities (tmp_path)
 
 test_checkpoint_has_neither_filters_nor_quantities ()
 
 test_checkpoint_reconstructs_and_writes_patch_with_halo (tmp_path, scheme, halo)
 

Detailed Description

Unit tests for multiple plotters per solver (exahype2.api.Solver.Solver.add_plotter()) and the checkpoints (exahype2.api.fv.WriteCheckpoint, exahype2.api.rkfd4.WriteCheckpoint).

Function Documentation

◆ _method_definition()

test_plotters._method_definition (   solver,
  declaration 
)
protected

Definition at line 37 of file test_plotters.py.

Referenced by test_checkpoint_meta_data_lists_added_attributes(), and test_each_plotter_gets_own_bookkeeping_and_wants_to_plot_combines_them().

Here is the caller graph for this function:

◆ _plot_graph()

test_plotters._plot_graph (   solver,
  tmp_path,
  periodic = True 
)
protected

◆ _solver()

◆ test_checkpoint_has_neither_filters_nor_quantities()

test_plotters.test_checkpoint_has_neither_filters_nor_quantities ( )

Definition at line 149 of file test_plotters.py.

References _solver().

Here is the call graph for this function:

◆ test_checkpoint_meta_data_lists_added_attributes()

test_plotters.test_checkpoint_meta_data_lists_added_attributes (   tmp_path)

Definition at line 118 of file test_plotters.py.

References _method_definition(), _plot_graph(), and _solver().

Here is the call graph for this function:

◆ test_checkpoint_reconstructs_and_writes_patch_with_halo()

test_plotters.test_checkpoint_reconstructs_and_writes_patch_with_halo (   tmp_path,
  scheme,
  halo 
)

Definition at line 158 of file test_plotters.py.

References _plot_graph(), and _solver().

Here is the call graph for this function:

◆ test_each_plotter_gets_own_bookkeeping_and_wants_to_plot_combines_them()

test_plotters.test_each_plotter_gets_own_bookkeeping_and_wants_to_plot_combines_them (   tmp_path)

Definition at line 91 of file test_plotters.py.

References _method_definition(), _plot_graph(), and _solver().

Here is the call graph for this function:

◆ test_plotter_names_have_to_be_unique_identifiers()

test_plotters.test_plotter_names_have_to_be_unique_identifiers ( )

Definition at line 59 of file test_plotters.py.

References _solver().

Here is the call graph for this function:

◆ test_plotter_shorthand_replaces_all_plotters()

test_plotters.test_plotter_shorthand_replaces_all_plotters ( )

Definition at line 77 of file test_plotters.py.

References _solver().

Here is the call graph for this function:

◆ test_plotters_get_names_from_class_and_counter()

test_plotters.test_plotters_get_names_from_class_and_counter ( )

Definition at line 47 of file test_plotters.py.

References _solver().

Here is the call graph for this function:

◆ test_plotters_must_not_share_files()

test_plotters.test_plotters_must_not_share_files ( )

Definition at line 70 of file test_plotters.py.

References _solver().

Here is the call graph for this function:

◆ test_vtk_plotter_selects_quantities()

test_plotters.test_vtk_plotter_selects_quantities (   tmp_path)

Definition at line 133 of file test_plotters.py.

References _plot_graph(), and _solver().

Here is the call graph for this function: