Skip to content
Snippets Groups Projects
Commit 3b136e96 authored by Mohcine Chraibi's avatar Mohcine Chraibi
Browse files

Add simulation time info

parent 27baf496
No related branches found
No related tags found
No related merge requests found
......@@ -111,4 +111,7 @@ if __name__ == "__main__":
print("Simulation time: %.2f s" % (t2-t1))
if parser_args.save:
print("save simulation to movie does not work yet!")
t1 = time.time()
ani.save('ca.mp4', writer=writer)
t2 = time.time()
print("Simulation time: %.2f s" % (t2-t1))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment