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
31f7f355
"platforms/cuda/include/CudaProgram.h" did not exist on "e561a67824a1a0ac544547ff4c08baa4853d1b5f"
Commit
31f7f355
authored
Aug 17, 2018
by
huangj
Browse files
Add excetion parameters into NBThole so all nonbonded forces have identical exclusions.
parent
ba8c16da
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
wrappers/python/simtk/openmm/app/charmmpsffile.py
wrappers/python/simtk/openmm/app/charmmpsffile.py
+4
-0
No files found.
wrappers/python/simtk/openmm/app/charmmpsffile.py
View file @
31f7f355
...
...
@@ -1412,6 +1412,10 @@ class CharmmPsfFile(object):
ii
,
jj
,
q
,
eps
,
sig
=
force
.
getExceptionParameters
(
i
)
cforce
.
addExclusion
(
ii
,
jj
)
system
.
addForce
(
cforce
)
if
has_drude_particle
and
has_nbthole_terms
:
for
i
in
range
(
force
.
getNumExceptions
()):
ii
,
jj
,
q
,
eps
,
sig
=
force
.
getExceptionParameters
(
i
)
nbtforce
.
addExclusion
(
ii
,
jj
)
# Add GB model if we're doing one
if
implicitSolvent
is
not
None
:
...
...
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