Algorithm Search⌘K

Molecular simulation

Algorithms

  • Andersen thermostat

    Samples the canonical ensemble by giving randomly chosen particles new velocities from the Maxwell-Boltzmann distribution at a set collision rate.

    O(S N^2) worst1 languagescore
  • Berendsen thermostat

    Rescales velocities each step so the temperature relaxes exponentially toward the target; it is stable but does not sample the canonical ensemble.

    O(S N^2) worst1 languagescore
  • Brownian dynamics

    Integrates the overdamped Langevin equation, moving positions by force times mobility plus noise, for solutes in an implicit solvent.

    O(S N^3) worst1 languagescore
  • Ewald summation

    Computes the Coulomb energy and forces of charges in a periodic box by splitting each interaction into a short-range sum in real space and a smooth sum over wave vectors.

    O(N^2 + N M^3) worst1 languagescore
  • Free energy perturbation

    Estimates the free energy difference of two states as -kT log of the average of exp(-dU/kT) over samples of one state.

    O(K N) worst1 languagescore
  • Langevin dynamics

    Adds friction and a matching random force to Newton's equations so that the dynamics samples the canonical ensemble.

    O(S N^2) worst1 languagescore
  • Nose-Hoover thermostat

    Adds a friction variable with its own equation of motion so that the extended dynamics, if ergodic, samples the canonical ensemble.

    O(S N^2) worst1 languagescore
  • Particle mesh Ewald

    Computes the reciprocal-space part of the Ewald sum by spreading charges on a grid with Lagrange interpolation and using FFTs, in O(N log N) time for N charges.

    O(N p^3 + K^3 log K) worst1 languagescore
  • RATTLE algorithm

    Extends SHAKE to velocity Verlet by also projecting velocities onto the tangent space of the constraints, giving a symplectic constrained integrator.

    O(N + s C) worst1 languagescore
  • SHAKE constraint algorithm

    Holds bond lengths fixed during Verlet integration by adjusting positions along the bonds, one constraint at a time, until all hold to a tolerance.

    O(N + s C) worst1 languagescore
  • Thermodynamic integration

    Computes a free energy difference by integrating the ensemble average of dU/dlambda over a coupling parameter lambda from 0 to 1.

    O(K N) worst1 languagescore
  • Umbrella sampling

    Adds biasing potentials that restrain a collective variable in overlapping windows so rare regions are sampled, and removes the bias afterwards.

    O(K n + K B) worst1 languagescore
  • Bennett acceptance ratio

    Estimates a free energy difference from samples of both end states by solving an equation for the minimum-variance estimate.

    O(b n) worst1 languagesadvanced
  • Born-Oppenheimer molecular dynamics

    Moves the nuclei classically on forces from an electronic structure calculation solved to self-consistency at every step.

    O(T I C) worst1 languagesadvanced
  • Car-Parrinello molecular dynamics

    Propagates electronic orbitals as fictitious classical variables together with the nuclei, so ab initio forces need no full electronic minimization each step.

    O(T C) worst1 languagesadvanced
  • LINCS algorithm

    Resets bond constraints after an unconstrained step by a truncated matrix expansion of the constraint equations, faster and more parallel than SHAKE.

    O(N + C k t) worst1 languagesadvanced
  • Metadynamics

    Adds Gaussian hills at visited values of collective variables so the system escapes free energy minima; in the well-tempered form the bias converges to a scaled free energy.

    O(T + m G) worst1 languagesadvanced
  • Molecular dynamics simulation

    Simulates the motion of atoms by integrating Newton's equations under a force field, with the velocity Verlet method and one force evaluation per time step of about 1 to 2 fs.

    O(S N^2) worst1 languagesadvanced
  • Nose-Hoover chains

    Couples the Nose-Hoover friction to further thermostats in a chain, curing the lack of ergodicity of one thermostat on small or stiff systems.

    O(S (N^2 + M)) worst1 languagesadvanced
  • Parrinello-Rahman barostat

    Lets the shape and size of the periodic box evolve as dynamical variables driven by the pressure tensor. Alone it samples NPH; with a thermostat added it samples NPT.

    O(S N^2) worst1 languagesadvanced
  • Reversible reference system propagator algorithm

    Splits forces into fast and slow parts and integrates the fast part with smaller steps inside a symplectic Trotter splitting.

    O(n F + S + n N) worst1 languagesadvanced
  • Smooth particle mesh Ewald

    A variant of particle mesh Ewald that spreads charges with cardinal B-splines, so the forces are the exact gradient of a smooth approximate energy and need only two FFTs.

    O(N n^3 + K^3 log K) worst1 languagesadvanced
  • Stochastic velocity rescaling thermostat

    Rescales the kinetic energy by a random factor drawn so that it follows the canonical distribution, keeping Berendsen's smoothness with correct sampling.

    O(S N^2) worst1 languagesadvanced
  • Weighted histogram analysis method

    Combines the biased histograms of umbrella sampling windows into one unbiased free energy profile by solving self-consistent equations.

    O(I K B) worst1 languagesadvanced
  • BAOAB Langevin integrator

    Splits Langevin dynamics into kick, drift and exact Ornstein-Uhlenbeck steps in the order B A O A B, which gives very accurate configurational sampling.

    O(S N^2) worst1 languagesresearch

