Commit 92d7a71
committed
Auto-reset GMRES u to zero
#70 shows that setting the initial condition in GMRES is a minefield. Currently it's pretty much impossible for any user to guess correctly so pretty much any case would do better with resetting to zero. The papers suggest doing that even if the rescaling is done in many cases, and the tests require it. So for the sanity of everyone, I think it's best to reset to zero, and if the rescaling is implemented this can be removed, but until then keeping it hardcoded is a good idea.1 parent 0b47fe1 commit 92d7a71
2 files changed
+1
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
| 224 | + | |
224 | 225 | | |
225 | 226 | | |
226 | 227 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
24 | | - | |
25 | 23 | | |
26 | 24 | | |
27 | 25 | | |
28 | 26 | | |
29 | | - | |
30 | 27 | | |
31 | 28 | | |
32 | 29 | | |
33 | 30 | | |
34 | | - | |
35 | 31 | | |
36 | 32 | | |
37 | 33 | | |
| |||
0 commit comments