Geom Module Unit Tests¶
Tests for the mesh geometry infrastructure in src/Geom/.
All C++ tests use doctest.
MPI-aware tests are registered with CTest at multiple process counts.
Building and Running¶
# Build all Geom C++ test executables
cmake --build build -t geom_unit_tests -j8
# Run every Geom CTest
ctest --test-dir build -R geom_ --output-on-failure
# Run a single suite
ctest --test-dir build -R geom_elements --output-on-failure
Target Summary¶
CMake target |
CTest name |
Source file |
Timeout |
|---|---|---|---|
|
|
test_Elements.cpp |
120 s |
|
|
test_Quadrature.cpp |
120 s |
|
|
test_MeshIndexConversion.cpp |
120 s |
|
|
test_MeshPipeline.cpp |
120 s |
|
|
test_MeshDistributedRead.cpp |
120 s |
Element Types (test_Elements.cpp)¶
See also: test_Elements.cpp
Serial-only tests for element geometry definitions, node counts, and shape function evaluation.
Quadrature Rules (test_Quadrature.cpp)¶
See also: test_Quadrature.cpp
Serial-only tests for Gaussian quadrature points and weights on standard elements (triangles, quads, tetrahedra, hexahedra, prisms, pyramids).
Mesh Index Conversion (test_MeshIndexConversion.cpp)¶
See also: test_MeshIndexConversion.cpp
MPI-parallel tests verifying local-to-global and global-to-local index conversions on partitioned meshes.
Mesh Pipeline (test_MeshPipeline.cpp)¶
See also: test_MeshPipeline.cpp
MPI-parallel end-to-end tests for the mesh construction pipeline: reading, partitioning, ghost creation, and boundary extraction.
Distributed Mesh I/O (test_MeshDistributedRead.cpp)¶
See also: test_MeshDistributedRead.cpp
MPI-parallel tests for reading CGNS mesh files in parallel and redistributing across different partition counts.