Version 2.0.0 alpha
Release notes written by A. Wickert
- Generated accurate network connections that tie downstream segments to an arbitrary number of upstream segments; tested with one or two.
- One
*ext
array for each junction. - Overhauled functions to look for these
*ext
arrays within a list.
- One
- Enabled calculations with variable cell spacing.
- Created a mode for special handling of tributary-junction cells.
- Scale aggradation or incision by an approximation of the areal extent of the junction, both upstream and downstream of the confluence, to respective dx/2 from the upstream-most cell in the downstream segment (i.e., the node directly at the confluence)
- Modified calculations for each cell immediately upstream of the tributary junction to use an upwind difference scheme for dQ (difference in discharge) to not reach below the confluence. Doing so would unrealistically indicate a large increase in discharge within the tributary itself.
- Enabled setting
(x,z)
of the downstream (base-level) boundary, whose machinery permits moving-boundary formulations. - Located major variable handling (
x, z, Q
) within theNetwork
class. This may preface development of an approach in which process modules employ a more generalized network structure. - Recognized that the GRLP numerical approximation requires gradual changes in sediment:water discharge ratio to avoid underestimating downstream channel slopes. Because such changes tend to be gradual in nature, I did not create a higher-order approximation for dQ.
- Separated
dx_ext_2cell
fromC0
, which would enable higher order approximations. However, if I do not use these, such a change may prove to be unnecessary and to add complexity to the ultimate code, with reason to undo it. - Add
initialize(self)
to theNetwork
class. - Made
S0
be positive downstream (sloping downwards). - Further tested and organized sparse-matrix-generation code.
- Added many examples for both development and implementation of working code.
Autogenerated release notes
What's Changed
- Var dx by @awickert in #7
- Variable dx works in networks by @awickert in #8
- Variable dx and full new network by @awickert in #9
- Merge Qsmear: Central difference, Q averaging, updated "example" tests. by @awickert in #10
Full Changelog: v1.8.0...v2.0.0-alpha