1
0
Fork 0
mirror of https://gitlab.rlp.net/mobitar/ReCo.jl.git synced 2024-12-21 00:51:21 +00:00

Don't save when debuggin

This commit is contained in:
MoBit 2021-11-18 20:07:41 +01:00
parent a599f2315c
commit 7abfb6e868

View file

@ -5,12 +5,14 @@ function postprocess(sol, variables, save_data)
directory = "exports/$(variables.end_time)_T=$(variables.T)_N=$(variables.N)_v=$(variables.v)"
mkdir(directory)
if save_data || (variables.framerate > 0)
mkdir(directory)
save_variables(directory; variables=variables)
end
if save_data
save_data_jld(directory; sol=sol, variables=variables)
save_variables(directory; variables=variables)
end
if variables.framerate > 0