#1321 GMRes does not update solution when converging in the 1st iteration
Metadata
Property | Value |
---|---|
Reported by | Jurgis Pods (jurgis.pods@iwr.uni-heidelberg.de) |
Reported at | Jul 17, 2013 11:56 |
Type | Bug Report |
Version | Git (pre2.4) [autotools] |
Operating System | Unspecified / All |
Last edited by | Jurgis Pods (jurgis.pods@iwr.uni-heidelberg.de) |
Last edited at | Jul 18, 2013 13:46 |
Closed by | Jurgis Pods (jurgis.pods@iwr.uni-heidelberg.de) |
Closed at | Jul 18, 2013 13:46 |
Closed in version | Unknown |
Resolution | Duplicate |
Comment | This bug is caused by the same problem mentioned in #1202 (closed) |
Description
I just tried the RestartedGMResSolver. For my problem, it converged immediately, i.e. in iteration 0, without going into the iteration loop. However, the update vector 'x' was not changed and contained only zeros. When forcing the solver to do at least one iteration by replacing
| return;|
in dune/istl/solvers.hh:1182 with the ugly hack
| res.converged = false; |
x was assigned as desired in the iteration loop.
Could this please be fixed in master?