This PR changes the default behavior of solver which would always write to disk the solution when the stopping criterion was met. In the suggested implementation, by default there is no writting to disk at all. The previous behavior (only writeback at when stop_crit is reached) is reproduced using writeback_rate = -1. Equivalently to before, writeback_rate defines the number of iterations after which the solution is saved to disk.
This PR changes the default behavior of solver which would always write to disk the solution when the stopping criterion was met. In the suggested implementation, by default there is no writting to disk at all. The previous behavior (only writeback at when stop_crit is reached) is reproduced using
writeback_rate = -1
. Equivalently to before,writeback_rate
defines the number of iterations after which the solution is saved to disk.