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).