"platforms/cuda/include/CudaProgram.h" did not exist on "e561a67824a1a0ac544547ff4c08baa4853d1b5f"
Commit 31f7f355 authored by huangj's avatar huangj
Browse files

Add excetion parameters into NBThole so all nonbonded forces have identical exclusions.

parent ba8c16da
......@@ -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:
......
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