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
e8126dd7
"platforms/opencl/vscode:/vscode.git/clone" did not exist on "e62a6de6d99f6135dc04b3c135b2b08150ef9914"
Commit
e8126dd7
authored
Jan 22, 2019
by
Yutong Zhao
Browse files
Properly define GBSAOBC alpha beta gamma constants to be doubles.
parent
c2817e92
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
platforms/reference/src/SimTKReference/ObcParameters.cpp
platforms/reference/src/SimTKReference/ObcParameters.cpp
+6
-6
No files found.
platforms/reference/src/SimTKReference/ObcParameters.cpp
View file @
e8126dd7
...
...
@@ -103,13 +103,13 @@ ObcParameters::ObcType ObcParameters::getObcType() const {
void
ObcParameters
::
setObcTypeParameters
(
ObcParameters
::
ObcType
obcType
)
{
if
(
obcType
==
ObcTypeI
)
{
_alphaObc
=
0.8
f
;
_betaObc
=
0.0
f
;
_gammaObc
=
2.91
f
;
_alphaObc
=
0.8
L
;
_betaObc
=
0.0
L
;
_gammaObc
=
2.91
L
;
}
else
{
_alphaObc
=
1.0
f
;
_betaObc
=
0.8
f
;
_gammaObc
=
4.85
f
;
_alphaObc
=
1.0
L
;
_betaObc
=
0.8
L
;
_gammaObc
=
4.85
L
;
}
_obcType
=
obcType
;
}
...
...
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