get_domain_length

openpnm.topotools.get_domain_length(network, inlets=None, outlets=None)[source]

Determine the domain length relative to the inlets/outlets.

Parameters
  • network (GenericNetwork) – The network object containing the pore coordinates

  • inlets (array_like) – The pore indices of the inlets.

  • putlets (array_Like) – The pore indices of the outlets.

Returns

area – The domain length relative to the inlets/outlets.

Return type

scalar