Skip to content
Snippets Groups Projects
Commit a74f6a2e authored by Pierre Augier's avatar Pierre Augier
Browse files

examples/time_stepping/3d: short_name_type_run containing cubic

parent 4f3ceaec
No related branches found
No related tags found
1 merge request!159Finalize phaseshift study
......@@ -107,9 +107,12 @@
params = Simul.create_default_params()
params.short_name_type_run = (
f"{args.type_time_scheme}_trunc{args.coef_dealiasing:.3f}"
)
if args.truncation_shape == "cubic":
str_trunc_shape = "_cubic_"
else:
str_trunc_shape = ""
params.short_name_type_run = f"{args.type_time_scheme}_trunc{str_trunc_shape}{args.coef_dealiasing:.3f}"
if args.nb_pairs != 1:
params.short_name_type_run += f"_nb_pairs{args.nb_pairs}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment