openpnm.topotools.generators.gabriel(points=None, delaunay=None, shape=None)[source]

Generate a network based on a Gabriel tessellation, which is a subset of the Delaunay triangulation

  • points (array_like or int, optional) – Can either be an N-by-3 array of point coordinates which will be used, or a scalar value indicating the number of points to generate. This can be omitted if delaunay is provided.

  • delaunay (network dictionary, optional) – A dictionary containing ‘vert.coords’ and ‘edge.conns’ as produced by the delaunay function. If points are provided this is ignored.

  • shape (array_like) – Indicates the size and shape of the domain


network – A dictionary containing ‘vert.coords’ and ‘edge.conns’

Return type