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
47d2fa76
Commit
47d2fa76
authored
Aug 11, 2009
by
Mark Friedrichs
Browse files
Missing addition sign for 14LJ energy (nonbondedMethod == NO_CUTOFF)
parent
a3464898
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
platforms/cuda/src/kernels/kCalculateLocalForces.cu
platforms/cuda/src/kernels/kCalculateLocalForces.cu
+1
-1
No files found.
platforms/cuda/src/kernels/kCalculateLocalForces.cu
View file @
47d2fa76
...
@@ -468,7 +468,7 @@ __global__ void kCalculateLocalForces_kernel()
...
@@ -468,7 +468,7 @@ __global__ void kCalculateLocalForces_kernel()
float
sig6
=
sig2
*
sig2
*
sig2
;
float
sig6
=
sig2
*
sig2
*
sig2
;
float
dEdR
=
LJ14
.
x
*
(
12.0
f
*
sig6
-
6.0
f
)
*
sig6
;
float
dEdR
=
LJ14
.
x
*
(
12.0
f
*
sig6
-
6.0
f
)
*
sig6
;
/* E */
/* E */
energy
=
LJ14
.
x
*
(
sig6
-
1.0
f
)
*
sig6
;
energy
+
=
LJ14
.
x
*
(
sig6
-
1.0
f
)
*
sig6
;
energy
+=
LJ14
.
z
*
inverseR
;
energy
+=
LJ14
.
z
*
inverseR
;
dEdR
+=
LJ14
.
z
*
inverseR
;
dEdR
+=
LJ14
.
z
*
inverseR
;
...
...
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