Data structures

  • Linked-cell list

    Bins atoms into cells of side at least the cutoff, so each atom checks only its own and the neighboring cells. At fixed density all pairs within the cutoff are found in O(N) time.

    O(N K + M) all_pairs1 languagescore
  • Verlet neighbor list

    Stores for each atom the atoms within the cutoff plus a skin, and is rebuilt only when some atom has moved more than half the skin.

    O(N^2) build_direct1 languagescore

Techniques

  • Periodic boundary conditions

    Surrounds the simulation box by periodic images of itself, with each pair interacting through its closest image, so a small system mimics bulk matter.

    1 languagesintro

Concepts

  • Interatomic potential

    A function that gives the potential energy of a set of atoms from their positions, whose negative gradient gives the forces used in molecular dynamics.

    intro
  • Collective variable

    A low-dimensional function of the atomic positions, such as a distance or torsion, used to describe a slow process and to bias or analyse it.

    core

Definitions

  • Radial distribution function

    The density of particles at distance r from a given particle divided by the bulk density, estimated from a histogram of pair distances.

    1 languagesintro
  • Canonical ensemble

    The distribution of states at fixed particle number, volume and temperature, with probability proportional to exp(-E/kT).

    core
  • Microcanonical ensemble

    The uniform distribution over states of fixed particle number, volume and energy. Hamiltonian molecular dynamics, if ergodic, samples it with the total momentum also fixed.

    core

Theorems

  • Green-Kubo relations

    Express transport coefficients such as diffusion and viscosity as time integrals of equilibrium autocorrelation functions that MD can estimate.

    advanced
  • Jarzynski equality

    The average of exp(-W/kT) over nonequilibrium processes that drive a system from state A to B equals exp(-dF/kT), linking work and free energy.

    advanced
  • Shadow Hamiltonian theorem

    For a symplectic method with a small step h on an analytic Hamiltonian, a modified energy near H is conserved to within e^(-c/h) over times exponentially long in 1/h.

    advanced

Models

  • Lennard-Jones potential

    The pair potential 4 epsilon ((sigma/r)^12 - (sigma/r)^6), with steep repulsion and van der Waals attraction. It is the standard model of simple liquids such as argon.

    1 languagesintro
  • Molecular mechanics force field

    A sum of bond, angle, torsion, Lennard-Jones and Coulomb terms with fitted parameters that models the energy of molecules.

    core
  • Embedded atom method

    A potential for metals in which each atom's energy is a function of the electron density summed from its neighbors, plus a pair term.

    1 languagesadvanced
  • Behler-Parrinello neural network potential

    Writes the energy as a sum of atomic energies, each a neural network of symmetry functions of the atom's neighborhood, trained on quantum calculations.

    1 languagesresearch