- find_isolated_clusters(network, mask, inlets)[source]#
Identifies pores and throats that are invaded but not connected to the inlets
network (dict) – The OpenPNM Network
mask (ndarray) – A boolean mask of either Nt or Np length with
Truevalues indicating invaded bonds or sites. If this array is Nt-long then then bond percolation is used to identify clusters, whereas site percolation is used if it is Np-long.
inlets (ndarray) – A array containing indices of the pores which define the inlets. Any clusters not connected to these sites are considered isolated.
sites – An ndarray containing the indices of invaded pores which are not connected to the given
- Return type: