This document is for OpenStructure version 2.6, the latest version is 2.9.0 !

Integrators

class Integrator

The Integrator are a wrapper around the integrators provided by OpenMM and have to be attached to the Settings when setting up a simulation. They define the algorithm used to integrate the equations of motion of the system.

Verlet Dynamics

class VerletIntegrator(step_size)

Implementation of Verlet dynamics

Parameters:

step_size (float) – Defining timestep in ps

class VariableVerletIntegrator(error_tol)

Implementation of Verlet dynamics with variable time steps

Parameters:

error_tol (float) – Error tolerance

GetErrorTolerance()
Returns:

float

SetErrorTolerance(tol)
Parameters:

tol (float) – Error tolerance

Langevin Dynamics

class LangevinIntegrator(temperature, friction_coeff, step_size)

Implementation of the Langevin dynamics

Parameters:
  • temperature (float) – Temperature of heat bath in K

  • friction_coeff (float) – Friction coefficient coupling the system to the heat bath in 1/ps

  • step_size (float) – Defining timestep in ps

GetTemperature()
Returns:

float - the temperature in K

SetTemperature(temperature)
Parameters:

temperature (float) – Temperature in K

GetFriction()
Returns:

float - the friction in 1/ps

SetFriction(friction)
Parameters:

friction (float) – Friction in 1/ps

GetRandomNumberSeed()
Returns:

int

SetRandomNumberSeed(seed)
Parameters:

seed (int) – Random number seed

class VariableLangevinIntegrator(temperature, friction_coeff, error_tol)

Implementation of Langevin dynamics with variable time steps

Parameters:
  • temperature (float) – Temperature of heat bath in K

  • friction_coeff (float) – Friction coefficient coupling the system to the heat bath in 1/ps

  • error_tol – Error tolerance

GetTemperature()
Returns:

float - the temperature in K

SetTemperature(temperature)
Parameters:

temperature (float) – Temperature in K

GetFriction()
Returns:

float - the friction in 1/ps

SetFriction(friction)
Parameters:

friction (float) – Friction in 1/ps

GetRandomNumberSeed()
Returns:

int

SetRandomNumberSeed(seed)
Parameters:

seed (int) – Random number seed

GetErrorTolerance()
Returns:

float

SetErrorTolerance(tol)
Parameters:

tol (float) – Error tolerance

Brownian Dynamics

class BrownianIntegrator(temperature, friction_coeff, step_size)

Implementation of Brownian dynamics

Parameters:
  • temperature (float) – Temperature of heat bath in K

  • friction_coeff (float) – Friction coefficient coupling the system to the heat bath in 1/ps

  • step_size (float) – Defining timestep in ps.

GetTemperature()
Returns:

float - the temperature in K

SetTemperature(temperature)
Parameters:

temperature (float) – Temperature in K

GetFriction()
Returns:

float - the friction in 1/ps

SetFriction(friction)
Parameters:

friction (float) – Friction in 1/ps

GetRandomNumberSeed()
Returns:

int

SetRandomNumberSeed(seed)
Parameters:

seed (int) – Random number seed

Search

Enter search terms or a module, class or function name.

Contents

Documentation is available for the following OpenStructure versions:

dev / 2.9.0 / 2.8 / 2.7 / (Currently viewing 2.6) / 2.5 / 2.4 / 2.3.1 / 2.3 / 2.2 / 2.1 / 2.0 / 1.9 / 1.8 / 1.7.1 / 1.7 / 1.6 / 1.5 / 1.4 / 1.3 / 1.2 / 1.11 / 1.10 / 1.1

This documentation is still under heavy development!
If something is missing or if you need the C++ API description in doxygen style, check our old documentation for further information.