feos.dft.DFTSolver.anderson_mixing¶
- DFTSolver.anderson_mixing(log=None, max_iter=None, tol=None, damping_coefficient=None, mmax=None)¶
Add Anderson mixing to the solver object.
- Parameters:
log (bool, optional) – Iterate the logarithm of the density profile Defaults to False.
max_iter (int, optional) – The maximum number of iterations. Defaults to 150.
tol (float, optional) – The tolerance. Defaults to 1e-11.
damping_coefficient (float, optional) – The damping coefficient. Defaults to 0.15.
mmax (int, optional) – The maximum number of old solutions that are used. Defaults to 100.
- Return type: