@@ -290,7 +290,7 @@ function perform_step!(integrator, cache::ImplicitEulerExtrapolationCache,
290
290
calc_J! (J, integrator, cache) # Store the calculated jac as it won't change in internal discretisation
291
291
for index in 1 : (n_curr + 1 )
292
292
dt_temp = dt / sequence[index]
293
- jacobian2W! (W[1 ], integrator. f. mass_matrix, dt_temp, J, true )
293
+ jacobian2W! (W[1 ], integrator. f. mass_matrix, dt_temp, J)
294
294
integrator. stats. nw += 1
295
295
@. . broadcast= false k_tmps[1 ]= integrator. fsalfirst
296
296
@. . broadcast= false u_tmps[1 ]= uprev
@@ -344,9 +344,7 @@ function perform_step!(integrator, cache::ImplicitEulerExtrapolationCache,
344
344
endIndex = (i == 1 ) ? n_curr : n_curr + 1
345
345
for index in startIndex: endIndex
346
346
dt_temp = dt / sequence[index]
347
- jacobian2W! (
348
- W[Threads. threadid ()], integrator. f. mass_matrix, dt_temp, J,
349
- true )
347
+ jacobian2W! (W[Threads. threadid ()], integrator. f. mass_matrix, dt_temp, J)
350
348
@. . broadcast= false k_tmps[Threads. threadid ()]= integrator. fsalfirst
351
349
@. . broadcast= false u_tmps[Threads. threadid ()]= uprev
352
350
for j in 1 : sequence[index]
@@ -445,7 +443,7 @@ function perform_step!(integrator, cache::ImplicitEulerExtrapolationCache,
445
443
cache. n_curr = n_curr
446
444
447
445
dt_temp = dt / sequence[n_curr + 1 ]
448
- jacobian2W! (W[1 ], integrator. f. mass_matrix, dt_temp, J, false )
446
+ jacobian2W! (W[1 ], integrator. f. mass_matrix, dt_temp, J)
449
447
integrator. stats. nw += 1
450
448
@. . broadcast= false k_tmps[1 ]= integrator. fsalfirst
451
449
@. . broadcast= false u_tmps[1 ]= uprev
@@ -1170,7 +1168,7 @@ function perform_step!(integrator, cache::ImplicitDeuflhardExtrapolationCache,
1170
1168
for i in 0 : n_curr
1171
1169
j_int = 4 * subdividing_sequence[i + 1 ]
1172
1170
dt_int = dt / j_int # Stepsize of the ith internal discretisation
1173
- jacobian2W! (W[1 ], integrator. f. mass_matrix, dt_int, J, true )
1171
+ jacobian2W! (W[1 ], integrator. f. mass_matrix, dt_int, J)
1174
1172
integrator. stats. nw += 1
1175
1173
@. . broadcast= false u_temp2= uprev
1176
1174
@. . broadcast= false linsolve_tmps[1 ]= fsalfirst
@@ -1241,7 +1239,7 @@ function perform_step!(integrator, cache::ImplicitDeuflhardExtrapolationCache,
1241
1239
j_int_temp = 4 * subdividing_sequence[index + 1 ]
1242
1240
dt_int_temp = dt / j_int_temp # Stepsize of the ith internal discretisation
1243
1241
jacobian2W! (W[Threads. threadid ()], integrator. f. mass_matrix,
1244
- dt_int_temp, J, true )
1242
+ dt_int_temp, J)
1245
1243
@. . broadcast= false u_temp4[Threads. threadid ()]= uprev
1246
1244
@. . broadcast= false linsolve_tmps[Threads. threadid ()]= fsalfirst
1247
1245
@@ -1326,7 +1324,7 @@ function perform_step!(integrator, cache::ImplicitDeuflhardExtrapolationCache,
1326
1324
j_int_temp = 4 * subdividing_sequence[index + 1 ]
1327
1325
dt_int_temp = dt / j_int_temp # Stepsize of the ith internal discretisation
1328
1326
jacobian2W! (W[Threads. threadid ()], integrator. f. mass_matrix,
1329
- dt_int_temp, J, true )
1327
+ dt_int_temp, J)
1330
1328
@. . broadcast= false u_temp4[Threads. threadid ()]= uprev
1331
1329
@. . broadcast= false linsolve_tmps[Threads. threadid ()]= fsalfirst
1332
1330
@@ -1450,7 +1448,7 @@ function perform_step!(integrator, cache::ImplicitDeuflhardExtrapolationCache,
1450
1448
# Update cache.T
1451
1449
j_int = 4 * subdividing_sequence[n_curr + 1 ]
1452
1450
dt_int = dt / j_int # Stepsize of the new internal discretisation
1453
- jacobian2W! (W[1 ], integrator. f. mass_matrix, dt_int, J, true )
1451
+ jacobian2W! (W[1 ], integrator. f. mass_matrix, dt_int, J)
1454
1452
integrator. stats. nw += 1
1455
1453
@. . broadcast= false u_temp2= uprev
1456
1454
@. . broadcast= false linsolve_tmps[1 ]= fsalfirst
@@ -2536,7 +2534,7 @@ function perform_step!(integrator, cache::ImplicitHairerWannerExtrapolationCache
2536
2534
for i in 0 : n_curr
2537
2535
j_int = 4 * subdividing_sequence[i + 1 ]
2538
2536
dt_int = dt / j_int # Stepsize of the ith internal discretisation
2539
- jacobian2W! (W[1 ], integrator. f. mass_matrix, dt_int, J, true )
2537
+ jacobian2W! (W[1 ], integrator. f. mass_matrix, dt_int, J)
2540
2538
integrator. stats. nw += 1
2541
2539
@. . broadcast= false u_temp2= uprev
2542
2540
@. . broadcast= false linsolve_tmps[1 ]= fsalfirst
@@ -2610,7 +2608,7 @@ function perform_step!(integrator, cache::ImplicitHairerWannerExtrapolationCache
2610
2608
j_int_temp = 4 * subdividing_sequence[index + 1 ]
2611
2609
dt_int_temp = dt / j_int_temp # Stepsize of the ith internal discretisation
2612
2610
jacobian2W! (W[Threads. threadid ()], integrator. f. mass_matrix,
2613
- dt_int_temp, J, true )
2611
+ dt_int_temp, J)
2614
2612
@. . broadcast= false u_temp4[Threads. threadid ()]= uprev
2615
2613
@. . broadcast= false linsolve_tmps[Threads. threadid ()]= fsalfirst
2616
2614
@@ -2701,7 +2699,7 @@ function perform_step!(integrator, cache::ImplicitHairerWannerExtrapolationCache
2701
2699
index == - 1 && continue
2702
2700
j_int_temp = 4 * subdividing_sequence[index + 1 ]
2703
2701
dt_int_temp = dt / j_int_temp # Stepsize of the ith internal discretisation
2704
- jacobian2W! (W[tid], integrator. f. mass_matrix, dt_int_temp, J, true )
2702
+ jacobian2W! (W[tid], integrator. f. mass_matrix, dt_int_temp, J)
2705
2703
@. . broadcast= false u_temp4[tid]= uprev
2706
2704
@. . broadcast= false linsolvetmp= fsalfirst
2707
2705
@@ -2815,7 +2813,7 @@ function perform_step!(integrator, cache::ImplicitHairerWannerExtrapolationCache
2815
2813
# Update cache.T
2816
2814
j_int = 4 * subdividing_sequence[n_curr + 1 ]
2817
2815
dt_int = dt / j_int # Stepsize of the new internal discretisation
2818
- jacobian2W! (W[1 ], integrator. f. mass_matrix, dt_int, J, true )
2816
+ jacobian2W! (W[1 ], integrator. f. mass_matrix, dt_int, J)
2819
2817
integrator. stats. nw += 1
2820
2818
@. . broadcast= false u_temp2= uprev
2821
2819
@. . broadcast= false linsolve_tmps[1 ]= fsalfirst
@@ -3227,7 +3225,7 @@ function perform_step!(integrator, cache::ImplicitEulerBarycentricExtrapolationC
3227
3225
for i in 0 : n_curr
3228
3226
j_int = sequence_factor * subdividing_sequence[i + 1 ]
3229
3227
dt_int = dt / j_int # Stepsize of the ith internal discretisation
3230
- jacobian2W! (W[1 ], integrator. f. mass_matrix, dt_int, J, true )
3228
+ jacobian2W! (W[1 ], integrator. f. mass_matrix, dt_int, J)
3231
3229
integrator. stats. nw += 1
3232
3230
@. . broadcast= false u_temp2= uprev
3233
3231
@. . broadcast= false linsolve_tmps[1 ]= fsalfirst
@@ -3301,7 +3299,7 @@ function perform_step!(integrator, cache::ImplicitEulerBarycentricExtrapolationC
3301
3299
j_int_temp = sequence_factor * subdividing_sequence[index + 1 ]
3302
3300
dt_int_temp = dt / j_int_temp # Stepsize of the ith internal discretisation
3303
3301
jacobian2W! (W[Threads. threadid ()], integrator. f. mass_matrix,
3304
- dt_int_temp, J, true )
3302
+ dt_int_temp, J)
3305
3303
@. . broadcast= false u_temp4[Threads. threadid ()]= uprev
3306
3304
@. . broadcast= false linsolve_tmps[Threads. threadid ()]= fsalfirst
3307
3305
@@ -3389,7 +3387,7 @@ function perform_step!(integrator, cache::ImplicitEulerBarycentricExtrapolationC
3389
3387
j_int_temp = sequence_factor * subdividing_sequence[index + 1 ]
3390
3388
dt_int_temp = dt / j_int_temp # Stepsize of the ith internal discretisation
3391
3389
jacobian2W! (W[Threads. threadid ()], integrator. f. mass_matrix,
3392
- dt_int_temp, J, true )
3390
+ dt_int_temp, J)
3393
3391
@. . broadcast= false u_temp4[Threads. threadid ()]= uprev
3394
3392
@. . broadcast= false linsolve_tmps[Threads. threadid ()]= fsalfirst
3395
3393
@@ -3519,7 +3517,7 @@ function perform_step!(integrator, cache::ImplicitEulerBarycentricExtrapolationC
3519
3517
# Update cache.T
3520
3518
j_int = sequence_factor * subdividing_sequence[n_curr + 1 ]
3521
3519
dt_int = dt / j_int # Stepsize of the new internal discretisation
3522
- jacobian2W! (W[1 ], integrator. f. mass_matrix, dt_int, J, true )
3520
+ jacobian2W! (W[1 ], integrator. f. mass_matrix, dt_int, J)
3523
3521
integrator. stats. nw += 1
3524
3522
@. . broadcast= false u_temp2= uprev
3525
3523
@. . broadcast= false linsolve_tmps[1 ]= fsalfirst
0 commit comments