|
DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
|
Classes | |
| class | TestArrayBytes |
| class | TestCellBarycenters |
| class | TestCellVolumes |
| class | TestDOFArrays |
| class | TestFaceAreas |
| class | TestGlobalVolume |
| class | TestJacobiDet |
| class | TestSmoothScale |
Functions | |
| mpi () | |
| str | _data_mesh_path (str name) |
| CFV.FiniteVolume | _build_fv (mpi, mesh) |
| wall_mesh_fv (mpi) | |
| periodic_mesh_fv (mpi) | |
Correctness tests for CFV.FiniteVolume through the Python bindings. Tests the FiniteVolume construction pipeline and verifies geometric quantities (volumes, areas, barycenters, normals) against known values for the Uniform_3x3_wall mesh (a 3x3 quad grid on [-1,2]^2). These tests use pytest assertions and are intended for automated CI.
|
protected |
Construct a FiniteVolume with default settings on a given mesh.
Definition at line 36 of file test_fv_correctness.py.
|
protected |
Return absolute path to a mesh file under data/mesh/.
Definition at line 29 of file test_fv_correctness.py.
| test_fv_correctness.mpi | ( | ) |
Definition at line 23 of file test_fv_correctness.py.
| test_fv_correctness.periodic_mesh_fv | ( | mpi | ) |
Build FiniteVolume on Uniform_3x3 with periodic BCs (9 quads, [0,3]^2).
Definition at line 75 of file test_fv_correctness.py.
| test_fv_correctness.wall_mesh_fv | ( | mpi | ) |
Build FiniteVolume on the Uniform_3x3_wall mesh (9 quads, [-1,2]^2).
Definition at line 66 of file test_fv_correctness.py.