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

Grid update Bugs when trying to calculate box numerical derivatives #4

Open
carajillu opened this issue Mar 2, 2021 · 0 comments
Open
Assignees

Comments

@carajillu
Copy link
Owner

Grid update works OK when calculating numerical derivatives of atom coordinates, but when it starts calculating the derivatives of the box, the distances gridpoint-atom increase unrealistically (a grid point that is at r=0.0742135 from each of atoms 1 and 2 suddenly appears to be at r=1.91191). This results in the bsite_bin vector being filled with zeros and the grid point position being updated to -nan, and then all the numerical derivatives are gibberish.

Not a problem if it just bothers when debugging derivatives, but need to double check that it does not mess with biased simulations (cross that bridge when we reach it). For now, found a workaround by not updating grid if numstep is larger than 3 x number of atoms

@carajillu carajillu self-assigned this Mar 2, 2021
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

No branches or pull requests

1 participant