Draft: [NL] Signal handling for interactively controlling the nonlinear solver
This MR introduces signal handling for the nonlinear solver.
The Nonlinear solver is now able to receive signals SIGUSR1
and SIGUSR2
SIGUSR1
rejects the current iteration step. In the case of IterationNumberBasedTimeStepping a rejection usually causes the repetition of the current time step with a decreased step size. This is especially useful if max_iter is set to a very high value or Pardiso is continuing extremely slowly with NaNs (w/o throwing an exception).
SIGUSR2
accepts the current iteration as converged (dangerous). This is useful if the tolerances won't further reduce while criteria are slightly missed only or for testing purposes.
-
Feature description was added to the changelog -
Tests covering your feature were added? -
Any new feature or behavior change was documented?