ILU0: Fixed copy&paste error in preconditioner setup.
The upper triangular part of A was accidentally ignored, resulting in an unnecessarily weak preconditioner. This commit improves convergence in solver-bench from a relative residual of 0.003 to 0.001 after 100 iterations. Improvement might be larger for 'harder' problems.
Loading
Please register or sign in to comment