| 7a660b1e | 09-Jan-2023 |
Jed Brown <jed@jedbrown.org> |
PCJacobi: reset when type is changed
Former code does not clear the stored diagonal when the type is changed, leading to incorrect use of preconditioner and -ksp_view reporting in situations like th
PCJacobi: reset when type is changed
Former code does not clear the stored diagonal when the type is changed, leading to incorrect use of preconditioner and -ksp_view reporting in situations like this:
KSPSolve(ksp, b, x); PCJacobiSetType(pc, PC_JACOBI_ROWSUM); KSPSolve(ksp, b, x);
show more ...
|