hydromodpy.spatial.mesh.gmsh_grid.zone_meshing.contracts#

Public data contracts for zone-conformal meshing.

These dataclasses are the stable payload exchanged between planning code and the low-level Gmsh orchestration layer. Keeping them here makes the public API clearer and lets conformal.py focus on workflow orchestration.

Classes

ZoneConformalMeshResult(mesh, partition, ...)

Result bundle for one generated conformal planar mesh.

ZoneConformalPartition(faces, zone_keys, ...)

One clean planar partition of polygonal zones.

ZoneConformalPhysicalGroup(dimension, tag, ...)

Structured description of one physical group created during meshing.

ZoneLinearConstraint(name, kind, lines[, ...])

One named internal line constraint that must appear in the generated mesh.

ZonePartitionFace(face_id, zone_key, polygon)

One partition face carrying one stable zone key.

ZoneRegionalSizeField(name, region_geometry, ...)

One regional inside/outside background-size field.