set_inlets

Porosimetry.set_inlets(pores=[], overwrite=False)

Sets the locations from which the invader enters the network

Parameters
  • pores (array_like) – Locations that are initially filled with invader, from which clusters grow and invade into the network

  • overwrite (bool) – If True then all existing inlet locations will be removed and then the supplied locations will be added. If False (default), then supplied locations are added to any already existing inlet locations.