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
3c100e69
"platforms/brook/vscode:/vscode.git/clone" did not exist on "4492ca244713b2b828a33353bd7ae772940b29cc"
Commit
3c100e69
authored
Oct 29, 2008
by
Peter Eastman
Browse files
Renamed GBSAOBCForceField to GBSAOBCForce.
parent
1b2ebaf0
Changes
21
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
platforms/reference/tests/TestReferenceGBSAOBCForce.cpp
platforms/reference/tests/TestReferenceGBSAOBCForce.cpp
+4
-4
No files found.
platforms/reference/tests/TestReferenceGBSAOBCForce
Field
.cpp
→
platforms/reference/tests/TestReferenceGBSAOBCForce.cpp
View file @
3c100e69
...
...
@@ -30,13 +30,13 @@
* -------------------------------------------------------------------------- */
/**
* This tests the reference implementation of GBSAOBCForce
Field
.
* This tests the reference implementation of GBSAOBCForce.
*/
#include "../../../tests/AssertionUtilities.h"
#include "OpenMMContext.h"
#include "ReferencePlatform.h"
#include "GBSAOBCForce
Field
.h"
#include "GBSAOBCForce.h"
#include "System.h"
#include "LangevinIntegrator.h"
#include "../src/SimTKUtilities/SimTKOpenMMRealType.h"
...
...
@@ -54,7 +54,7 @@ void testSingleParticle() {
System
system
(
1
,
0
);
system
.
setParticleMass
(
0
,
2.0
);
LangevinIntegrator
integrator
(
0
,
0.1
,
0.01
);
GBSAOBCForce
Field
*
forceField
=
new
GBSAOBCForce
Field
(
1
);
GBSAOBCForce
*
forceField
=
new
GBSAOBCForce
(
1
);
forceField
->
setParticleParameters
(
0
,
0.5
,
0.15
,
1
);
system
.
addForce
(
forceField
);
OpenMMContext
context
(
system
,
integrator
,
platform
);
...
...
@@ -75,7 +75,7 @@ void testForce() {
const
int
numParticles
=
10
;
System
system
(
numParticles
,
0
);
LangevinIntegrator
integrator
(
0
,
0.1
,
0.01
);
GBSAOBCForce
Field
*
forceField
=
new
GBSAOBCForce
Field
(
numParticles
);
GBSAOBCForce
*
forceField
=
new
GBSAOBCForce
(
numParticles
);
for
(
int
i
=
0
;
i
<
numParticles
;
++
i
)
forceField
->
setParticleParameters
(
i
,
i
%
2
==
0
?
-
1
:
1
,
0.15
,
1
);
system
.
addForce
(
forceField
);
...
...
Prev
1
2
Next
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