Skip to content

[nonlinear] Fix occurrence of uninitialized variables in Newton

Bernd Flemisch requested to merge fix/uninitialized-variables-in-newton into master

The problem was that newtonConverged was executed before newtonUpdate, the place where the variables are initialized. Change the while loop logic such that newtonConverged is called at the end of each loop cycle, particularly after newtonUpdate.

Fixes #655 (closed).

Edited by Bernd Flemisch

Merge request reports

Loading