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
967347c4
Commit
967347c4
authored
Oct 22, 2012
by
Peter Eastman
Browse files
When adding solvent, leave less of a gap around the edge
parent
c9d720bb
Changes
1
Show 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 @
967347c4
...
@@ -317,7 +317,7 @@ class Modeller(object):
...
@@ -317,7 +317,7 @@ class Modeller(object):
if
nonbonded
is
None
:
if
nonbonded
is
None
:
raise
ValueError
(
'The ForceField does not specify a NonbondedForce'
)
raise
ValueError
(
'The ForceField does not specify a NonbondedForce'
)
cutoff
=
[
nonbonded
.
getParticleParameters
(
i
)[
1
].
value_in_unit
(
nanometer
)
*
vdwRadiusPerSigma
+
waterRadius
for
i
in
range
(
system
.
getNumParticles
())]
cutoff
=
[
nonbonded
.
getParticleParameters
(
i
)[
1
].
value_in_unit
(
nanometer
)
*
vdwRadiusPerSigma
+
waterRadius
for
i
in
range
(
system
.
getNumParticles
())]
waterCutoff
=
2
*
waterRadius
waterCutoff
=
waterRadius
if
len
(
cutoff
)
==
0
:
if
len
(
cutoff
)
==
0
:
maxCutoff
=
waterCutoff
maxCutoff
=
waterCutoff
else
:
else
:
...
...
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