Field Architecture#
This section documents the hydromodpy.spatial.field layer.
Open it when you want:
the reusable field abstractions behind
FieldSpatialandFieldParam;the concrete mesh implementations reused by geology and solver adapters;
the bridge from field-side zoning to solver-side discretization workflows.
Code map#
hydromodpy/spatial/field/core/field_spatial.py: reusable field-side zone/value carrier.hydromodpy/spatial/field/core/field_param.pyandfield_param_config.py: heterogeneous parameter contract consumed downstream by solvers.hydromodpy/spatial/field/meshes/: concrete structured and triangular mesh implementations.hydromodpy/spatial/field/geology/: geology-backed specialisations built on the same field contract.
Recommended reading path#
hydromodpy/spatial/field/README.mdhydromodpy/spatial/field/core/field_spatial.pyhydromodpy/spatial/field/core/field_param.pyone mesh implementation under
hydromodpy/spatial/field/meshes/hydromodpy/spatial/field/cases/square/for a concrete runnable example
Core class diagram#
This view is intentionally limited to the reusable field.core
abstractions.
Square case relation diagram#
This view shows how the square example specialises the core abstractions and which concrete mesh implementations it reuses.
Activity diagram#
Sequence diagram#