-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix dihedral definition, add pbc_shortest_vectors method
- Dihedral definition was incorrect and giving negative results for pbc. Correct it. pbc_shortest_vectors indices need to be inverted. - Update test correcting this. Now pbc dihedral gives correct with respect to ASE, i.e, ASE gives 300, here we get -60, probably ASE range is 0 to 360. Here it is (-180, 180). - Add method for pbc_shortes_vectors with system and index of atoms.
- Loading branch information
1 parent
a404929
commit b18954a
Showing
3 changed files
with
19 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters