Commit 976d64a7 authored by David Vincent's avatar David Vincent
Browse files

error: compute_sediment was used since the first iteration even if the

initial time of the equation was larger
parent 87e30ca2
Pipeline #1892 failed with stage
in 31 minutes and 33 seconds
......@@ -1306,10 +1306,10 @@ class Loop:
self._equations[0]._temporal_solver.iterate(self._equations[0]._solution, self._dt, self._time)
else:
for i in self._equations:
if isinstance(i,ShallowWaterTracer2d):
if i._is_sediment:
i.compute_sediment(self._dt)
if self._time > i._initial_time-self._eps and self._time < i._final_time+self._eps:
if isinstance(i,ShallowWaterTracer2d):
if i._is_sediment:
i.compute_sediment(self._dt)
i._temporal_solver.initialize(i._solution, self._dt, self._time)
for j in range(self._equations[0]._temporal_solver.nstep()):
for i in self._equations:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment