Commit a08d5e19 authored by Alberto Ramos's avatar Alberto Ramos

Added frequent flushing of log file

parent eee4b8c5
......@@ -161,6 +161,9 @@ for i in 1:nthm
i, nthm, acc[i] ? "true " : "false", dh[i], pl[i],
sfc[i,1], sfc[i,2])
end
if i%10 == 0
flush(flog)
end
end
......@@ -204,6 +207,10 @@ for i in 1:nt
Qt[end,kfl] = Qtop(U, gp, lp, ymws)
end
U .= ymws.U1
if i%10 == 0
flush(flog)
end
end
print_timer(flog)
......
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