Upon discussing with @d-beltran @sauliusg we find that the unit cells actually used in life sciences MD simulations is often non-parallelepiped, i.e., they use other space-filling octahedra.
This is actually important to be able to represent relevant MD data. We figure that it means we need to extend the newly added site_coordinate_span field in structures; so that it also gets "inherited" into the trajectory endpoint.
It may be enough if we can use that field to specify one of the parallelohedron and say that when doing this, it is meant to go along with an orthogonal unit cell that then describes the smallest enclosing rectangular cuboid. At least this seems to cover the possibilities in GROMACS, and match the way these cells are specified there.
Upon discussing with @d-beltran @sauliusg we find that the unit cells actually used in life sciences MD simulations is often non-parallelepiped, i.e., they use other space-filling octahedra.
This is actually important to be able to represent relevant MD data. We figure that it means we need to extend the newly added
site_coordinate_spanfield in structures; so that it also gets "inherited" into the trajectory endpoint.It may be enough if we can use that field to specify one of the parallelohedron and say that when doing this, it is meant to go along with an orthogonal unit cell that then describes the smallest enclosing rectangular cuboid. At least this seems to cover the possibilities in GROMACS, and match the way these cells are specified there.