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

Hessians for heterogeneous systems #104

Merged
merged 44 commits into from
Jul 10, 2023
Merged

Conversation

prs513rosewood
Copy link
Contributor

@prs513rosewood prs513rosewood commented Sep 23, 2022

Implementation of hessian computation for systems with multiple atom types.

  • Proper cutoff and mask calculation in hessian
  • New tests for heterogeneous materials
  • Simplification of term 5 code
  • Fix hessian for molecules

Closes #103

@prs513rosewood prs513rosewood self-assigned this Sep 23, 2022
prs513rosewood and others added 19 commits December 6, 2022 16:23
Currently tests an amorphous polyphosphate system
To mimic CutoffNeighbourhood, MolecularNeighbourhood duplicates the angle
connectivity and creates a reference lists triplets -> bonds. The latter needs
to be done first otherwise issues arise with bond orders which causes wrong
angle values.
This avoids running tests twice in pull requests
Doubling angle connectivity before completing the bonds connectivity is
necessary in the hessian computation but leads to errors in other computations.
A constructor parameter to MolecularNeighbourhood was therefore added to control
this behavior.
@prs513rosewood prs513rosewood added this to the JOSS Submission milestone Dec 13, 2022
Now, modulo a sort operation, the triplet reference lists into the pair list
should match the behavior of the cutoff-based routines
Hessians are still failing, need to understand how to compute for fixed connectivities
@prs513rosewood
Copy link
Contributor Author

Small update: with this last commit I think hessians and other second-order quantities for heterogeneous systems should work with a cutoff. I'm still working on making things work with a fixed connectivity (ie molecules)

@prs513rosewood prs513rosewood marked this pull request as ready for review July 4, 2023 12:41
@pastewka pastewka merged commit 4c039c3 into master Jul 10, 2023
18 checks passed
@pastewka pastewka deleted the fix/heterogeneous_hessian branch July 10, 2023 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hessian for multi-species systems
3 participants