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
2c708e02
"libraries/sfmt/vscode:/vscode.git/clone" did not exist on "188bf2ef6ab5deb98625e2ae3046ac5764c7b641"
Commit
2c708e02
authored
Oct 26, 2011
by
Mark Friedrichs
Browse files
Added missing iostream header
parent
8960d7b2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
plugins/freeEnergy/platforms/cuda/src/kernels/kCalculateCDLJObcGbsaSoftcoreForces1.cu
.../cuda/src/kernels/kCalculateCDLJObcGbsaSoftcoreForces1.cu
+1
-0
plugins/freeEnergy/platforms/cuda/src/kernels/kCalculateGBVISoftcoreBornSum.cu
...atforms/cuda/src/kernels/kCalculateGBVISoftcoreBornSum.cu
+4
-3
plugins/freeEnergy/platforms/cuda/src/kernels/kCalculateNonbondedSoftcore.cu
...platforms/cuda/src/kernels/kCalculateNonbondedSoftcore.cu
+1
-0
No files found.
plugins/freeEnergy/platforms/cuda/src/kernels/kCalculateCDLJObcGbsaSoftcoreForces1.cu
View file @
2c708e02
...
...
@@ -34,6 +34,7 @@
#include <cuda.h>
#include <vector_functions.h>
#include <cstdlib>
#include <iostream>
#include <sstream>
#define USE_SOFTCORE_LJ
...
...
plugins/freeEnergy/platforms/cuda/src/kernels/kCalculateGBVISoftcoreBornSum.cu
View file @
2c708e02
...
...
@@ -34,6 +34,7 @@
#include "openmm/OpenMMException.h"
#include <cuda.h>
#include <iostream>
#include <sstream>
#define PARAMETER_PRINT 0
...
...
@@ -329,8 +330,8 @@ void kReduceGBVISoftcoreBornSum( freeEnergyGpuContext freeEnergyGpu )
float
ratio2
=
ratio
*
ratio
;
float
ratio3
=
ratio2
*
ratio
;
*
outValue
=
1.0
f
+
ratio3
*
(
-
10.
f
+
15
.0
f
*
ratio
-
6
.0
f
*
ratio
2
);
*
outDerivative
=
ratio2
*
(
-
30
.0
f
+
60.0
f
*
ratio
-
30
.0
f
*
ratio2
)
/
denominator
;
*
outValue
=
1.0
f
+
ratio3
*
(
-
10.
f
+
3
.0
f
*
ratio
*
(
5.0
f
-
2
.0
f
*
ratio
)
);
*
outDerivative
=
-
30.0
f
*
ratio2
*
(
1
.0
f
+
ratio
*
(
ratio
-
2
.0
f
)
)
/
denominator
;
}
__global__
void
kReduceGBVIBornSumQuinticScaling_kernel
()
...
...
@@ -473,7 +474,7 @@ void kPrintGBVISoftcore( freeEnergyGpuContext freeEnergyGpu, std::string callId,
switchDeriviative
->
Download
();
sigEps4
->
Download
();
(
void
)
fprintf
(
log
,
"kPrintGBV
i
Softcore Cuda
comp
bR bF swd prm sigeps4
\n
"
);
(
void
)
fprintf
(
log
,
"kPrintGBV
I
Softcore Cuda
Softcore
bR bF swd prm sigeps4
\n
"
);
for
(
int
ii
=
0
;
ii
<
gpu
->
sim
.
paddedNumberOfAtoms
;
ii
++
){
(
void
)
fprintf
(
log
,
"%6d %15.7e %15.7e %15.7e %15.7e %15.7e %15.7e %15.7e %15.7e %15.7e %15.7e %15.7e
\n
"
,
ii
,
...
...
plugins/freeEnergy/platforms/cuda/src/kernels/kCalculateNonbondedSoftcore.cu
View file @
2c708e02
...
...
@@ -27,6 +27,7 @@
#include "freeEnergyGpuTypes.h"
#include "GpuFreeEnergyCudaKernels.h"
#include "openmm/OpenMMException.h"
#include <iostream>
#include <sstream>
#define PARAMETER_PRINT 0
...
...
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