"vscode:/vscode.git/clone" did not exist on "51761b3af172b4fc54ce0a3abc302e203d2bf44a"
Unverified Commit 2c36e9b3 authored by peastman's avatar peastman Committed by GitHub
Browse files

Added HMR to make ApoA1 benchmark more stable (#2897)

* Added HMR to make ApoA1 benchmark more stable

* Removed debugging code
parent 418855e6
...@@ -68,6 +68,7 @@ def runOneTest(testName, options): ...@@ -68,6 +68,7 @@ def runOneTest(testName, options):
method = app.CutoffPeriodic method = app.CutoffPeriodic
cutoff = 1*unit.nanometers cutoff = 1*unit.nanometers
friction = 1*(1/unit.picoseconds) friction = 1*(1/unit.picoseconds)
hydrogenMass = 1.5*unit.amu
elif explicit: elif explicit:
ff = app.ForceField('amber99sb.xml', 'tip3p.xml') ff = app.ForceField('amber99sb.xml', 'tip3p.xml')
pdb = app.PDBFile('5dfr_solv-cube_equil.pdb') pdb = app.PDBFile('5dfr_solv-cube_equil.pdb')
...@@ -92,7 +93,6 @@ def runOneTest(testName, options): ...@@ -92,7 +93,6 @@ def runOneTest(testName, options):
else: else:
dt = 0.004*unit.picoseconds dt = 0.004*unit.picoseconds
constraints = app.HBonds constraints = app.HBonds
hydrogenMass = None
integ = mm.LangevinMiddleIntegrator(300*unit.kelvin, friction, dt) integ = mm.LangevinMiddleIntegrator(300*unit.kelvin, friction, dt)
system = ff.createSystem(pdb.topology, nonbondedMethod=method, nonbondedCutoff=cutoff, constraints=constraints, hydrogenMass=hydrogenMass) system = ff.createSystem(pdb.topology, nonbondedMethod=method, nonbondedCutoff=cutoff, constraints=constraints, hydrogenMass=hydrogenMass)
print('Step Size: %g fs' % dt.value_in_unit(unit.femtoseconds)) print('Step Size: %g fs' % dt.value_in_unit(unit.femtoseconds))
......
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