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
a7ab2753
"docs-source/vscode:/vscode.git/clone" did not exist on "4a30156a2b673e565943da896228493b75fc2533"
Commit
a7ab2753
authored
Dec 03, 2014
by
peastman
Browse files
Fixed uninitialized memory in variable step size integrators
parent
066cdd60
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
openmmapi/src/VariableLangevinIntegrator.cpp
openmmapi/src/VariableLangevinIntegrator.cpp
+1
-0
openmmapi/src/VariableVerletIntegrator.cpp
openmmapi/src/VariableVerletIntegrator.cpp
+1
-0
No files found.
openmmapi/src/VariableLangevinIntegrator.cpp
View file @
a7ab2753
...
...
@@ -49,6 +49,7 @@ VariableLangevinIntegrator::VariableLangevinIntegrator(double temperature, doubl
setErrorTolerance
(
errorTol
);
setConstraintTolerance
(
1e-5
);
setRandomNumberSeed
(
osrngseed
());
setStepSize
(
0.0
);
}
void
VariableLangevinIntegrator
::
initialize
(
ContextImpl
&
contextRef
)
{
...
...
openmmapi/src/VariableVerletIntegrator.cpp
View file @
a7ab2753
...
...
@@ -43,6 +43,7 @@ using std::vector;
VariableVerletIntegrator
::
VariableVerletIntegrator
(
double
errorTol
)
:
errorTol
(
errorTol
)
{
setConstraintTolerance
(
1e-5
);
setStepSize
(
0.0
);
}
void
VariableVerletIntegrator
::
initialize
(
ContextImpl
&
contextRef
)
{
...
...
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