You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Please describe the behavior you would like added to Interchange.
When building LAMMPS input using to_lammps with non-orthrombic simualation boxes, an error is raised NotImplementedError: Interchange does not yet support exporting non-rectangular boxes to LAMMPS. I'd like to use LAMMPS for simulations of non-orthorombic crystal lattices, hence the possibility to export these kind of simulation boxes would be nice. I am attaching an OFF topology as an example (.json serialized) off-topology.json.zip.
This only isn't supported because I didn't think people would need it, nice to see that's not the case
I might not get to this for a few weeks - would be happy to take a PR if you're up for it. The change would need to go here, just converting the (OpenMM-style) box vectors into whichever format LAMMPS needs.
Thanks. I'll try to get a PR together (unless @timbernat wants to go ahead). From the documentation, it seems that LAMMPS's restricted triclinic box form is similar to the reduced form that OpenMM uses.
@wutobias I'd love to take a crack at this but won't have the bandwidth to do so until the week of 11/18, so I'm happy for you to take the reins on this
Description
Please describe the behavior you would like added to Interchange.
When building LAMMPS input using
to_lammps
with non-orthrombic simualation boxes, an error is raisedNotImplementedError: Interchange does not yet support exporting non-rectangular boxes to LAMMPS
. I'd like to use LAMMPS for simulations of non-orthorombic crystal lattices, hence the possibility to export these kind of simulation boxes would be nice. I am attaching an OFF topology as an example (.json serialized) off-topology.json.zip.Below is code I'd like to use
The text was updated successfully, but these errors were encountered: