hydromodpy.physics.flow.flow_runtime_validators#
Pre-validators for the Boussinesq runtime knobs on FlowConfig.
These free functions implement the normalization logic for the 13 flat
runtime_* / vi_* / ts_vi_* fields kept on FlowConfig
for backward-compatible TOML payloads. Extracting them keeps
flow_config.py focused on the field declarations.
Functions
|
Validate a boolean flag accepting common string forms. |
|
Validate a strictly-positive float with a default. |
|
Validate an optional strictly-positive float override. |
|
Validate a required strictly-positive integer with a default. |
|
Validate an optional strictly-positive integer override. |
|
Normalize the optional Boussinesq runtime backend selector. |
|
Normalize the optional Boussinesq surface-interaction selector. |