Commit ebe757dd authored by peastman's avatar peastman
Browse files

When calling addHydrogens() without a ForceField, improve positioning of hydrogens

parent b32e5832
...@@ -813,7 +813,7 @@ class Modeller(object): ...@@ -813,7 +813,7 @@ class Modeller(object):
# and causes hydrogens to spread out evenly. # and causes hydrogens to spread out evenly.
system = System() system = System()
nonbonded = CustomNonbondedForce('1/((r/0.1)^4+1)') nonbonded = CustomNonbondedForce('100/((r/0.1)^4+1)')
bonds = HarmonicBondForce() bonds = HarmonicBondForce()
angles = HarmonicAngleForce() angles = HarmonicAngleForce()
system.addForce(nonbonded) system.addForce(nonbonded)
......
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