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

Hanging faces on adaptive meshes: the toolbox action sets (toolbox.blockstructured.api.InterpolateHangingFaces, toolbox.blockstructured.api.RestrictHangingFaces) and how the Finite Volume scheme uses them. More...

Functions

 _face_patch ()
 
 test_interpolation_defaults_to_linear_in_create_hanging_face ()
 
 test_piecewise_constant_interpolation ()
 
 test_averaging_restricts_in_destroy_hanging_face_and_clears_faces ()
 
 test_injection_does_not_clear_faces ()
 
 _graphs (tmp_path, **scheme_arguments)
 
 _action_sets_of_type (task, action_set_type)
 
 test_time_step_interpolates_before_reconstruction_and_restricts_projection (tmp_path)
 
 test_schemes_are_configurable (tmp_path)
 

Variables

 ActionSet = peano4.api.solversteps.ActionSet
 
 Interpolate = toolbox.blockstructured.api.InterpolateHangingFaces
 
 Restrict = toolbox.blockstructured.api.RestrictHangingFaces
 

Detailed Description

Hanging faces on adaptive meshes: the toolbox action sets (toolbox.blockstructured.api.InterpolateHangingFaces, toolbox.blockstructured.api.RestrictHangingFaces) and how the Finite Volume scheme uses them.

Function Documentation

◆ _action_sets_of_type()

test_hanging_faces._action_sets_of_type (   task,
  action_set_type 
)
protected

Definition at line 92 of file test_hanging_faces.py.

Referenced by test_schemes_are_configurable(), and test_time_step_interpolates_before_reconstruction_and_restricts_projection().

Here is the caller graph for this function:

◆ _face_patch()

◆ _graphs()

test_hanging_faces._graphs (   tmp_path,
**  scheme_arguments 
)
protected

Definition at line 65 of file test_hanging_faces.py.

Referenced by test_schemes_are_configurable(), and test_time_step_interpolates_before_reconstruction_and_restricts_projection().

Here is the caller graph for this function:

◆ test_averaging_restricts_in_destroy_hanging_face_and_clears_faces()

test_hanging_faces.test_averaging_restricts_in_destroy_hanging_face_and_clears_faces ( )

Definition at line 42 of file test_hanging_faces.py.

References _face_patch(), and Restrict.

Here is the call graph for this function:

◆ test_injection_does_not_clear_faces()

test_hanging_faces.test_injection_does_not_clear_faces ( )

Definition at line 55 of file test_hanging_faces.py.

References _face_patch(), and Restrict.

Here is the call graph for this function:

◆ test_interpolation_defaults_to_linear_in_create_hanging_face()

test_hanging_faces.test_interpolation_defaults_to_linear_in_create_hanging_face ( )

Definition at line 22 of file test_hanging_faces.py.

References _face_patch(), and Interpolate.

Here is the call graph for this function:

◆ test_piecewise_constant_interpolation()

test_hanging_faces.test_piecewise_constant_interpolation ( )

Definition at line 36 of file test_hanging_faces.py.

References _face_patch(), and Interpolate.

Here is the call graph for this function:

◆ test_schemes_are_configurable()

test_hanging_faces.test_schemes_are_configurable (   tmp_path)

Definition at line 112 of file test_hanging_faces.py.

References _action_sets_of_type(), and _graphs().

Here is the call graph for this function:

◆ test_time_step_interpolates_before_reconstruction_and_restricts_projection()

test_hanging_faces.test_time_step_interpolates_before_reconstruction_and_restricts_projection (   tmp_path)

Definition at line 96 of file test_hanging_faces.py.

References _action_sets_of_type(), and _graphs().

Here is the call graph for this function:

Variable Documentation

◆ ActionSet

test_hanging_faces.ActionSet = peano4.api.solversteps.ActionSet

Definition at line 13 of file test_hanging_faces.py.

◆ Interpolate

test_hanging_faces.Interpolate = toolbox.blockstructured.api.InterpolateHangingFaces

◆ Restrict

test_hanging_faces.Restrict = toolbox.blockstructured.api.RestrictHangingFaces