Spatial Support UML Diagrams#
Scope#
These diagrams document the architecture around:
domain.supportsanddomain.zone_ids,the different support-definition cases (generated bands, rings, catchment, geology),
the bridge from domain-side supports to the generic
Fieldcontract,the way
FieldParamconsumes those supports during solver property mapping.
Code map#
hydromodpy/spatial/domain/domain_config.py: high-level domain declaration including support registration.hydromodpy/spatial/domain/spatial_support_config.py: typed support-definition models.hydromodpy/spatial/domain/spatial_support.py: runtime support builders and providers.hydromodpy/spatial/field/core/field_param.py: consumption point throughfield_spatial_id.hydromodpy/spatial/mesh/cartesian_grid/sgrid_fieldparam_discretization.py: downstream discretization over solver meshes.
Recommended reading path#
hydromodpy/spatial/domain/domain_config.pyhydromodpy/spatial/domain/spatial_support_config.pyhydromodpy/spatial/domain/spatial_support.pyhydromodpy/spatial/field/core/field_param.pyhydromodpy/spatial/mesh/cartesian_grid/sgrid_fieldparam_discretization.py
Context Diagram#
Use this diagram to position the main modules and runtime responsibilities.
Class Diagram#
Use this diagram to document the supported zone-definition cases and the
relationships between DomainConfig, support configs, provider classes,
support-field implementations, Field, and FieldParam.
Support-Resolution Activity Diagram#
Use this diagram to explain how explicit support declarations drive runtime behavior and data dependencies.
Support-Build Sequence Diagram#
Use this diagram to describe how the project facade builds and registers support objects during setup and data phases.
FieldParam-Mapping Sequence Diagram#
Use this diagram to describe how a support is consumed when a heterogeneous
FieldParam is mapped to solver arrays.