Commit cd391b1b authored by Stephen Constable's avatar Stephen Constable
Browse files

Initial Commit(2)

These lines were missed previously
parent 30fc8eb1
...@@ -570,6 +570,7 @@ class GromacsTopFile(object): ...@@ -570,6 +570,7 @@ class GromacsTopFile(object):
The solvent dielectric constant to use in the implicit solvent The solvent dielectric constant to use in the implicit solvent
model. model.
ewaldErrorTolerance : float=0.0005 ewaldErrorTolerance : float=0.0005
The error tolerance to use if nonbondedMethod is Ewald, PME or LJPME.
removeCMMotion : boolean=True removeCMMotion : boolean=True
If true, a CMMotionRemover will be added to the System If true, a CMMotionRemover will be added to the System
hydrogenMass : mass=None hydrogenMass : mass=None
...@@ -918,6 +919,8 @@ class GromacsTopFile(object): ...@@ -918,6 +919,8 @@ class GromacsTopFile(object):
ff.LJPME:mm.NonbondedForce.LJPME} ff.LJPME:mm.NonbondedForce.LJPME}
nb.setNonbondedMethod(methodMap[nonbondedMethod]) nb.setNonbondedMethod(methodMap[nonbondedMethod])
nb.setCutoffDistance(nonbondedCutoff) nb.setCutoffDistance(nonbondedCutoff)
if self._defaults[1] == '2':
nb.setEwaldErrorTolerance(ewaldErrorTolerance)
# Adjust masses. # Adjust masses.
......
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