From ce26db78cf825cc7fbd0b7a222d84dc56b3470e1 Mon Sep 17 00:00:00 2001 From: Philipp Grete Date: Thu, 5 Sep 2024 15:52:49 +0200 Subject: [PATCH] Limit timestep --- .../aniso_therm_cond_gauss_conv.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tst/regression/test_suites/aniso_therm_cond_gauss_conv/aniso_therm_cond_gauss_conv.py b/tst/regression/test_suites/aniso_therm_cond_gauss_conv/aniso_therm_cond_gauss_conv.py index 8e873d17..fb2a187b 100644 --- a/tst/regression/test_suites/aniso_therm_cond_gauss_conv/aniso_therm_cond_gauss_conv.py +++ b/tst/regression/test_suites/aniso_therm_cond_gauss_conv/aniso_therm_cond_gauss_conv.py @@ -98,6 +98,10 @@ def Prepare(self, parameters, step): "parthenon/output0/id=%s" % outname, "hydro/gamma=2.0", "parthenon/time/tlim=%f" % tlim, + # Work around for RKL2 integrator (that, by default, does not limit the + # timestep, which in newer versions of Parthenon results in triggering + # a fail-safe given the default init value of numeric_limits max. + "parthenon/time/dt_ceil=%f" % tlim, "diffusion/conduction=%s" % conduction, "diffusion/thermal_diff_coeff_code=0.25", "diffusion/integrator=%s" % int_cfg,