get_spacing

openpnm.topotools.get_spacing(network)[source]

Determine the spacing along each axis of a simple cubic network

Parameters

network (OpenPNM network) – The network for which spacing is desired

Returns

spacing – The spacing along each axis in the form of [Lx, Ly, Lz], where L is the physical dimension in the implied units (i.e. meters)

Return type

ndarray