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
1ae5a332
"platforms/hip/tests/TestHipATMForce.cpp" did not exist on "68ef42c07833aa5a695ab62f79a79177e163bf46"
Commit
1ae5a332
authored
May 05, 2010
by
Mark Friedrichs
Browse files
Include missing factor of 138.93548 (1/4*pi*epsilon0) in nonpolar energy expression:
parent
0094d14b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
platforms/cuda/tests/TestCudaGBVIForce.cpp
platforms/cuda/tests/TestCudaGBVIForce.cpp
+1
-1
No files found.
platforms/cuda/tests/TestCudaGBVIForce.cpp
View file @
1ae5a332
...
...
@@ -84,7 +84,7 @@ void testSingleParticle() {
double
tau
=
(
1.0
/
forceField
->
getSoluteDielectric
()
-
1.0
/
forceField
->
getSolventDielectric
());
double
bornEnergy
=
(
-
charge
*
charge
/
(
8
*
PI_M
*
eps0
))
*
tau
/
bornRadius
;
double
nonpolarEnergy
=
-
gamma
*
tau
*
std
::
pow
(
radius
/
bornRadius
,
3.0
);
double
nonpolarEnergy
=
-
gamma
*
tau
*
138.935485
*
std
::
pow
(
radius
/
bornRadius
,
3.0
);
double
expectedE
=
(
bornEnergy
+
nonpolarEnergy
);
double
obtainedE
=
state
.
getPotentialEnergy
();
...
...
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