Commit 88400a3
committed
Disable J reuse for operator-based W (Krylov solvers)
WOperator and AbstractSciMLOperator wrap J internally for Krylov
solvers. A stale J degrades Krylov convergence, causing order loss
(e.g. Rodas5P+Enzyme+KrylovJL dropping from order 5 to 1.7).
Always recompute J for these W types.
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>1 parent 089ea9a commit 88400a3
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
57 | 64 | | |
58 | 65 | | |
59 | 66 | | |
| |||
0 commit comments