|
pnm 1.0.3
peclet.pnm — pore-network extraction from SDF geometry (Kokkos)
|
Functions | |
| grid (shape_xyz) | |
| throats (conns) | |
| check_one_sphere () | |
| check_two_spheres () | |
| check_sphere_lattice () | |
peclet.pnm binding smoke: the synthetic-SDF contracts through the Python API. Run: PYTHONPATH=<pnm build dir> python tests/python/test_smoke.py (registered as the `pnm_python_smoke` ctest under PECLET_PNM_BUILD_TESTS). The same three geometries as tests/kokkos/test_pnm.cpp, with the same hand-derived counts, so a (Nz, Ny, Nx) array / z-y-x origin+spacing convention slip in the binding shows up as a count or position mismatch here while the C++ contract stays green.
| test_smoke.grid | ( | shape_xyz | ) |
Definition at line 18 of file test_smoke.py.
Referenced by check_one_sphere(), check_sphere_lattice(), and check_two_spheres().
| test_smoke.throats | ( | conns | ) |
Definition at line 29 of file test_smoke.py.
Referenced by check_sphere_lattice(), and check_two_spheres().
| test_smoke.check_one_sphere | ( | ) |
Definition at line 33 of file test_smoke.py.
References grid().
Referenced by check_sphere_lattice().
| test_smoke.check_two_spheres | ( | ) |
Definition at line 59 of file test_smoke.py.
References grid(), and throats().
Referenced by check_sphere_lattice().
| test_smoke.check_sphere_lattice | ( | ) |
Definition at line 75 of file test_smoke.py.
References check_one_sphere(), check_sphere_lattice(), check_two_spheres(), grid(), and throats().
Referenced by check_sphere_lattice().