Commit f5dc4e1d authored by Victor's avatar Victor
Browse files

updates on info return by runworld

parent c0473eae
Pipeline #84359 failed with stage
in 17 minutes and 42 seconds
...@@ -44,11 +44,11 @@ function run!(w::World{A,S,T},alg::L,tend::Number,b,d; ...@@ -44,11 +44,11 @@ function run!(w::World{A,S,T},alg::L,tend::Number,b,d;
break break
end end
if t - get_tend(sim) >= dt_saving if t - get_tend(sim) >= dt_saving
@info "saving world @ t = $(t)/ $(tend)" # @info "saving world @ t = $(t)/ $(tend)"
add_entry!(sim,w,cb) add_entry!(sim,w,cb)
end end
if t >= first(t_saving_cb) if t >= first(t_saving_cb)
@info "saving callback only @ t = $(t)/ $(tend)" # @info "saving callback only @ t = $(t)/ $(tend)"
add_entry_cb_only!(sim,w,cb) add_entry_cb_only!(sim,w,cb)
popfirst!(t_saving_cb) popfirst!(t_saving_cb)
end end
......
Supports Markdown
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