to_global

SquaresAndRectangles.to_global(pores=None, throats=None)

Convert local indices from a subdomain object to global values

Parameters
  • pores (array_like) – List of pore or throat indices to be converted

  • throats (array_like) – List of pore or throat indices to be converted

Returns

indices – An array of location indices

Return type

ndarray