Skip to content

Commit 70060f0

Browse files
committed
autopush
1 parent f799bd0 commit 70060f0

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

benchmark.jl

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,11 +260,19 @@ for key in keys(plot_labels)
260260
)
261261

262262
elseif key == :divergence
263+
if closure_name == "INS.jl"
264+
@info "Skipping INS.jl for divergence plot"
265+
continue
266+
end
263267
plot_divergence(
264268
outdir, closure_name, nles, Φ, data_index, ax, color, PLOT_STYLES
265269
)
266270

267271
elseif key == :energy_evolution
272+
if closure_name == "INS.jl"
273+
@info "Skipping INS.jl for energy evolution plot"
274+
continue
275+
end
268276
plot_energy_evolution(
269277
outdir, closure_name, nles, Φ, data_index, ax, color, PLOT_STYLES
270278
)
@@ -275,8 +283,15 @@ for key in keys(plot_labels)
275283
)
276284

277285
elseif key== :energy_spectra
278-
num_of_models = length(list_confs)
279-
plot_energy_spectra(
286+
if closure_name == "INS.jl"
287+
@info "Skipping INS.jl for energy spectra plot"
288+
continue
289+
end
290+
# Plot energy spectra for all models in the same figure
291+
# This is done to compare the models in a single plot
292+
# and to avoid creating too many figures
293+
num_of_models = length(list_confs)
294+
plot_energy_spectra(
280295
outdir, params, closure_name, nles, Φ, data_index, fig, i,
281296
num_of_models, color, PLOT_STYLES
282297
)

0 commit comments

Comments
 (0)