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

Unit tests for the setup with user-coded refinement criterion (exahype2.api.fv.SetupSimulationWithUserCodedRefinementCriterion). More...

Functions

 _solver (with_criterion)
 
 _setup_graph (solver, tmp_path)
 
 _task (graph, suffix)
 
 test_regular_grid_tags_initial_condition (tmp_path)
 
 test_without_criterion_setup_equals_regular_grid (tmp_path)
 
 test_adapt_mesh_task_sits_between_initial_condition_and_projection (tmp_path)
 
 test_adapt_mesh_task_hosts_criterion_and_initialisation (tmp_path)
 
 test_min_volume_size_must_not_exceed_volume_size ()
 
 test_adapt_mesh_task_evaluates_gradient_criterion (tmp_path)
 

Variables

 SetupOverRegularGrid = exahype2.api.fv.SetupSimulationOverRegularGrid
 
 SetupWithCriterion = exahype2.api.fv.SetupSimulationWithUserCodedRefinementCriterion
 

Detailed Description

Unit tests for the setup with user-coded refinement criterion (exahype2.api.fv.SetupSimulationWithUserCodedRefinementCriterion).

Function Documentation

◆ _setup_graph()

◆ _solver()

◆ _task()

◆ test_adapt_mesh_task_evaluates_gradient_criterion()

test_fv_amr_setup.test_adapt_mesh_task_evaluates_gradient_criterion (   tmp_path)

Definition at line 113 of file test_fv_amr_setup.py.

References _setup_graph(), _task(), and SetupWithCriterion.

Here is the call graph for this function:

◆ test_adapt_mesh_task_hosts_criterion_and_initialisation()

test_fv_amr_setup.test_adapt_mesh_task_hosts_criterion_and_initialisation (   tmp_path)

Definition at line 75 of file test_fv_amr_setup.py.

References _setup_graph(), _solver(), and _task().

Here is the call graph for this function:

◆ test_adapt_mesh_task_sits_between_initial_condition_and_projection()

test_fv_amr_setup.test_adapt_mesh_task_sits_between_initial_condition_and_projection (   tmp_path)

Definition at line 61 of file test_fv_amr_setup.py.

References _setup_graph(), _solver(), and _task().

Here is the call graph for this function:

◆ test_min_volume_size_must_not_exceed_volume_size()

test_fv_amr_setup.test_min_volume_size_must_not_exceed_volume_size ( )

Definition at line 107 of file test_fv_amr_setup.py.

References _solver(), and SetupWithCriterion.

Here is the call graph for this function:

◆ test_regular_grid_tags_initial_condition()

test_fv_amr_setup.test_regular_grid_tags_initial_condition (   tmp_path)

Definition at line 47 of file test_fv_amr_setup.py.

References _setup_graph(), and _solver().

Here is the call graph for this function:

◆ test_without_criterion_setup_equals_regular_grid()

test_fv_amr_setup.test_without_criterion_setup_equals_regular_grid (   tmp_path)

Definition at line 53 of file test_fv_amr_setup.py.

References _setup_graph(), _solver(), and _task().

Here is the call graph for this function:

Variable Documentation

◆ SetupOverRegularGrid

test_fv_amr_setup.SetupOverRegularGrid = exahype2.api.fv.SetupSimulationOverRegularGrid

Definition at line 11 of file test_fv_amr_setup.py.

◆ SetupWithCriterion