Commit 87c517a3 authored by David Vincent's avatar David Vincent
Browse files

fix offline testcase:

 * the initial time has to be the same with and
without offline
 * restart index is 1
parent ecb204e6
Pipeline #1705 passed with stage
in 26 minutes and 11 seconds
......@@ -75,9 +75,9 @@ loop.add_equation(eq)
loop.add_equation(eq2)
loop.run()
n_restart = 25
n_restart = 1
eq3 = slim.ShallowWaterTracer2d(domain, "implicit",'./output', name="tracer_offline", offline = True, initial_time=n_restart*dt, final_time=nbSteps*dt)
eq3 = slim.ShallowWaterTracer2d(domain, "implicit",'./output', name="tracer_offline", offline = True, initial_time=0, final_time=nbSteps*dt)
eq3.set_initial_condition(("tracer_CI.nc","CI"))
eq3.set_diffusivity("okubo",okubo_coefficient=0.0)
eq3.set_boundary_coast("Wall")
......
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