Converts a boolean mask to a list of pore or throat indices.
mask (array_like of booleans) – A boolean array with
Trueat locations where indices are desired. The appropriate indices are returned based an the length of mask, which must be either Np or Nt long.
A list of pore or throat indices corresponding the locations where the received mask was
- Return type
This behavior could just as easily be accomplished by using the mask in
pn.throats()[mask]. This method is just a convenience function and is a complement to