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
895fcd4c
Unverified
Commit
895fcd4c
authored
Oct 22, 2025
by
Peter Eastman
Committed by
GitHub
Oct 22, 2025
Browse files
Avoid incorrectly adding plasma correction (#5117)
parent
58378cce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
platforms/common/src/CommonCalcNonbondedForce.cpp
platforms/common/src/CommonCalcNonbondedForce.cpp
+1
-1
No files found.
platforms/common/src/CommonCalcNonbondedForce.cpp
View file @
895fcd4c
...
@@ -909,7 +909,7 @@ double CommonCalcNonbondedForceKernel::execute(ContextImpl& context, bool includ
...
@@ -909,7 +909,7 @@ double CommonCalcNonbondedForceKernel::execute(ContextImpl& context, bool includ
// The Ewald self energy was computed in the kernel.
// The Ewald self energy was computed in the kernel.
energy
=
0.0
;
energy
=
0.0
;
if
(
pmeGrid1
.
isInitialized
()
||
cosSinSums
.
isInitialized
())
{
if
(
(
pmeGrid1
.
isInitialized
()
||
cosSinSums
.
isInitialized
())
&&
includeReciprocal
)
{
// Invoke a kernel to compute the correction for the neutralizing plasma.
// Invoke a kernel to compute the correction for the neutralizing plasma.
Vec3
a
,
b
,
c
;
Vec3
a
,
b
,
c
;
...
...
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