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
43a4b41f
Commit
43a4b41f
authored
Nov 21, 2008
by
Peter Eastman
Browse files
Fixed a method that had the wrong return type
parent
d279014c
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
olla/include/kernels.h
olla/include/kernels.h
+1
-1
platforms/cuda/src/CudaKernels.cpp
platforms/cuda/src/CudaKernels.cpp
+1
-1
platforms/cuda/src/CudaKernels.h
platforms/cuda/src/CudaKernels.h
+1
-1
platforms/reference/src/ReferenceKernels.cpp
platforms/reference/src/ReferenceKernels.cpp
+1
-1
platforms/reference/src/ReferenceKernels.h
platforms/reference/src/ReferenceKernels.h
+1
-1
No files found.
olla/include/kernels.h
View file @
43a4b41f
...
...
@@ -73,7 +73,7 @@ public:
*
* @param context the context in which to execute this kernel
*/
virtual
double
execute
(
OpenMMContextImpl
&
context
)
=
0
;
virtual
void
execute
(
OpenMMContextImpl
&
context
)
=
0
;
};
/**
...
...
platforms/cuda/src/CudaKernels.cpp
View file @
43a4b41f
...
...
@@ -82,7 +82,7 @@ static double calcEnergy(OpenMMContextImpl& context, System& system) {
void
CudaInitializeForcesKernel
::
initialize
(
const
System
&
system
)
{
}
double
CudaInitializeForcesKernel
::
execute
(
OpenMMContextImpl
&
context
)
{
void
CudaInitializeForcesKernel
::
execute
(
OpenMMContextImpl
&
context
)
{
}
CudaCalcHarmonicBondForceKernel
::~
CudaCalcHarmonicBondForceKernel
()
{
...
...
platforms/cuda/src/CudaKernels.h
View file @
43a4b41f
...
...
@@ -63,7 +63,7 @@ public:
*
* @param context the context in which to execute this kernel
*/
double
execute
(
OpenMMContextImpl
&
context
);
void
execute
(
OpenMMContextImpl
&
context
);
};
/**
...
...
platforms/reference/src/ReferenceKernels.cpp
View file @
43a4b41f
...
...
@@ -107,7 +107,7 @@ void disposeRealArray(RealOpenMM** array, int size) {
void
ReferenceInitializeForcesKernel
::
initialize
(
const
System
&
system
)
{
}
double
ReferenceInitializeForcesKernel
::
execute
(
OpenMMContextImpl
&
context
)
{
void
ReferenceInitializeForcesKernel
::
execute
(
OpenMMContextImpl
&
context
)
{
double
zero
[]
=
{
0.0
,
0.0
,
0.0
};
context
.
getForces
().
fillWithValue
(
zero
);
}
...
...
platforms/reference/src/ReferenceKernels.h
View file @
43a4b41f
...
...
@@ -63,7 +63,7 @@ public:
*
* @param context the context in which to execute this kernel
*/
double
execute
(
OpenMMContextImpl
&
context
);
void
execute
(
OpenMMContextImpl
&
context
);
};
/**
...
...
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