hydromodpy.spatial.mesh.gmsh_grid.zone_meshing#

Expose the public API for zone-conformal meshing on top of Gmsh.

This package is intentionally organized in layers:

  • config.py validates user-facing meshing parameters

  • domain.py resolves support-domain geometries

  • conformal.py orchestrates partitioning + Gmsh generation

  • internal helpers stay in _geometry_cleaning.py, _gmsh_driver.py and _refinement_policy.py

Import from here when you need the stable public entry points without pulling the whole internal layout into higher-level code.

Modules

config

Validate and normalize configuration for zone-conformal meshing workflows.

conformal

Generate 2D planar meshes that follow polygonal zone boundaries exactly.

contracts

Public data contracts for zone-conformal meshing.

domain

Public facade for support-domain parsing and loading.

geometry_utils

Low-level Shapely utilities shared by zone-meshing preprocessing.