Geometry.to_blocks_and_interfaces

Geometry.to_blocks_and_interfaces()[source]

Convert the geometry to a list of block meshes, and a list of block index pairs representing connections or interfaces.

Returns

tuple

  1. List of meshes representing the block geometries.

  2. List of block index pairs representing connections or interfaces.