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
b8618886
Commit
b8618886
authored
Apr 03, 2013
by
Peter Eastman
Browse files
Copied Lee-Ping's fixes to the CUDA test over to the reference one
parent
9a59374e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
plugins/amoeba/platforms/reference/tests/TestReferenceAmoebaMultipoleForce.cpp
...rms/reference/tests/TestReferenceAmoebaMultipoleForce.cpp
+13
-13
No files found.
plugins/amoeba/platforms/reference/tests/TestReferenceAmoebaMultipoleForce.cpp
View file @
b8618886
...
@@ -2625,21 +2625,21 @@ static void testSystemMultipoleMoments( FILE* log ) {
...
@@ -2625,21 +2625,21 @@ static void testSystemMultipoleMoments( FILE* log ) {
cutoff
,
inputPmeGridDimension
,
testName
,
cutoff
,
inputPmeGridDimension
,
testName
,
forces
,
energy
,
outputMultipoleMoments
,
inputGrid
,
outputGridPotential
,
log
);
forces
,
energy
,
outputMultipoleMoments
,
inputGrid
,
outputGridPotential
,
log
);
std
::
vector
<
double
>
tinkerMoments
(
13
);
std
::
vector
<
double
>
tinkerMoments
(
4
);
tinkerMoments
[
0
]
=
0.0000000e+00
;
tinkerMoments
[
0
]
=
0.0000000e+00
;
tinkerMoments
[
1
]
=
-
9.1118361e
-01
;
tinkerMoments
[
1
]
=
-
9.1118361e
+00
;
tinkerMoments
[
2
]
=
2.8371876e+0
0
;
tinkerMoments
[
2
]
=
2.8371876e+0
1
;
tinkerMoments
[
3
]
=
5.1518898e+0
0
;
tinkerMoments
[
3
]
=
5.1518898e+0
1
;
tinkerMoments
[
4
]
=
-
1.0768808e-01
;
//
tinkerMoments[4] = -1.0768808e-01;
// Quadrupole moments are not uniquely defined when using periodic boundary conditions
tinkerMoments
[
5
]
=
-
9.0458124e-01
;
//
tinkerMoments[5] = -9.0458124e-01;
tinkerMoments
[
6
]
=
1.8460385e+00
;
//
tinkerMoments[6] = 1.8460385e+00;
tinkerMoments
[
7
]
=
-
9.0458124e-01
;
//
tinkerMoments[7] = -9.0458124e-01;
tinkerMoments
[
8
]
=
6.4395591e-02
;
//
tinkerMoments[8] = 6.4395591e-02;
tinkerMoments
[
9
]
=
1.6692567e-01
;
//
tinkerMoments[9] = 1.6692567e-01;
tinkerMoments
[
10
]
=
1.8460385e-00
;
//
tinkerMoments[10] = 1.8460385e-00;
tinkerMoments
[
11
]
=
1.6692567e-01
;
//
tinkerMoments[11] = 1.6692567e-01;
tinkerMoments
[
12
]
=
4.3292490e-02
;
//
tinkerMoments[12] = 4.3292490e-02;
double
tolerance
=
1.0e-04
;
double
tolerance
=
1.0e-04
;
if
(
log
){
if
(
log
){
...
...
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