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
203e5407
Commit
203e5407
authored
Feb 19, 2017
by
Andy Simmonett
Browse files
Loosened tolerance for force checks slighly, for single precision CUDA test.
parent
c08b19ee
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
tests/TestDispersionPME.h
tests/TestDispersionPME.h
+3
-1
No files found.
tests/TestDispersionPME.h
View file @
203e5407
...
@@ -1208,8 +1208,10 @@ void testDMFDpmeEnergiesForcesWithExclusions() {
...
@@ -1208,8 +1208,10 @@ void testDMFDpmeEnergiesForcesWithExclusions() {
ASSERT_EQUAL_TOL
(
refenergy
,
energy
,
1E-4
);
ASSERT_EQUAL_TOL
(
refenergy
,
energy
,
1E-4
);
for
(
int
n
=
0
;
n
<
numAtoms
;
++
n
)
for
(
int
n
=
0
;
n
<
numAtoms
;
++
n
)
ASSERT_EQUAL_VEC
(
refforces
[
n
],
forces
[
n
],
1
E-4
);
ASSERT_EQUAL_VEC
(
refforces
[
n
],
forces
[
n
],
5
E-4
);
}
}
void
testWater2DpmeEnergiesForcesWithExclusions
()
{
void
testWater2DpmeEnergiesForcesWithExclusions
()
{
const
double
cutoff
=
7.0
*
OpenMM
::
NmPerAngstrom
;
const
double
cutoff
=
7.0
*
OpenMM
::
NmPerAngstrom
;
const
double
alpha
=
4.0124063605
;
const
double
alpha
=
4.0124063605
;
...
...
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