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
".github/vscode:/vscode.git/clone" did not exist on "3994299742e9c781d068cb016f8b2a37c73cd57b"
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
if
(
method
==
NonbondedForce
::
NoCutoff
)
{
const
double
delta
=
0.
1
;
const
double
delta
=
0.
3
;
double
step
=
0.5
*
delta
/
norm
;
vector
<
Vec3
>
positions2
(
numParticles
),
positions3
(
numParticles
);
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
if
(
method
==
NonbondedForce
::
NoCutoff
)
{
const
double
delta
=
0.
1
;
const
double
delta
=
0.
3
;
double
step
=
0.5
*
delta
/
norm
;
vector
<
Vec3
>
positions2
(
numParticles
),
positions3
(
numParticles
);
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