|
| int | main (int argc, char **argv) |
| |
| | TEST_CASE ("Pipeline: all five states are Local") |
| |
| | TEST_CASE ("Pipeline: global cell count matches expected") |
| |
| | TEST_CASE ("Pipeline: global bnd count matches expected") |
| |
| | TEST_CASE ("InterpolateFace: face count is positive") |
| |
| | TEST_CASE ("InterpolateFace: face2cell has exactly 2 entries per face") |
| |
| | TEST_CASE ("InterpolateFace: face2cell owner is a valid local cell") |
| |
| | TEST_CASE ("InterpolateFace: face2node indices in valid range") |
| |
| | TEST_CASE ("InterpolateFace: cell2face row sizes match expected face count") |
| |
| | TEST_CASE ("InterpolateFace: cell2face entries are valid face indices") |
| |
| | TEST_CASE ("InterpolateFace: bnd2face maps to valid faces") |
| |
| | TEST_CASE ("InterpolateFace: face element types are valid") |
| |
| | TEST_CASE ("InterpolateFace: DSL matches Legacy on all mesh configs") |
| |
Parameterized doctest tests for the full mesh pipeline.
Each mesh configuration (file, dimension, periodic settings, expected counts) is tested through the complete pipeline:
- Pipeline state tracking: every state variable checked
- InterpolateFace: face topology, face2cell, bnd2face
- ReorderLocalCells: cell permutation, partition starts
- N2CB, C2F, Facial, C2CFace adjacency validation
- ConstructBndMesh, BuildVTKConnectivity
- Global count conservation
- All 5 Adj round-trip inverses (on one mesh config)
Mesh configurations: [0] UniformSquare_10 – 2D, 100 quad cells, non-periodic [1] IV10_10 – 2D, 100 quad cells, periodic (isentropic vortex) [2] NACA0012_H2 – 2D, 20816 unstructured quad cells, non-periodic (airfoil) [3] IV10U_10 – 2D, 322 unstructured tri cells, periodic (isentropic vortex)
Definition in file test_MeshPipeline.cpp.