Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
a55e1e43
Commit
a55e1e43
authored
Jan 09, 2017
by
peastman
Committed by
GitHub
Jan 09, 2017
Browse files
Merge pull request #1713 from peastman/hydrogens
Avoid adding hydrogens at same location
parents
06c82bc0
9b45e32e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
wrappers/python/simtk/openmm/app/modeller.py
wrappers/python/simtk/openmm/app/modeller.py
+1
-1
No files found.
wrappers/python/simtk/openmm/app/modeller.py
View file @
a55e1e43
...
@@ -870,7 +870,7 @@ class Modeller(object):
...
@@ -870,7 +870,7 @@ class Modeller(object):
# and causes hydrogens to spread out evenly.
# and causes hydrogens to spread out evenly.
system
=
System
()
system
=
System
()
nonbonded
=
CustomNonbondedForce
(
'100/(
(
r/0.1)^4
+1)
'
)
nonbonded
=
CustomNonbondedForce
(
'100/(r/0.1)^4'
)
nonbonded
.
setNonbondedMethod
(
CustomNonbondedForce
.
CutoffNonPeriodic
);
nonbonded
.
setNonbondedMethod
(
CustomNonbondedForce
.
CutoffNonPeriodic
);
nonbonded
.
setCutoffDistance
(
1
*
nanometer
)
nonbonded
.
setCutoffDistance
(
1
*
nanometer
)
bonds
=
HarmonicBondForce
()
bonds
=
HarmonicBondForce
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment