hydromodpy.spatial.mesh.gmsh_grid#

Public entry points for the reusable gmsh_grid mesh workflow.

The package exposes many classes and helper functions, but most users only need the public names re-exported here. Lazy imports keep import time low and avoid pulling optional dependencies such as gmsh, meshio or pyvista before they are actually needed.

Modules

bundle_export_contracts

Internal contracts used while exporting catchment mesh bundles.

cases

Reference scripts that demonstrate the Gmsh mesh workflow end to end.

catchment_mesh_bundle

Export self-contained catchment mesh bundles for external reuse.

catchment_mesh_bundle_reader

Read self-contained catchment mesh exchange bundles.

examples

Collect small examples built around the solver-independent Gmsh API.

exchange_api

Expose the simplest public I/O API for the solver-independent Gmsh workflow.

extruded_fieldparam_discretization

Project one FieldParam onto every layer of an extruded prism mesh.

extruded_mesh_values

Attach scalar values to an extruded prism mesh and export the result.

extruded_mesh_visualization

Lightweight 3D visualization helpers for extruded mesh values.

extruded_prism_mesh

Build and persist 3D prism meshes obtained by extruding one 2D Gmsh mesh.

gmsh_planar_mesh

Expose one Gmsh planar mesh through the HydroModPy mesh interface.

gmsh_reader

Read, normalize and write simple 2D Gmsh meshes.

interactive_3d_viewer

Optional PyVista-based interactive viewer for extruded 3D meshes.

planar_forcing_discretization

Forcing discretization helpers for 2-D Gmsh planar meshes.

plotting_utils

Gather small plotting helpers shared by the Gmsh reference scripts.

runtime_support

Runtime support metadata paired with one loaded Gmsh planar mesh.

trace

Lightweight optional tracing for long-running mesh workflows.

zone_meshing

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