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:
parent
a599f2315c
commit
7abfb6e868
1 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue