mphowardlab / gsd-vmd

A VMD molfile plugin reader for HOOMD-blue GSD files.
BSD 3-Clause "New" or "Revised" License
14 stars 2 forks source link

Triclinic boxes are set incorrectly #10

Closed mphoward closed 2 years ago

mphoward commented 2 years ago

The (A,B,C) parameters should be the lengths of the lattice vectors:

https://www.ks.uiuc.edu/Research/vmd/plugins/pbctools/

which in HOOMD (https://hoomd-blue.readthedocs.io/en/stable/box.html) means that they need to include the tilt factors in addition to the base (Lx,Ly,Lz).

h/t @ksil