hydromodpy.spatial.mesh.gmsh_grid.zone_meshing.domain#

Public facade for support-domain parsing and loading.

The concrete implementation is split across internal helpers:

  • _domain_contracts.py for the public typed payloads

  • _domain_schema.py for Pydantic validation

  • _domain_geometry.py for geometry cleanup helpers

  • _domain_loaders.py for the actual bbox / polygon / vector / geographic_* loading paths

This file intentionally keeps the stable import surface used by the rest of the meshing stack.

Functions

load_zone_meshing_domain_payload(config, *)

Load one domain geometry and return one typed payload.

parse_zone_meshing_domain_config(config_data)

Return one typed support-domain contract from a raw mapping.