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
30592159
Unverified
Commit
30592159
authored
Jan 22, 2019
by
peastman
Committed by
GitHub
Jan 22, 2019
Browse files
Merge pull request #2246 from proteneer/long_double
Properly define GBSAOBC alpha beta gamma constants to be doubles.
parents
c2817e92
885b63c3
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 @
30592159
...
...
@@ -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
;
_betaObc
=
0.0
;
_gammaObc
=
2.91
;
}
else
{
_alphaObc
=
1.0
f
;
_betaObc
=
0.8
f
;
_gammaObc
=
4.85
f
;
_alphaObc
=
1.0
;
_betaObc
=
0.8
;
_gammaObc
=
4.85
;
}
_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