pnm 1.0.3
peclet.pnm — pore-network extraction from SDF geometry (Kokkos)
Loading...
Searching...
No Matches
state_hash.py File Reference

Go to the source code of this file.

Namespaces

namespace  state_hash
 

Functions

 state_hash.sha (a)
 
 state_hash.grid_xyz (gd_xyz)
 
 state_hash.sphere_lattice_sdf (gd)
 
 state_hash.mac_fields (gd, offset_xyz=(0, 0, 0), shape_xyz=None)
 
 state_hash.pores_array (pores, sort=True)
 
 state_hash.as_i32 (x, shape)
 
 state_hash.report_network (tag, net)
 
 state_hash.run_case (tag, sdf, origin_zyx, spacing_zyx, grad_p_zyx)
 
 state_hash.run_case_mpi (tag, sdf, origin_zyx, spacing_zyx, grad_p_zyx)
 
 state_hash.cases (vti, quiet)
 
 state_hash.main (argv)
 

Variables

 state_hash.HERE = os.path.dirname(os.path.abspath(__file__))
 
 state_hash.PACKING_RING = os.path.join(HERE, "..", "..", "..", "flow", "data", "packing_ring.vti")
 
tuple state_hash.LATTICE_GD_XYZ = (36, 30, 24)
 
tuple state_hash.LATTICE_ORG_XYZ = (0.5, -1.0, 2.0)
 
tuple state_hash.LATTICE_SPC_XYZ = (0.5, 1.0, 1.5)
 
tuple state_hash.LATTICE_GP_XYZ = (1.0e-3, -2.0e-3, 0.5e-3)