From: David Wells Date: Sat, 28 May 2022 00:25:31 +0000 (-0400) Subject: Fix ARKODE 3 test. X-Git-Tag: v9.4.0-rc1~82^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93d31b7a85585c10b3bfe2c77b0174460721a5de;p=dealii.git Fix ARKODE 3 test. This works with both 5.4 and 6.2 now. --- diff --git a/tests/sundials/arkode_03.output b/tests/sundials/arkode_03.output index 503f3a999d..4d8a78f72d 100644 --- a/tests/sundials/arkode_03.output +++ b/tests/sundials/arkode_03.output @@ -1,12 +1,12 @@ DEAL::0.00000 3.900000000 1.100000000 2.800000000 -DEAL::1.000000000 2.075274578 1.059601971 2.499947291 -DEAL::2.000000000 1.100460018 1.723610111 2.499972248 -DEAL::3.000000000 0.7896202372 2.326668043 2.499980243 -DEAL::4.000000000 0.8117726433 2.725583965 2.499982784 -DEAL::5.000000000 1.187002916 2.595541878 2.499973234 -DEAL::6.000000000 1.887311324 1.494098057 2.499934582 -DEAL::7.000000000 1.323271340 1.619016372 2.499963670 -DEAL::8.000000000 0.9217874641 2.130219386 2.499972986 -DEAL::9.000000000 0.8495425770 2.539475069 2.499983024 -DEAL::10.00000000 1.064969831 2.595955794 2.499973386 +DEAL::1.000000000 2.075274578 1.059601971 2.499947382 +DEAL::2.000000000 1.100460018 1.723610111 2.499972220 +DEAL::3.000000000 0.7896202372 2.326668043 2.499980117 +DEAL::4.000000000 0.8117726433 2.725583965 2.499984008 +DEAL::5.000000000 1.187002916 2.595541878 2.499971084 +DEAL::6.000000000 1.887311324 1.494098057 2.499930049 +DEAL::7.000000000 1.323271341 1.619016372 2.499966501 +DEAL::8.000000000 0.9217874641 2.130219386 2.499975040 +DEAL::9.000000000 0.8495425770 2.539475069 2.499979558 +DEAL::10.00000000 1.064969831 2.595955794 2.499973382 diff --git a/tests/sundials/arkode_03_in.prm b/tests/sundials/arkode_03_in.prm index ce054b3b58..f035bb5164 100644 --- a/tests/sundials/arkode_03_in.prm +++ b/tests/sundials/arkode_03_in.prm @@ -2,14 +2,18 @@ set Final time = 10 set Initial time = 0 set Time interval between each output = 0.1 subsection Error control - set Absolute error tolerance = 0.00000001 - set Relative error tolerance = 0.00000001 + # making this tolerance any lower prevents convergence in 5.4: + # this is fixed in 6.2 + set Absolute error tolerance = 1e-8 + set Relative error tolerance = 1e-8 end subsection Running parameters set Implicit function is linear = true set Implicit function is time independent = true - set Initial step size = 0.010000 - set Maximum number of nonlinear iterations = 10 + set Initial step size = 1e-6 + set Maximum number of nonlinear iterations = 30 set Maximum order of ARK = 5 - set Minimum step size = 0.000001 + set Minimum step size = 1e-7 + # A larger subspace, combined with looser tolerances, are required by 5.4 + set Anderson-acceleration subspace = 5 end