Simple Newton solver #690
-
Dear Evalf developers and users, In quite a few cases we have experienced the standard Newton solver (with default arguments) failing to converge, or to converge very slowly. This happens for example for large strain elasticity with hyperelastic materials in rather complex three-D problems. When we make our own simple Newton solver (without linesearch etc, really just Newton iterations) significantly improved convergence is observed. It is not entirely clear where this comes from, but it may have something to do with the (lack of) smoothness of the problem. Our question is basically the following: Is it possible to supply the Nutils Newton solver with arguments such that it behaves as a standard Newton solver, without any extra bells and whistles? This would be convenient, as we then would not need to implement our own Newton solver. Best, CV |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
You can disable line search by passing |
Beta Was this translation helpful? Give feedback.
-
Update: as of 4f5edb4 (merged 2022-12-03) you can simply write |
Beta Was this translation helpful? Give feedback.
Update: as of 4f5edb4 (merged 2022-12-03) you can simply write
linesearch=None
to switch to vanilla Newton.