Skip to content

HOTFIX: NEB tangent estimation#180

Open
mo-kap wants to merge 1 commit into
pele-python:masterfrom
mo-kap:master
Open

HOTFIX: NEB tangent estimation#180
mo-kap wants to merge 1 commit into
pele-python:masterfrom
mo-kap:master

Conversation

@mo-kap
Copy link
Copy Markdown

@mo-kap mo-kap commented Apr 7, 2026

Problem

When facing a flat energy spaces, i.e. the energies of three adjacent images are equal, the current tangent implementation uses the computation for extrema from [1].
However, in [1] this is only applicable if we are at a strict extreme. For the special case of a flat space, taking the same formula (as was done in the current implementation) leads to tangent becoming the zero vector. Thus, at the normalization an invalid value is encountered and NaNs are returned.
This problem then cascades towards failure of LBFGS since we have NaNs.

Fix

On a flat spot, simply fall back to the original NEB tangent computation, taking the weighted average, where the weights are equal for the tangents on both sides.

References

[1] G. Henkelman and H. Jónsson, “Improved tangent estimate in the nudged elastic band method for finding minimum energy paths and saddle points,” J. Chem. Phys., vol. 113, no. 22, pp. 9978–9985, Dec. 2000, doi: 10.1063/1.1323224.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant