- openpnm.topotools.stitch_pores(network, pores1, pores2, mode='gabriel')¶
Stitches together pores in a network with disconnected clusters
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’.
The network is operated on ‘in-place’ so nothing is returned.
- Return type