Skip to content

Commit

Permalink
Merge pull request #754 from choderalab/default_integrator_stock
Browse files Browse the repository at this point in the history
Change the default integrator to sock Langevin
  • Loading branch information
Lnaden authored Aug 21, 2017
2 parents e1b5b5c + 5d8e326 commit fa7394b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Yank/experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ class AlchemicalPhaseFactory(object):
'number_of_equilibration_iterations': 0,
'equilibration_timestep': 1.0 * unit.femtosecond,
'checkpoint_interval': 10,
'integrator_splitting': "BAOAB",
'integrator_splitting': None,
}

def __init__(self, sampler, thermodynamic_state, sampler_states, topography,
Expand Down
2 changes: 1 addition & 1 deletion docs/yamlpages/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Detailed Options List
* :ref:`randomize_ligand_close_cutoff <yaml_options_ligand_close_cutoff>`
* :ref:`temperature <yaml_options_temperature>`
* :ref:`pressure <yaml_options_pressure>`
* :ref:`splitting <yaml_options_splitting>`
* :ref:`integrator_splitting <yaml_options_integrator_splitting>`
* :ref:`hydrogen_mass <yaml_options_hydrogen_mass>`
* :ref:`constraints <yaml_options_constraints>`

Expand Down
16 changes: 9 additions & 7 deletions docs/yamlpages/options.rst
Original file line number Diff line number Diff line change
Expand Up @@ -313,24 +313,26 @@ Valid options (1 * atmosphere): null / <Quantity Pressure> [1]_



.. _yaml_options_splitting:
.. _yaml_options_integrator_splitting:

.. rst-class:: html-toggle

``splitting``
-------------
``integrator_splitting``
------------------------
.. code-block:: yaml
options:
splitting: V R O R V
integrator_splitting: null
Sequence of "R", "V", "O" (and optionally "{", "}", "V0", "V1", ...) sub-steps to be executed each timestep with a space
between each step. Tells the
integrator how to subdivide the work of taking a full timestep. For more details, see
`the OpenMMTools documentation splits <http://openmmtools.readthedocs.io/en/latest/api/generated/openmmtools.integrators.LangevinIntegrator.html#openmmtools.integrators.LangevinIntegrator>`_.
integrator how to subdivide the work of taking a full timestep, with optional HMC moves.
For example: ``V R O R V`` is a `BAOAB Integrator <https://journals.aps.org/pre/abstract/10.1103/PhysRevE.75.056707>`_
If you don't want a splitting integrator, specify ``null`` to get a standard Langevin integrator.
For more details, see
`the OpenMMTools documentation <http://openmmtools.readthedocs.io/en/latest/api/generated/openmmtools.integrators.LangevinIntegrator.html#openmmtools.integrators.LangevinIntegrator>`_.

Valid options (V R O R V): <String of R, V, O, {, and/or }>/``null``
Valid options (``null``): ``null``/<String of R, V, O, {, and/or }; white space " " delimiter>


.. _yaml_options_hydrogen_mass:
Expand Down

0 comments on commit fa7394b

Please sign in to comment.