]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix ARKODE 3 test.
authorDavid Wells <drwells@email.unc.edu>
Sat, 28 May 2022 00:25:31 +0000 (20:25 -0400)
committerDavid Wells <drwells@email.unc.edu>
Wed, 1 Jun 2022 20:32:14 +0000 (16:32 -0400)
This works with both 5.4 and 6.2 now.

tests/sundials/arkode_03.output
tests/sundials/arkode_03_in.prm

index 503f3a999d0607944d2d78b05296a52b7119c05e..4d8a78f72d49593f250ce560de717642e22f6711 100644 (file)
@@ -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
index ce054b3b588de1d8af6a0fd4a95ec2b429f605a1..f035bb516486a054aee12c12e88809e97da4dfca 100644 (file)
@@ -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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.