openearth / aeolis-python

A process-based model for simulating supply-limited aeolian sediment transport
http://aeolis.readthedocs.io/
GNU General Public License v3.0
34 stars 26 forks source link

Adjustment waterlevel (zs) to bed level (zb) #178

Open bartvanwesten opened 11 months ago

bartvanwesten commented 11 months ago

Create a general function (in utils.py) to adjust zs to zb and call everytime zb is adjusted (avalanching, bed_update, wet_bed_reset, ...?)

Sierd commented 2 months ago

@bartvanwesten is this properly addressed by these lines? Or do you have something else in mind?

https://github.com/openearth/aeolis-python/blob/ac0cc346cf60768e8b15c14309309558186c9bf0/aeolis/avalanching.py#L187-L190