When the number of total steps is chosen smaller than the number of log steps, I would adapt the log output to avoid this Going to iterate 0 steps output:
2018-10-30 10:28:47 [ ALL ] [GNEB] [01] [--] ------------ Started GNEB Calculation ------------
2018-10-30 10:28:47 [ ALL ] [GNEB] [01] [--] Going to iterate 0 steps
2018-10-30 10:28:47 [ ALL ] [GNEB] [01] [--] with 100 iterations per step
2018-10-30 10:34:24 [ ALL ] [GNEB] [01] [--] ------------ Terminated GNEB Calculation ------------
2018-10-30 10:28:50 [ ALL ] [GNEB] [01] [--] Iteration 50 / 50
Instead, Going to iterate 1 step with 50 iterations per step should be displayed. Ie., the number of log steps should be min(#logsteps, #totalsteps)
When the number of total steps is chosen smaller than the number of log steps, I would adapt the log output to avoid this
Going to iterate 0 steps
output:Instead,
Going to iterate 1 step with 50 iterations per step
should be displayed. Ie., the number of log steps should be min(#logsteps, #totalsteps)