Commit 5464cf38 authored by Jacob Davison's avatar Jacob Davison
Browse files

print total time

parent 3ace390f
......@@ -199,7 +199,7 @@ def main3b(n_holes, n_particles, ref=None, d=1.0, g=0.5, pb=0.0):
end = time.time() # finish full timer
time_str = "Program finished in {:2.5f} seconds\n".format(end-start) # output total time
del ha, ot, wg, fl, solver, y0, sfinal, ds # clear resources
return (convergence, iters, d, g, pb, n_holes+n_particles, s_vals, E_vals, time_str)
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