Skip to content

Commit 9be2994

Browse files
author
Lexi Van Blunk
committed
added a variable to save the post-outwah domain at all outwash model timesteps (not just the final outwash event)
1 parent 06e7847 commit 9be2994

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cascade/outwasher.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1209,6 +1209,7 @@ def __init__(
12091209
self._initial_full_domain = []
12101210
self._full_dunes = []
12111211
self._full_domain = []
1212+
self._full_domain_TS = np.zeros(time_step_count, dtype=object)
12121213
self._Qs_shoreface = np.zeros(time_step_count) # dam^3
12131214
self._Qs_shoreface_per_length = np.zeros(time_step_count) # dam^3/dam
12141215
self._elevation_change = np.zeros(time_step_count, dtype=object)
@@ -1347,6 +1348,7 @@ def update(
13471348

13481349
# domain variables we want to save
13491350
self._full_domain = Elevation[-1]
1351+
self._full_domain_TS[self._time_index - 1] = Elevation[-1]
13501352
post_outwash_interior_domain = Elevation[-1, 0:int_width, :]
13511353
post_outwash_dune_domain = Elevation[-1, int_width:int_width + n_dune_rows, :] - self._berm_el
13521354
post_outwash_beach_domain = Elevation[-1, int_width + n_dune_rows:, :]

0 commit comments

Comments
 (0)