Commit d35c4723 by Peter Eastman

Run some dynamics to improve the minimized structure

parent 7b96df79
......@@ -394,6 +394,8 @@ class PDBFixer(object):
context = mm.Context(system, integrator)
context.setPositions(newPositions)
mm.LocalEnergyMinimizer.minimize(context)
integrator.step(1000)
mm.LocalEnergyMinimizer.minimize(context)
state = context.getState(getPositions=True)
# Now create a new Topology, including all atoms from the original one and adding the missing atoms.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment