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
022a0190
"libraries/lepton/src/ExpressionProgram.cpp" did not exist on "b34864fb5dc8b043c6721b3cb2af5d94dca69986"
Commit
022a0190
authored
Apr 05, 2013
by
Peter Eastman
Browse files
Made some test cases (hopefully) more robust
parent
8fe900c7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
platforms/cuda/tests/TestCudaGBSAOBCForce.cpp
platforms/cuda/tests/TestCudaGBSAOBCForce.cpp
+1
-1
platforms/opencl/tests/TestOpenCLGBSAOBCForce.cpp
platforms/opencl/tests/TestOpenCLGBSAOBCForce.cpp
+1
-1
No files found.
platforms/cuda/tests/TestCudaGBSAOBCForce.cpp
View file @
022a0190
...
@@ -207,7 +207,7 @@ void testForce(int numParticles, NonbondedForce::NonbondedMethod method, GBSAOBC
...
@@ -207,7 +207,7 @@ void testForce(int numParticles, NonbondedForce::NonbondedMethod method, GBSAOBC
if
(
method
==
NonbondedForce
::
NoCutoff
)
if
(
method
==
NonbondedForce
::
NoCutoff
)
{
{
const
double
delta
=
0.
1
;
const
double
delta
=
0.
3
;
double
step
=
0.5
*
delta
/
norm
;
double
step
=
0.5
*
delta
/
norm
;
vector
<
Vec3
>
positions2
(
numParticles
),
positions3
(
numParticles
);
vector
<
Vec3
>
positions2
(
numParticles
),
positions3
(
numParticles
);
for
(
int
i
=
0
;
i
<
numParticles
;
++
i
)
{
for
(
int
i
=
0
;
i
<
numParticles
;
++
i
)
{
...
...
platforms/opencl/tests/TestOpenCLGBSAOBCForce.cpp
View file @
022a0190
...
@@ -207,7 +207,7 @@ void testForce(int numParticles, NonbondedForce::NonbondedMethod method, GBSAOBC
...
@@ -207,7 +207,7 @@ void testForce(int numParticles, NonbondedForce::NonbondedMethod method, GBSAOBC
if
(
method
==
NonbondedForce
::
NoCutoff
)
if
(
method
==
NonbondedForce
::
NoCutoff
)
{
{
const
double
delta
=
0.
1
;
const
double
delta
=
0.
3
;
double
step
=
0.5
*
delta
/
norm
;
double
step
=
0.5
*
delta
/
norm
;
vector
<
Vec3
>
positions2
(
numParticles
),
positions3
(
numParticles
);
vector
<
Vec3
>
positions2
(
numParticles
),
positions3
(
numParticles
);
for
(
int
i
=
0
;
i
<
numParticles
;
++
i
)
{
for
(
int
i
=
0
;
i
<
numParticles
;
++
i
)
{
...
...
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