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
352e2fc7
Commit
352e2fc7
authored
Dec 13, 2012
by
Peter Eastman
Browse files
Fixed test failures on Windows
parent
da66be82
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
plugins/amoeba/platforms/cuda/src/AmoebaCudaKernels.cpp
plugins/amoeba/platforms/cuda/src/AmoebaCudaKernels.cpp
+2
-0
No files found.
plugins/amoeba/platforms/cuda/src/AmoebaCudaKernels.cpp
View file @
352e2fc7
...
@@ -1888,6 +1888,7 @@ void CudaCalcAmoebaGeneralizedKirkwoodForceKernel::initialize(const System& syst
...
@@ -1888,6 +1888,7 @@ void CudaCalcAmoebaGeneralizedKirkwoodForceKernel::initialize(const System& syst
defines
[
"GK_FD"
]
=
cu
.
doubleToString
(
2
*
(
1
-
solventDielectric
)
/
(
1
+
2
*
solventDielectric
));
defines
[
"GK_FD"
]
=
cu
.
doubleToString
(
2
*
(
1
-
solventDielectric
)
/
(
1
+
2
*
solventDielectric
));
defines
[
"GK_FQ"
]
=
cu
.
doubleToString
(
3
*
(
1
-
solventDielectric
)
/
(
2
+
3
*
solventDielectric
));
defines
[
"GK_FQ"
]
=
cu
.
doubleToString
(
3
*
(
1
-
solventDielectric
)
/
(
2
+
3
*
solventDielectric
));
defines
[
"EPSILON_FACTOR"
]
=
cu
.
doubleToString
(
138.9354558456
);
defines
[
"EPSILON_FACTOR"
]
=
cu
.
doubleToString
(
138.9354558456
);
defines
[
"M_PI"
]
=
cu
.
doubleToString
(
M_PI
);
defines
[
"ENERGY_SCALE_FACTOR"
]
=
cu
.
doubleToString
(
138.9354558456
/
force
.
getSoluteDielectric
());
defines
[
"ENERGY_SCALE_FACTOR"
]
=
cu
.
doubleToString
(
138.9354558456
/
force
.
getSoluteDielectric
());
if
(
multipoles
->
getPolarizationType
()
==
AmoebaMultipoleForce
::
Direct
)
if
(
multipoles
->
getPolarizationType
()
==
AmoebaMultipoleForce
::
Direct
)
defines
[
"DIRECT_POLARIZATION"
]
=
""
;
defines
[
"DIRECT_POLARIZATION"
]
=
""
;
...
@@ -2237,6 +2238,7 @@ void CudaCalcAmoebaWcaDispersionForceKernel::initialize(const System& system, co
...
@@ -2237,6 +2238,7 @@ void CudaCalcAmoebaWcaDispersionForceKernel::initialize(const System& system, co
defines
[
"RMINH"
]
=
cu
.
doubleToString
(
force
.
getRminh
());
defines
[
"RMINH"
]
=
cu
.
doubleToString
(
force
.
getRminh
());
defines
[
"AWATER"
]
=
cu
.
doubleToString
(
force
.
getAwater
());
defines
[
"AWATER"
]
=
cu
.
doubleToString
(
force
.
getAwater
());
defines
[
"SHCTD"
]
=
cu
.
doubleToString
(
force
.
getShctd
());
defines
[
"SHCTD"
]
=
cu
.
doubleToString
(
force
.
getShctd
());
defines
[
"M_PI"
]
=
cu
.
doubleToString
(
M_PI
);
CUmodule
module
=
cu
.
createModule
(
CudaKernelSources
::
vectorOps
+
CudaAmoebaKernelSources
::
amoebaWcaForce
,
defines
);
CUmodule
module
=
cu
.
createModule
(
CudaKernelSources
::
vectorOps
+
CudaAmoebaKernelSources
::
amoebaWcaForce
,
defines
);
forceKernel
=
cu
.
getKernel
(
module
,
"computeWCAForce"
);
forceKernel
=
cu
.
getKernel
(
module
,
"computeWCAForce"
);
totalMaximumDispersionEnergy
=
AmoebaWcaDispersionForceImpl
::
getTotalMaximumDispersionEnergy
(
force
);
totalMaximumDispersionEnergy
=
AmoebaWcaDispersionForceImpl
::
getTotalMaximumDispersionEnergy
(
force
);
...
...
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