ThreePointEnergy
- class optking.linesearch.ThreePointEnergy(molsys, history, params)[source]
Bases:
LineSearch
Methods Summary
expected_energy
(**kwargs)Linesearch Algorithms should be able to compute the expected energy based only on the Points.
fit
()Three point parabolic fit. Returns the next point in linesearch. :returns: * step_size (float) -- distance to the next point * converged (boolean) -- True if stepsize is distance to the projected minimum. False if linsearch goes on.
requires
()reset
()step
([fq, energy])Determine the new step to take in the linesearch procedure.
Methods Documentation
- expected_energy(**kwargs)[source]
Linesearch Algorithms should be able to compute the expected energy based only on the Points.