[mesh_input] MeshInputConfig#

TOML section: [mesh_input]

Pydantic model: MeshInputConfig defined in hydromodpy.core.config_kit.mesh_input.

Source on GitHub

External pre-existing mesh declared in [mesh_input].

Either mesh_path or bundle_dir must be provided. Paths are stored as Path instances; relative paths are resolved by the call site (the simulation launcher resolves them against the TOML directory).

Show fields:

Fields#

mesh_path

Path | None default = None user source

Path to the external planar mesh file (typically a .msh). Required when bundle_dir is not provided. Relative paths are resolved against the TOML directory.

bundle_dir

Path | None default = None user source

Path to the solver-exchange mesh bundle directory associated with the external mesh. Required when mesh_path is not provided. Relative paths are resolved against the TOML directory.

Starter TOML snippet#

Click to expand a copy-pasteable [mesh_input] TOML skeleton

Copy this block into your project.toml and uncomment the lines you want to set. Sub-tables ([parent.subfield]) appear in the order Pydantic expects them.

[mesh_input]
# mesh_path = ...  # default = None
# bundle_dir = ...  # default = None

Cases using this section#

Validation gallery cases that reference fields from this section:

Entity-relationship diagram#

ER diagram for MeshInputConfig

Click to zoom and pan. Press Esc or click outside to close.