hydromodpy.spatial.field.core.field_spatial#

Generic field interface and shared discretization structure.

Field is intentionally abstract: it defines the minimal contract expected by FieldParam to project heterogeneous values on a mesh. Concrete geometries (for example FieldSquare) implement the actual spatial logic.

Classes

Field(*, identifier)

Abstract field definition.

FieldDiscretization(mesh, field_id)

Abstract discretization metadata to project field values onto a mesh.