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
1a3411a5
Commit
1a3411a5
authored
Nov 04, 2015
by
Peter Eastman
Browse files
Added documentation on CompoundIntegrator
parent
5606928b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
docs-source/usersguide/application.rst
docs-source/usersguide/application.rst
+7
-0
openmmapi/include/openmm/CompoundIntegrator.h
openmmapi/include/openmm/CompoundIntegrator.h
+8
-0
No files found.
docs-source/usersguide/application.rst
View file @
1a3411a5
...
...
@@ -1125,6 +1125,13 @@ perform integration on a modified potential energy surface to allow much faster
sampling
of
conformations
.
For
details
on
how
to
use
them
,
consult
the
API
documentation
.
Compound
Integrator
-------------------
The
:
class
:`
CompoundIntegrator
`
class
is
useful
for
cases
where
you
want
to
use
multiple
integration
algorithms
within
a
single
simulation
.
It
allows
you
to
create
multiple
integrators
,
then
switch
back
and
forth
between
them
.
For
details
on
how
to
use
it
,
consult
the
API
documentation
.
Temperature
Coupling
====================
...
...
openmmapi/include/openmm/CompoundIntegrator.h
View file @
1a3411a5
...
...
@@ -65,6 +65,14 @@ namespace OpenMM {
* compoundIntegrator.setCurrentIntegrator(1);
* compoundIntegrator.step(1000); // Take 1000 steps of Langevin dynamics
* </pre></tt>
*
* When switching between integrators, it is important to make sure they are compatible with
* each other, and that they will interpret the positions and velocities in the same way.
* Remember that leapfrog style integrators assume the positions and velocities are offset
* from each other by half a time step. When switching between a leapfrog and non-leapfrog
* integrator, you must first adjust the velocities to avoid introducing error. This is also
* true when switching between two leapfrog integrators that use different step sizes,
* since they will interpret the velocities as corresponding to different times.
*/
class
OPENMM_EXPORT
CompoundIntegrator
:
public
Integrator
{
...
...
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