Commit de4a30e
Compute TSRKC2/TSRKC3 stage time unconditionally in the stage loop
Rebase of the surviving content of #3902 onto current master.
In the in-place TSRKC2 and TSRKC3 stage loops `th` was assigned inside
the `if (iter < mdeg)` guard. Hoisting it out matches RKC and RKMC2,
which already compute `th` unconditionally.
This is a no-op: `th` is read only by the `th1 = th` on the following
line, which stays inside the guard, so nothing observes the value
computed on the final iteration.
The rest of #3902 landed separately and is already on master:
- RKL1/RKL2 non-autonomous stage times (#3948)
- RKG1/RKG2 non-autonomous stage times (#3949)
- RKC in-place mdeg < 2 handling (#3951)
- per-algorithm limiter fields, reverted by the author in c34fe7a
and superseded by solve-level limiters (#3835)
Original commits: 9158496, 05548a5, c34fe7a
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>1 parent 7a8f930 commit de4a30e
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1226 | 1226 | | |
1227 | 1227 | | |
1228 | 1228 | | |
| 1229 | + | |
1229 | 1230 | | |
1230 | 1231 | | |
1231 | 1232 | | |
1232 | | - | |
1233 | 1233 | | |
1234 | 1234 | | |
1235 | 1235 | | |
| |||
1486 | 1486 | | |
1487 | 1487 | | |
1488 | 1488 | | |
| 1489 | + | |
1489 | 1490 | | |
1490 | 1491 | | |
1491 | 1492 | | |
1492 | | - | |
1493 | 1493 | | |
1494 | 1494 | | |
1495 | 1495 | | |
| |||
0 commit comments