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
7bb2bb89
Commit
7bb2bb89
authored
Jul 15, 2013
by
Lee-Ping Wang
Browse files
Merge branch 'master' of
https://github.com/leeping/openmm
parents
72726466
a85d163b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
wrappers/python/simtk/openmm/app/modeller.py
wrappers/python/simtk/openmm/app/modeller.py
+3
-1
No files found.
wrappers/python/simtk/openmm/app/modeller.py
View file @
7bb2bb89
...
...
@@ -757,7 +757,9 @@ class Modeller(object):
if
atoms
[
i
].
element
!=
elem
.
hydrogen
:
# This is a heavy atom, so make it immobile.
system
.
setParticleMass
(
i
,
0
)
context
=
Context
(
system
,
VerletIntegrator
(
0.0
))
from
simtk.openmm
import
Platform
plt
=
Platform
.
getPlatformByName
(
'Reference'
)
context
=
Context
(
system
,
VerletIntegrator
(
0.0
),
plt
)
context
.
setPositions
(
newPositions
)
LocalEnergyMinimizer
.
minimize
(
context
)
self
.
topology
=
newTopology
...
...
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