May 27, 2016 at 5:38 PM
Edited May 28, 2016 at 8:42 AM
is the only preconditioner optimized for sparse storage and hence the only one that will improve performance.
It implements both the standard and the modified ILU0 algorithm (default is the modified one). Have you tried both? Use the
property or the constructor overload to choose between the two versions.
What's the status of the iterator after solving the system (check the
: To have more control over the iteration process, you might want to setup the iterator by yourself:
int iterationsLimit = 500;
double tolerance = 1e-8;
var iterator = new Iterator<double>(
var solver = new BiCgStab();
var preconditioner = new MILU0Preconditioner(true);
solver.Solve(matrix, b, x, iterator, preconditioner);