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
39fd6eb6
Commit
39fd6eb6
authored
Apr 22, 2010
by
Peter Eastman
Browse files
Bug fix
parent
fee019b0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
platforms/cuda/src/kernels/kLangevinUpdate.h
platforms/cuda/src/kernels/kLangevinUpdate.h
+1
-1
No files found.
platforms/cuda/src/kernels/kLangevinUpdate.h
View file @
39fd6eb6
...
...
@@ -143,7 +143,7 @@ void kLangevinUpdatePart2_kernel()
CM
.
z
+=
mass
*
velocity
.
z
;
#endif
float4
xPrime
=
make_float4
(
dt
*
velocity
.
x
,
dt
*
velocity
.
y
,
dt
*
velocity
.
z
,
0
);
float4
xPrime
=
make_float4
(
dt
*
velocity
.
x
,
dt
*
velocity
.
y
,
dt
*
velocity
.
z
,
cSim
.
pPosq
[
pos
].
w
);
cSim
.
pPosq
[
pos
]
=
xPrime
;
pos
+=
blockDim
.
x
*
gridDim
.
x
;
...
...
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