feos.DFTSolver.newton¶
- DFTSolver.newton(max_iter=None, max_iter_gmres=None, tol=None)¶
Add Newton solver to the solver object.
The logarithms of the density profile (and of the fractions of non-bonded association sites) are iterated with step size control and line search.
- Parameters:
max_iter (int, optional) – The maximum number of iterations. Defaults to 50.
max_iter_gmres (int, optional) – The maximum number of iterations for the GMRES solver. Defaults to 200.
tol (float, optional) – The tolerance. Defaults to 1e-11.
- Return type: