Skip to content

Draft: [NL] Signal handling for interactively controlling the nonlinear solver

joergbuchwald requested to merge joergbuchwald/ogs:SignalHandler into master

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.

  1. Feature description was added to the changelog
  2. Tests covering your feature were added?
  3. Any new feature or behavior change was documented?
Edited by Dmitry Yu. Naumov

Merge request reports