Skip to content

Commit

Permalink
Feature: MRI Adaptivity (#40)
Browse files Browse the repository at this point in the history
Update answers for LLNL/sundials#564
  • Loading branch information
drreynolds authored Dec 4, 2024
1 parent 5dca98a commit 294c370
Show file tree
Hide file tree
Showing 71 changed files with 6,755 additions and 544 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ Final Solver Statistics:
Total RHS evals: Fe = 0, Fi = 1111
Total mass matrix setups = 1
Total mass matrix solves = 193
Total mass times evals = 1688
Total mass times evals = 1687
Total linear solver setups = 31
Total number of Jacobian evaluations = 11
Total number of Newton iterations = 1118
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
Final Solver Statistics:
Slow Steps: nsts = 10001
Fast Steps: nstf = 120012
Total RHS evals: Fs = 68887, Ff = 360046
Total RHS evals: Fs = 68877, Ff = 360046
Slow Newton iters = 38883
Slow Newton conv fails = 0
Slow Jacobian evals = 501
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
Final Solver Statistics:
Slow Steps: nsts = 10001
Fast Steps: nstf = 120012
Total RHS evals: Fs = 68887, Ff = 840121
Total RHS evals: Fs = 68877, Ff = 840121
Slow Newton iters = 38883
Slow Newton conv fails = 0
Slow Jacobian evals = 501
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,26 +51,26 @@
t ||u||_rms
----------------------------------------------
0.000000000000000e+00 3.172144385112383e+00
5.000000000000000e-01 3.136741760652088e+00
1.000000000000000e+00 3.125063175301122e+00
1.500000000000000e+00 3.152612863029649e+00
2.000000000000000e+00 3.252046438757223e+00
2.500000000000000e+00 3.404770336275880e+00
3.000000000000000e+00 3.570197843463192e+00
3.500000000000000e+00 3.699979298705992e+00
4.000000000000000e+00 3.694673743577147e+00
4.500000000000000e+00 3.628192807357139e+00
5.000000000000000e+00 3.475181871691853e+00
5.500000000000000e+00 3.343883541753708e+00
6.000000000000000e+00 3.234020189727759e+00
6.500000000000000e+00 3.082396969215168e+00
7.000000000000000e+00 2.890645348225157e+00
7.500000000000000e+00 2.837264086636537e+00
8.000000000000000e+00 2.898204389104409e+00
8.500000000000000e+00 3.140043837970826e+00
9.000000000000000e+00 3.442234882231944e+00
9.500000000000000e+00 3.740410418605710e+00
1.000000000000000e+01 4.014486526389547e+00
5.000000000000000e-01 3.136741760652099e+00
1.000000000000000e+00 3.125063175301384e+00
1.500000000000000e+00 3.152612863412849e+00
2.000000000000000e+00 3.252046440476493e+00
2.500000000000000e+00 3.404770348632562e+00
3.000000000000000e+00 3.570197872739926e+00
3.500000000000000e+00 3.699979354348030e+00
4.000000000000000e+00 3.694673808835031e+00
4.500000000000000e+00 3.628192806293943e+00
5.000000000000000e+00 3.475181810897179e+00
5.500000000000000e+00 3.343883397076133e+00
6.000000000000000e+00 3.234019997282326e+00
6.500000000000000e+00 3.082396794749013e+00
7.000000000000000e+00 2.890645249288640e+00
7.500000000000000e+00 2.837264083079534e+00
8.000000000000000e+00 2.898204488519986e+00
8.500000000000000e+00 3.140043990739560e+00
9.000000000000000e+00 3.442235032838624e+00
9.500000000000000e+00 3.740410563929244e+00
1.000000000000000e+01 4.014486664210758e+00
----------------------------------------------

Final integrator statistics:
Expand All @@ -80,20 +80,20 @@ Slow Integrator:
RHS diffusion = 792
NLS iters = 396
NLS fails = 0
LS iters = 2633
LS fails = 1
LS iters = 2648
LS fails = 0
LS setups = 0
LS RHS evals = 2633
Jv products = 2633
LS RHS evals = 2648
Jv products = 2648

Avg NLS iters per step attempt = 3.000000
Avg LS iters per NLS iter = 6.648990
Avg LS iters per NLS iter = 6.686869

Preconditioner setups = 0
Preconditioner solves = 2633
Preconditioner solves = 2648

Fast Integrator:
Steps = 470
Step attempts = 470
Error test fails = 0
RHS reaction = 1827
RHS reaction = 1959
Original file line number Diff line number Diff line change
Expand Up @@ -51,26 +51,26 @@
t ||u||_rms
----------------------------------------------
0.000000000000000e+00 3.172144385112383e+00
5.000000000000000e-01 3.136722629465066e+00
1.000000000000000e+00 3.125057552024107e+00
1.500000000000000e+00 3.152636979017849e+00
2.000000000000000e+00 3.252085784090209e+00
2.500000000000000e+00 3.404791619294692e+00
3.000000000000000e+00 3.570175845435155e+00
3.500000000000000e+00 3.699871659893790e+00
4.000000000000000e+00 3.694354186527817e+00
4.500000000000000e+00 3.627867393042675e+00
5.000000000000000e+00 3.474857085470333e+00
5.500000000000000e+00 3.343640002216235e+00
6.000000000000000e+00 3.233844046127573e+00
6.500000000000000e+00 3.082251062694890e+00
7.000000000000000e+00 2.890585369424727e+00
7.500000000000000e+00 2.837315452756403e+00
8.000000000000000e+00 2.898424893360023e+00
8.500000000000000e+00 3.140291028418674e+00
9.000000000000000e+00 3.442457327179101e+00
9.500000000000000e+00 3.740600281376645e+00
1.000000000000000e+01 4.014633156501281e+00
5.000000000000000e-01 3.136722629482694e+00
1.000000000000000e+00 3.125057552043193e+00
1.500000000000000e+00 3.152636979427879e+00
2.000000000000000e+00 3.252085798917689e+00
2.500000000000000e+00 3.404791659743048e+00
3.000000000000000e+00 3.570175896142432e+00
3.500000000000000e+00 3.699871775695501e+00
4.000000000000000e+00 3.694354328938385e+00
4.500000000000000e+00 3.627867445226587e+00
5.000000000000000e+00 3.474857036434463e+00
5.500000000000000e+00 3.343639835515735e+00
6.000000000000000e+00 3.233843797982778e+00
6.500000000000000e+00 3.082250805521703e+00
7.000000000000000e+00 2.890585190235564e+00
7.500000000000000e+00 2.837315402792927e+00
8.000000000000000e+00 2.898424997635716e+00
8.500000000000000e+00 3.140291193581129e+00
9.000000000000000e+00 3.442457501250356e+00
9.500000000000000e+00 3.740600449220181e+00
1.000000000000000e+01 4.014633315935895e+00
----------------------------------------------

Final integrator statistics:
Expand All @@ -80,17 +80,17 @@ Slow Integrator:
RHS diffusion = 792
NLS iters = 396
NLS fails = 0
LS iters = 2641
LS iters = 2645
LS fails = 0
LS setups = 0
LS RHS evals = 2641
Jv products = 2641
LS RHS evals = 2645
Jv products = 2645

Avg NLS iters per step attempt = 3.000000
Avg LS iters per NLS iter = 6.669192
Avg LS iters per NLS iter = 6.679293

Preconditioner setups = 0
Preconditioner solves = 2641
Preconditioner solves = 2645

Fast Integrator:
Steps = 2057
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,26 +51,26 @@
t ||u||_rms
----------------------------------------------
0.000000000000000e+00 3.172144385112383e+00
5.000000000000000e-01 3.136728141568442e+00
1.000000000000000e+00 3.125054078969537e+00
1.500000000000000e+00 3.152605475501787e+00
2.000000000000000e+00 3.252022913428429e+00
2.500000000000000e+00 3.404698680378851e+00
3.000000000000000e+00 3.570053730764652e+00
3.500000000000000e+00 3.699720763396807e+00
4.000000000000000e+00 3.694157931241854e+00
4.500000000000000e+00 3.627712125668464e+00
5.000000000000000e+00 3.474734466021550e+00
5.500000000000000e+00 3.343606933034505e+00
6.000000000000000e+00 3.233915506336244e+00
6.500000000000000e+00 3.082406527906665e+00
7.000000000000000e+00 2.890736516064349e+00
7.500000000000000e+00 2.837432528460562e+00
8.000000000000000e+00 2.898441248595020e+00
8.500000000000000e+00 3.140256919387674e+00
9.000000000000000e+00 3.442407086782958e+00
9.500000000000000e+00 3.740539247767240e+00
1.000000000000000e+01 4.014559182371761e+00
5.000000000000000e-01 3.136728141568426e+00
1.000000000000000e+00 3.125054078969577e+00
1.500000000000000e+00 3.152605475502359e+00
2.000000000000000e+00 3.252022912635215e+00
2.500000000000000e+00 3.404698691374345e+00
3.000000000000000e+00 3.570053772321209e+00
3.500000000000000e+00 3.699720878679964e+00
4.000000000000000e+00 3.694158055925352e+00
4.500000000000000e+00 3.627712121494570e+00
5.000000000000000e+00 3.474734332229006e+00
5.500000000000000e+00 3.343606665593759e+00
6.000000000000000e+00 3.233915182257314e+00
6.500000000000000e+00 3.082406235095853e+00
7.000000000000000e+00 2.890736346480939e+00
7.500000000000000e+00 2.837432523592805e+00
8.000000000000000e+00 2.898441382813875e+00
8.500000000000000e+00 3.140257099040540e+00
9.000000000000000e+00 3.442407273754965e+00
9.500000000000000e+00 3.740539414769367e+00
1.000000000000000e+01 4.014559307692970e+00
----------------------------------------------

Final integrator statistics:
Expand All @@ -80,17 +80,17 @@ Slow Integrator:
RHS diffusion = 792
NLS iters = 396
NLS fails = 0
LS iters = 2630
LS iters = 2625
LS fails = 0
LS setups = 0
LS RHS evals = 2630
Jv products = 2630
LS RHS evals = 2625
Jv products = 2625

Avg NLS iters per step attempt = 3.000000
Avg LS iters per NLS iter = 6.641414
Avg LS iters per NLS iter = 6.628788

Preconditioner setups = 0
Preconditioner solves = 2630
Preconditioner solves = 2625

Fast Integrator:
Steps = 2002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ At top right: c1, c2 = -7.979e-21 4.163e+11

Final Statistics:

lenrw = 3902 leniw = 267
lenrw = 3902 leniw = 279
lenrwls = 2455 leniwls = 126
nst = 7253 nfe = 0
nfe = 76956 nfels = 102729
Expand Down Expand Up @@ -127,7 +127,7 @@ At top right: c1, c2 = 3.984e-11 4.163e+11

Final Statistics:

lenrw = 3902 leniw = 272
lenrw = 3902 leniw = 284
lenrwls = 2455 leniwls = 126
nst = 7215 nfe = 0
nfe = 76537 nfels = 108364
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ At top right: c1, c2 = -9.344e-24 4.163e+11

Final Statistics:

lenrw = 3302 leniw = 243
lenrw = 3302 leniw = 255
lenrwls = 2455 leniwls = 126
nst = 7243 nfe = 0
nfi = 76825 nfels = 105271
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ At top right: c1, c2 = 1.396e-24 4.163e+11

Final Statistics:

lenrw = 3302 leniw = 243
lenrw = 3302 leniw = 255
lenrwls = 2455 leniwls = 126
nst = 7146 nfe = 0
nfi = 74941 nfels = 87574
Expand Down
4 changes: 2 additions & 2 deletions linux-ubuntu20.04-x86_64/gcc-9.4.0/double/ark_heat1D_omp.out
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ Final Solver Statistics:
Internal solver steps = 191 (attempted = 191)
Total RHS evals: Fe = 0, Fi = 1913
Total linear solver setups = 0
Total linear iterations = 18115
Total number of Jacobian-vector products = 18115
Total linear iterations = 18152
Total number of Jacobian-vector products = 18152
Total number of linear solver convergence failures = 0
Total number of Newton iterations = 955
Total number of nonlinear solver convergence failures = 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,16 @@
t ||u||_rms
----------------------------------------------
0.000000000000000e+00 3.691406249999997e-01
1.000000000000000e-01 5.162014241950812e-02
2.000000000000000e-01 7.426100187269426e-03
3.000000000000000e-01 1.067221316470438e-03
4.000000000000000e-01 1.533638016727503e-04
5.000000000000000e-01 2.203889954711410e-05
6.000000000000000e-01 3.167064268528133e-06
7.000000000000000e-01 4.551178805388105e-07
7.999999999999999e-01 6.540199603799715e-08
8.999999999999999e-01 9.398525782946043e-09
1.000000000000000e+00 1.350608880524119e-09
1.000000000000000e-01 5.162014241948196e-02
2.000000000000000e-01 7.426100187267500e-03
3.000000000000000e-01 1.067221316470384e-03
4.000000000000000e-01 1.533638016726830e-04
5.000000000000000e-01 2.203889954711373e-05
6.000000000000000e-01 3.167064268527177e-06
7.000000000000000e-01 4.551178805387262e-07
7.999999999999999e-01 6.540199603798561e-08
8.999999999999999e-01 9.398525782944426e-09
1.000000000000000e+00 1.350608880523887e-09
----------------------------------------------

Final slow integrator statistics:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ Final Solver Statistics:
Total RHS evals: Fe = 671, Fi = 1763
Total mass matrix setups = 504
Total mass matrix solves = 1340
Total mass times evals = 1259
Total mass times evals = 1258
Total number of Jacobian evaluations = 7
Total linear solver setups = 18
Total number of Nonlinear iterations = 1092
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ Final Solver Statistics:
Total RHS evals: Fe = 493, Fi = 1082
Total mass matrix setups = 413
Total mass matrix solves = 574
Total mass times evals = 1079
Total mass times evals = 1078
Total number of Jacobian evaluations = 12
Total linear solver setups = 21
Total number of Nonlinear iterations = 999
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ Final Solver Statistics:
Total RHS evals: Fe = 501, Fi = 1738
Total mass matrix setups = 418
Total mass matrix solves = 585
Total mass times evals = 1735
Total mass times evals = 1734
Total number of Jacobian evaluations = 145
Total linear solver setups = 150
Total number of Nonlinear iterations = 1652
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ Final Solver Statistics:
Total RHS evals: Fe = 13787, Fi = 50499
Total mass matrix setups = 12646
Total mass matrix solves = 64284
Total mass times evals = 2271
Total mass times evals = 2270
Total number of Jacobian evaluations = 0
Total linear solver setups = 0
Total number of Nonlinear iterations = 36712
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ Final Solver Statistics:
Total RHS evals: Fe = 1265, Fi = 4680
Total mass matrix setups = 1121
Total mass matrix solves = 2428
Total mass times evals = 3559
Total mass times evals = 3558
Total number of Jacobian evaluations = 204
Total linear solver setups = 214
Total number of Nonlinear iterations = 3415
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ Final Solver Statistics:
Total RHS evals: Fe = 0, Fi = 5758
Total mass matrix setups = 1438
Total mass matrix solves = 1438
Total mass times evals = 4604
Total mass times evals = 4603
Total number of Jacobian evaluations = 152
Total linear solver setups = 166
Total number of Nonlinear iterations = 4320
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,5 +119,5 @@ Final Solver Statistics:
Total RHS evals: Fe = 840, Fi = 0
Total mass matrix setups = 672
Total mass matrix solves = 840
Total mass times evals = 165
Total mass times evals = 164
Errors: u = 3.7533e-06, v = 2.61601e-07, total = 2.66042e-06
Original file line number Diff line number Diff line change
Expand Up @@ -119,5 +119,5 @@ Final Solver Statistics:
Total RHS evals: Fe = 1742, Fi = 0
Total mass matrix setups = 1439
Total mass matrix solves = 1742
Total mass times evals = 103
Total mass times evals = 102
Errors: u = 1.83418e-08, v = 2.86413e-09, total = 1.31268e-08
Loading

0 comments on commit 294c370

Please sign in to comment.