get_shape¶
- openpnm.topotools.get_shape(network)[source]¶
Determine the shape of each axis of a simple cubic network
- Parameters
network (OpenPNM network) – The network for which shape is desired
- Returns
shape – The shape along each axis in the form of
[Nx, Ny, Nz]
whereN
is the number of pores- Return type
ndarray