Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix hessian with fixed atoms #1175

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

foxtran
Copy link
Contributor

@foxtran foxtran commented Feb 4, 2025

Fixes #475

This patch updates hessian.F90 to properly work with freezed atoms (and a little bit with fixed, but I did not get the difference between fix and freeze). With this patch, input (provided in #475) can be computed without segfaults (fixed in commit 53aaa53) and produced Hessian has zero values for fixed atoms and fixed-free atom crossings, so it looks fine for me :-)

Unfortunately, I did not implement all branches and therefore hessian with 1-2 fixed atoms can not be computed.

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.

Hessian calculation runs into segmentation fault when atoms are frozen
2 participants