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

Unit tests for the separate eigenvalue tasks of the Finite Volume schemes: update cell -> compute max eigenvalue -> reduce max eigenvalue -> time step size (exahype2.api.fv.actionsets.ComputeMaxEigenvalue). More...

Functions

 _time_step (scheme, tmp_path)
 test_eigenvalue_is_computed_stored_and_reduced_before_the_time_step_size (scheme, tmp_path)
 test_time_step_size_is_computed_after_the_roll_over (tmp_path)
 test_explicit_eigenvalue_follows_the_update_and_runs_beside_the_projection (tmp_path)
 test_optimistic_eigenvalue_follows_both_branches_and_runs_beside_the_spawn (tmp_path)
 test_update_does_not_store_an_eigenvalue (scheme, tmp_path)
 test_update_eigenvalue_and_reduction_fold_into_one_traversal (scheme, tmp_path)
 test_eigenvalue_task_calls_the_eigenvalue_kernel (tmp_path)
 The eigenvalue task must call the eigenvalue kernel (not the time step kernel).

Variables

dict SCHEMES

Detailed Description

Unit tests for the separate eigenvalue tasks of the Finite Volume schemes: update cell -> compute max eigenvalue -> reduce max eigenvalue -> time step size (exahype2.api.fv.actionsets.ComputeMaxEigenvalue).

Function Documentation

◆ _time_step()

◆ test_eigenvalue_is_computed_stored_and_reduced_before_the_time_step_size()

test_fv_eigenvalue_tasks.test_eigenvalue_is_computed_stored_and_reduced_before_the_time_step_size ( scheme,
tmp_path )

Definition at line 34 of file test_fv_eigenvalue_tasks.py.

References _time_step().

Here is the call graph for this function:

◆ test_eigenvalue_task_calls_the_eigenvalue_kernel()

test_fv_eigenvalue_tasks.test_eigenvalue_task_calls_the_eigenvalue_kernel ( tmp_path)

The eigenvalue task must call the eigenvalue kernel (not the time step kernel).

Definition at line 132 of file test_fv_eigenvalue_tasks.py.

References _time_step().

Here is the call graph for this function:

◆ test_explicit_eigenvalue_follows_the_update_and_runs_beside_the_projection()

test_fv_eigenvalue_tasks.test_explicit_eigenvalue_follows_the_update_and_runs_beside_the_projection ( tmp_path)

Definition at line 60 of file test_fv_eigenvalue_tasks.py.

References _time_step().

Here is the call graph for this function:

◆ test_optimistic_eigenvalue_follows_both_branches_and_runs_beside_the_spawn()

test_fv_eigenvalue_tasks.test_optimistic_eigenvalue_follows_both_branches_and_runs_beside_the_spawn ( tmp_path)

Definition at line 70 of file test_fv_eigenvalue_tasks.py.

References _time_step().

Here is the call graph for this function:

◆ test_time_step_size_is_computed_after_the_roll_over()

test_fv_eigenvalue_tasks.test_time_step_size_is_computed_after_the_roll_over ( tmp_path)

Definition at line 49 of file test_fv_eigenvalue_tasks.py.

References _time_step().

Here is the call graph for this function:

◆ test_update_does_not_store_an_eigenvalue()

test_fv_eigenvalue_tasks.test_update_does_not_store_an_eigenvalue ( scheme,
tmp_path )

Definition at line 84 of file test_fv_eigenvalue_tasks.py.

References _time_step().

Here is the call graph for this function:

◆ test_update_eigenvalue_and_reduction_fold_into_one_traversal()

test_fv_eigenvalue_tasks.test_update_eigenvalue_and_reduction_fold_into_one_traversal ( scheme,
tmp_path )

Definition at line 107 of file test_fv_eigenvalue_tasks.py.

References _time_step().

Here is the call graph for this function:

Variable Documentation

◆ SCHEMES

dict test_fv_eigenvalue_tasks.SCHEMES
Initial value:
1= {
4}
Finite Volumes with a Rusanov Riemann solver and explicit Euler time stepping, realised over a block-...
Finite Volumes with a Rusanov Riemann solver and optimistic explicit Euler time stepping,...

Definition at line 15 of file test_fv_eigenvalue_tasks.py.