set_inlets¶
- OrdinaryPercolation.set_inlets(pores=[], overwrite=False)[source]¶
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. IfFalse
(default), then supplied locations are added to any already existing inlet locations.