|
pnm 1.0.3
peclet.pnm — pore-network extraction from SDF geometry (Kokkos)
|
Functions | |
| test_extraction (filename) | |
| save_vtp (filename, pores) | |
Variables | |
| pores = test_extraction(sys.argv[1]) | |
Smoke test for pore-network extraction from an SDF. Run: PYTHONPATH=<pnm/build> python scripts/test_extraction.py <sdf.vti> (e.g. ../flow/data/packing_ring.vti — 7199 pores). Writes the pores to pores.vtp.
| test_extraction.test_extraction | ( | filename | ) |
Definition at line 10 of file test_extraction.py.
| test_extraction.save_vtp | ( | filename, | |
| pores | |||
| ) |
Definition at line 32 of file test_extraction.py.
| test_extraction.pores = test_extraction(sys.argv[1]) |
Definition at line 61 of file test_extraction.py.