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
a7e6f0a9
Unverified
Commit
a7e6f0a9
authored
Mar 01, 2022
by
Peter Eastman
Committed by
GitHub
Mar 01, 2022
Browse files
Barostat does not reset cell offsets (#3490)
parent
4700c52f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
platforms/common/src/CommonKernels.cpp
platforms/common/src/CommonKernels.cpp
+0
-2
No files found.
platforms/common/src/CommonKernels.cpp
View file @
a7e6f0a9
...
...
@@ -7901,8 +7901,6 @@ void CommonApplyMonteCarloBarostatKernel::scaleCoordinates(ContextImpl& context,
kernel->setArg(2, (float) scaleZ);
setPeriodicBoxArgs(cc, kernel, 4);
kernel->execute(cc.getNumAtoms());
for (auto& offset : cc.getPosCellOffsets())
offset = mm_int4(0, 0, 0, 0);
lastAtomOrder = cc.getAtomIndex();
}
...
...
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