stitch_pores

openpnm.topotools.stitch_pores(network, pores1, pores2, mode='gabriel')[source]

Stitches together pores in a network with disconnected clusters

Parameters
  • network (OpenPNM Network) – The network to operate upon

  • pores2 (pores1 and) – The pore indices of the disconnected clusters to be joined

  • mode (str) – Dictates which tesselation method is used to identify which pores to stitch together. Options are ‘gabriel’ (default) or ‘delaunay’.

Returns

The network is operated on ‘in-place’ so nothing is returned.

Return type

None