Lumped Arid/Semi-arid Model (LASAM) simulates infiltration and surface runoff (two important components of the hydrologic cycle) based on Layered Green-Ampt with redistribution (LGAR) model
Refactored the code to run LGAR on multi-catchments, and fixed negative wetting front depth and mass balance issues. The code passes the unit tests, synthetic, and real field examples. The results are unchanged for the existing tests.
Additions
Most of the functions now take head as an argument
`
Removals
removed head as a global pointer
Changes
changes to functions' arguments
Testing
MacOS (all tests passed)
Checklist
[x] PR has an informative and human-readable title
[x] Changes are limited to a single goal (no scope creep)
[x] Code can be automatically merged (no conflicts)
[x] Passes all existing automated tests
[x] Reviewers requested with the Reviewers tool :arrow_right:
Refactored the code to run LGAR on multi-catchments, and fixed negative wetting front depth and mass balance issues. The code passes the unit tests, synthetic, and real field examples. The results are unchanged for the existing tests.
Additions
head
as an argument `Removals
head
as a global pointerChanges
Testing
Checklist