Detailed description |
|
Anonymous message posted by hd16974@bris.ac.uk
I have an OpenMM script which runs a simulation using a MonteCarloBarostat, so naturally, my periodic box sizes at the beginning and end of the simulation are different.
However, I use PDBFile to write out my system and the simulation.topology I pass to it writes out the earlier unit cell vectors - even after the barostat has changed the box size. This leads to gaps between my periodic boxes.
I have gotten around this by passing the new periodic box size information from my context to Topology.setUnitCellDimensions(), however, I wondered if it might be prudent to give users the option of automatically updating this periodic cell information when using a barostat to change box size.
Thanks. |
|