Algorithm Search⌘K

Algorithmadvanced

Iterative Boltzmann inversion

Fits a coarse-grained pair potential to a target radial distribution function, by adding kT ln(g/g_target) to the potential after each simulation until g matches.

Time
O(I (S + M)) worst
Space
O(M) extra
Where
I = the number of iterations; M = the number of grid points of the potential; S = the cost of one simulation with its histogram
Properties
deterministicnot exactiterativenot randomized
Origin
Dirk Reith, Mathias Putz, Florian Muller Plathe, 2003

Iterative Boltzmann inversion (IBI) builds a pair potential V(r)V(r) for coarse-grained beads, so that a simulation of the beads reproduces a target radial distribution function g∗(r)g^*(r), usually the one of the beads mapped from an atomistic simulation. It starts from the potential of mean force −kBTln⁡g∗(r)-k_B T \ln g^*(r), runs a simulation with the current potential, and corrects the potential at each distance by kBTln⁡(g(r)/g∗(r))k_B T \ln(g(r) / g^*(r)): where the beads are found too often, the potential goes up. It stops when the simulated gg agrees with the target. Each iteration costs one simulation. Henderson's theorem says that the answer, if it exists, is unique up to a constant, but no theorem says that the iteration converges.

In plain words

You have a detailed simulation of a liquid, and you want a simple model in which each molecule is one ball. You measure how often two molecules sit at each distance in the detailed run. Now you guess a force law for the balls and run the simple model.

At distances where the balls meet more often than the molecules did, you make the balls repel a bit more. Where they meet less often, you make them repel less. You run the simple model again and repeat. The size of each correction comes from the ratio of the two counts. When the counts match at every distance, you stop. You then have a force law that gives the right structure, but not always the right pressure.

The problem

The input is a target g∗(r)g^*(r) on a grid r0,…,rM−1r_0, \dots, r_{M-1} up to a cutoff rcr_c, the temperature TT (with β=1/(kBT)\beta = 1 / (k_B T)), the density ρ\rho of the beads, and a simulator: a function that takes a tabulated pair potential VV and returns the radial distribution function gVg_V of an equilibrium run with it, in the canonical ensemble at the same ρ\rho and TT. The output is a potential VV with gV=g∗g_V = g^* to a tolerance. The beads interact only by the pair potential; three-body terms are outside the model, so a target from a system with many-body forces can be matched in gg, but other properties then need not match.

Two facts frame the problem. First, w(r)=−kBTln⁡g(r)w(r) = -k_B T \ln g(r) is the pair potential of mean force: the free energy of two beads at distance rr, averaged over all others. In the limit ρ→0\rho \to 0, g(r)=e−βV(r)g(r) = e^{-\beta V(r)}, so V=wV = w. At finite density, g(r)=e−βV(r)y(r)g(r) = e^{-\beta V(r)} y(r) with the cavity function y≠1y \ne 1, so V≠wV \ne w. Second, by Henderson's theorem (1974), for a fluid of pairwise additive particles at fixed ρ\rho and TT, two pair potentials with the same gg differ only by a constant. So the problem has at most one solution with V(rc)=0V(r_c) = 0.

The algorithm

  1. ITERATIVE-BOLTZMANN-INVERSION(g*, SIMULATE, k_B T, α, tol)
  2. 1V(r) ← -k_B T ln g*(r) at each grid point ▷ the potential of mean force
  3. 2repeat
  4. 3g ← SIMULATE(V) ▷ MD or MC with V, then a histogram of pair distances
  5. 4if max_r |g(r) - g*(r)| < tol then return V
  6. 5for each grid point r with g(r) > 0 and g*(r) > 0
  7. 6V(r) ← V(r) + α k_B T ln(g(r) / g*(r))
  8. 7return V ▷ the iteration budget is spent

Line L1 is plain Boltzmann inversion. It is exact at zero density and a good start at moderate density. Line L3 is the expensive step: an equilibrium simulation, long enough that the histogram noise in gg is below the corrections that line L6 makes. Line L6 is the update of Reith, Putz and Muller-Plathe (2003) with α=1\alpha = 1; a factor α<1\alpha < 1 damps it. Line L5 skips the points where a logarithm is not defined: inside the core, where no pair is seen, the potential keeps its start value (in practice it is extrapolated from the points outside).

Example

One step by hand. The implementation has a closed form simulator for tests: a one-dimensional fluid of density ρ\rho to first order in ρ\rho, with g(r)=e−βV(r)(1+ρ(f∗f)(r))g(r) = e^{-\beta V(r)} (1 + \rho (f * f)(r)), where f=e−βV−1f = e^{-\beta V} - 1 is the Mayer function and f∗ff * f is the convolution on the line. This is the density expansion of the cavity function, cut after the first term; it is a model of a simulator, not a simulation. Take kBT=1k_B T = 1, ρ=0.1\rho = 0.1, a grid with Δr=0.05\Delta r = 0.05 from 00 to 44 (81 points), and the true potential V∗(r)=2e−r2−0.5e−4(r−1.5)2V^*(r) = 2 e^{-r^2} - 0.5 e^{-4 (r - 1.5)^2}, a soft core with a well near r=1.5r = 1.5. The target has g∗(0)=0.152865g^*(0) = 0.152865. Line L1 gives V0(0)=−ln⁡0.152865=1.878199V_0(0) = -\ln 0.152865 = 1.878199, below the true V∗(0)=1.999938V^*(0) = 1.999938, because the neighbors push pairs together and raise gg above e−βVe^{-\beta V}. The simulator with V0V_0 gives g0(0)=0.171437g_0(0) = 0.171437, more than the target, so line L6 raises the potential: V1(0)=1.878199+ln⁡(0.171437/0.152865)=1.878199+0.114660=1.992859V_1(0) = 1.878199 + \ln(0.171437 / 0.152865) = 1.878199 + 0.114660 = 1.992859. Over the whole grid, the largest error of the potential falls from 0.12170.1217 for V0V_0 to 0.00710.0071 for V1V_1.

Convergence. On the same problem, the largest error max⁡∣gi−g∗∣\max |g_i - g^*| in the iterations i=0,1,2,…i = 0, 1, 2, \dots is

ii 0 1 2 3 4 5 10 16
max⁡∣gi−g∗∣\max \lvert g_i - g^* \rvert 2.79×10−22.79 \times 10^{-2} 5.31×10−35.31 \times 10^{-3} 1.43×10−31.43 \times 10^{-3} 4.04×10−44.04 \times 10^{-4} 1.16×10−41.16 \times 10^{-4} 3.35×10−53.35 \times 10^{-5} 6.49×10−86.49 \times 10^{-8} 3.55×10−113.55 \times 10^{-11}

so the error falls by a factor of about 0.290.29 per iteration, and after 17 simulations the potential matches V∗V^* to 4×10−114 \times 10^{-11}. At ρ=0.2\rho = 0.2 the factor is about 0.580.58 and 37 simulations are needed; with the damping α=0.5\alpha = 0.5 at ρ=0.1\rho = 0.1, 45 are needed. In the dilute model g=e−βVg = e^{-\beta V}, line L1 is already exact and the loop stops after one simulation. These are measurements on a model, without the noise of a real simulation.

Correctness

The proof in the proofs file shows three things. First, a returned potential satisfies the stop test of line L4, and a fixed point of line L6 with α>0\alpha > 0 is exactly a potential with gV=g∗g_V = g^* at every updated grid point. By Henderson's theorem, if the simulator is exact and the target comes from a pair potential at the same state, this fixed point is that potential up to a constant. Second, in the dilute limit gV=e−βVg_V = e^{-\beta V}, line L1 is the exact answer. Third, the update is a Newton step for the equation ln⁡gV=ln⁡g∗\ln g_V = \ln g^* with the Jacobian ∂ln⁡gV(r)/∂V(r′)≈−βδrr′\partial \ln g_V(r) / \partial V(r') \approx -\beta \delta_{r r'}, which is the exact Jacobian at zero density. So IBI is a quasi-Newton method whose Jacobian is right in the dilute limit and wrong by terms of order ρ\rho at finite density. This explains the fast convergence in the example and the rate that grows with ρ\rho, but it is a heuristic, not a proof: there is no general convergence theorem for IBI, and with a noisy simulator the iteration converges at best to a neighborhood of the answer whose size is set by the noise.

Proof: Fixed points of iterative Boltzmann inversion, the dilute limit and the quasi-Newton formfull

The grid is r0,…,rM−1r_0, \dots, r_{M-1}. A simulator is a map from a tabulated potential VV to a function gV>0g_V > 0 on the grid, β=1/(kBT)\beta = 1 / (k_B T), the target is g∗g^*, and α>0\alpha > 0. We assume exact arithmetic and an exact (noise free) simulator. Let UU be the set of grid points where g∗>0g^* > 0, and assume that gV>0g_V > 0 on UU for the potentials that occur, so that line L5 updates exactly the points of UU.

Lemma 1 (what is returned). If the procedure returns at line L4, then max⁡r∣gV(r)−g∗(r)∣<tol\max_r |g_V(r) - g^*(r)| < \mathrm{tol} for the returned VV.

Proof. Line L4 returns VV only after line L3 has computed g=gVg = g_V for this VV and the test has held. Nothing changes VV between line L3 and the return. □\square

Lemma 2 (fixed points). A potential VV is left unchanged by lines L5 and L6 if and only if gV(r)=g∗(r)g_V(r) = g^*(r) at every point rr of UU.

Proof. Line L6 changes V(r)V(r) by αkBTln⁡(gV(r)/g∗(r))\alpha k_B T \ln(g_V(r) / g^*(r)) at each r∈Ur \in U. Since αkBT>0\alpha k_B T > 0, the change is zero if and only if ln⁡(gV(r)/g∗(r))=0\ln(g_V(r) / g^*(r)) = 0, that is gV(r)=g∗(r)g_V(r) = g^*(r). Points outside UU are never changed. □\square

Corollary (uniqueness). Let the simulator be exact for a fluid of particles with pairwise additive interactions, in the canonical ensemble at the density and temperature of the target, and let g∗=gV∗g^* = g_{V^*} for a pair potential V∗V^*. By Henderson's theorem (1974), two pair potentials with the same pair correlation function at the same density and temperature differ by a constant. So a fixed point of Lemma 2 with UU the whole grid equals V∗+cV^* + c, and c=0c = 0 if both potentials vanish at the cutoff. The corollary uses Henderson's theorem as stated in the source; it is not proved here.

Lemma 3 (the dilute limit). If gV=e−βVg_V = e^{-\beta V} for every VV, then line L1 gives a fixed point at once: gV0=g∗g_{V_0} = g^* on UU, and the loop returns after one simulation for any tol>0\mathrm{tol} > 0.

Proof. Line L1 sets V0(r)=−kBTln⁡g∗(r)V_0(r) = -k_B T \ln g^*(r) on UU, so gV0(r)=e−βV0(r)=eln⁡g∗(r)=g∗(r)g_{V_0}(r) = e^{-\beta V_0(r)} = e^{\ln g^*(r)} = g^*(r), and the test of line L4 holds with error 00. □\square

Lemma 4 (the quasi-Newton form). Write gV=e−βVyVg_V = e^{-\beta V} y_V, with the cavity function yV=gVeβV>0y_V = g_V e^{\beta V} > 0. Consider the equation Φ(V)=ln⁡gV−ln⁡g∗=0\Phi(V) = \ln g_V - \ln g^* = 0 on UU. Its Jacobian is J=−βI+DJ = -\beta I + D, where D(r,r′)=∂ln⁡yV(r)/∂V(r′)D(r, r') = \partial \ln y_V(r) / \partial V(r'). The update of line L6 is exactly the step V←V−αJ0−1Φ(V)V \leftarrow V - \alpha J_0^{-1} \Phi(V) with J0=−βIJ_0 = -\beta I, the Jacobian of the dilute limit, where D=0D = 0.

Proof. ln⁡gV(r)=−βV(r)+ln⁡yV(r)\ln g_V(r) = -\beta V(r) + \ln y_V(r), so ∂ln⁡gV(r)/∂V(r′)=−βδrr′+D(r,r′)\partial \ln g_V(r) / \partial V(r') = -\beta \delta_{r r'} + D(r, r'). With J0=−βIJ_0 = -\beta I, −αJ0−1Φ(V)=αkBT(ln⁡gV−ln⁡g∗)=αkBTln⁡(gV/g∗)-\alpha J_0^{-1} \Phi(V) = \alpha k_B T (\ln g_V - \ln g^*) = \alpha k_B T \ln(g_V / g^*), which is the change of line L6. □\square

So IBI is a quasi-Newton iteration with a fixed approximate Jacobian. Near a solution V∗V^* the error map has the linear part I−αJ0−1J(V∗)=(1−α)I+αkBT D(V∗)I - \alpha J_0^{-1} J(V^*) = (1 - \alpha) I + \alpha k_B T\, D(V^*), and the iteration converges locally if the spectral radius of this matrix is less than 11. For α=1\alpha = 1 it is the spectral radius of kBT D(V∗)k_B T\, D(V^*), which tends to 00 with the density for a smooth exact simulator, because yV→1y_V \to 1 for every VV as ρ→0\rho \to 0. This gives local convergence at low enough density. There is no general bound on the spectral radius at liquid densities, so global convergence is not claimed.

Theorem. With an exact simulator, a returned potential reproduces the target to the tolerance (Lemma 1). A limit of the iteration reproduces it exactly on UU (Lemma 2), and it is the true pair potential up to a constant under the hypotheses of Henderson's theorem (corollary). In the dilute limit the first inversion is exact (Lemma 3). The update is the quasi-Newton step of Lemma 4.

Proof. Lemmas 1 to 4 and the corollary. ■\blacksquare

Complexity

Each iteration runs one simulation and one update of MM grid points, so the cost is O(I(S+M))O(I (S + M)) in the real RAM model, with memory O(M)O(M) beyond the simulation. The simulation dominates by far: a run of NN beads for many steps, with a cutoff and a linked cell list, costs O(N)O(N) per step. The number of iterations II depends on the density and on the noise, and no bound on it is known. The coarse-grained run is much cheaper than the atomistic run that produced the target, because the beads are fewer and softer and allow a longer time step.

Properties

  • Structure-based. IBI matches g(r)g(r), a structural target. It does not match forces, as force matching does, and it does not use the atomistic forces at all.
  • Unique target, uncertain path (theorem and heuristic). The solution is unique up to a constant by Henderson's theorem. Convergence of the iteration is not proved.
  • State dependent. The potential depends on the density and temperature of the target, because it absorbs the effect of the removed degrees of freedom; it is a free energy, not an energy.
  • Pressure. A potential that gives the right gg can give the wrong pressure, because the pressure comes from rV′(r)r V'(r) weighted by gg, and small changes of VV at large rr change the pressure much and gg little.
  • Several interactions. With bonds, angles and nonbonded pairs, each distribution has its own update, and the updates are done one after the other or together.

Variants and improvements

  • Damping and smoothing. A factor α<1\alpha < 1 in line L6 and a smoothing of the update reduce oscillations and the effect of noise.
  • Pressure correction. A common correction adds a small linear term A(1−r/rc)A (1 - r / r_c) to the potential, with the sign of AA chosen to move the pressure toward the target. This is a heuristic; the amplitude is a choice.
  • Inverse Monte Carlo. The inverse Monte Carlo method of Lyubartsev and Laaksonen (1995) uses the cross correlations of the histogram from the same simulation as the full Jacobian of gg with respect to VV. It is a Newton method with the right Jacobian, at the cost of more statistics per iteration.
  • Relative entropy and force matching. Other ways to fit a coarse-grained model minimize the relative entropy between the mapped and coarse-grained distributions, or fit the mean forces by least squares (force matching). The Mori-Zwanzig formalism explains what all of them leave out: the memory and the noise of the removed variables.

When to use it

Use IBI when the target is structural, for example to build a bead model of a polymer melt or of a liquid that keeps the packing of the atomistic model, and when the atomistic forces are not at hand or too noisy. Use force matching when the atomistic forces are available and many-body effects matter, since it needs one least squares solve in place of many simulations. Neither gives the right dynamics; for that, add friction and noise, as in dissipative particle dynamics.

Pitfalls

  • The sign of the update. Writing line L6 as V←V−kBTln⁡(g/g∗)V \leftarrow V - k_B T \ln(g / g^*) drives the potential away from the answer: where g>g∗g > g^* it lowers VV and draws more pairs to that distance. The right line is V←V+αkBTln⁡(g/g∗)V \leftarrow V + \alpha k_B T \ln(g / g^*).
  • The core region. Where no pair is seen, g=0g = 0 and the logarithm is undefined. Line L5 must skip these points, and the potential there must stay repulsive; extrapolate it from the first points with good statistics.
  • Noise. Histogram noise in gg goes straight into VV through the logarithm. Run each simulation long enough, smooth the update, and stop when the change is below the noise, not at a tolerance the data cannot reach.
  • An approximate simulator. Henderson's theorem holds for the exact gg of a fluid. In the example simulator, which is not a real fluid, at ρ=0.6\rho = 0.6 IBI converged to a potential that differs from V∗V^* by up to 1.25 kBT1.25\, k_B T but gives the same gg to 10−1010^{-10}. A short or biased simulation can do the same.
  • Transfer to another state. The potential is fitted at one density and temperature. Using it at another state point without a check is a common source of error.
  • The constant and the cutoff. The potential is unique only up to a constant; fix V(rc)=0V(r_c) = 0 and make the potential and its derivative go to zero at rcr_c.

Implementations

Each implementation follows the pseudocode above. A comment @line links a line of code to a line of the pseudocode. Point at a line of the pseudocode to see the matching code. The build runs the native tests of each language.

iterative_boltzmann_inversion.pyI0RawGitHub
# SPDX-License-Identifier: MIT
# Part of https://algorithm.tamnd.com/iterative-boltzmann-inversion/. The authors are listed in prov/JKHDRS.jsonl.
"""Iterative Boltzmann inversion (Reith, Putz and Muller-Plathe 2003).

IBI fits a pair potential V(r) on a grid r_0, ..., r_(M-1) so that a
simulation with V gives a target radial distribution function g*(r).
It starts from the Boltzmann inversion V_0 = -kT ln g* and repeats

    V_(i+1)(r) = V_i(r) + alpha kT ln(g_i(r) / g*(r)),

where g_i is the g(r) of a simulation with V_i. A point where g* or g_i
is below g_min is not updated, because the logarithm is not defined or
is pure noise there; the start value there is -kT ln g_min.

The simulator is a function V -> g on the same grid. A real one is a
molecular dynamics or Monte Carlo run with a histogram of pair
distances. For tests, this file gives two closed forms:

- dilute_g: the low density limit g(r) = exp(-V(r) / kT).
- virial_g_1d: a one-dimensional fluid of density rho to first order in
  rho, g(r) = exp(-V(r)/kT) (1 + rho (f * f)(r)) with the Mayer function
  f = exp(-V/kT) - 1 and the convolution on the line. This is the
  density expansion of the cavity function y(r) = g(r) exp(V(r)/kT)
  truncated after the first term.
"""

import math
from typing import Callable, Sequence

Simulator = Callable[[Sequence[float]], list[float]]


def dilute_g(kt: float) -> Simulator:
    """The simulator g = exp(-V / kT) of a dilute gas."""
    def simulate(v):
        return [math.exp(-x / kt) for x in v]
    return simulate


def virial_g_1d(kt: float, rho: float, dr: float) -> Simulator:
    """The simulator g = exp(-V/kT) (1 + rho (f * f)) of a 1D fluid, first order in rho.

    The grid is r_k = k dr, k = 0..M-1, and V = 0 beyond the grid.
    """
    def simulate(v):
        m = len(v)
        f = [math.exp(-x / kt) - 1.0 for x in v]
        g = []
        for k in range(m):
            conv = 0.0
            for j in range(k - m + 1, m):  # both |j| and |k - j| stay below m
                conv += f[abs(j)] * f[abs(k - j)]
            g.append(math.exp(-v[k] / kt) * (1.0 + rho * dr * conv))
        return g
    return simulate


def iterative_boltzmann_inversion(g_target: Sequence[float], simulate: Simulator, kt: float,
                                  tol: float = 1e-10, max_iter: int = 100, alpha: float = 1.0,
                                  g_min: float = 1e-8) -> tuple[list[float], list[float]]:
    """Return the potential V on the grid and the list of max |g_i - g*| per iteration."""
    v = [-kt * math.log(max(g, g_min)) for g in g_target]                 # @line L1
    errors = []
    for _ in range(max_iter):                                             # @line L2
        g = simulate(v)                                                   # @line L3
        err = max(abs(a - b) for a, b in zip(g, g_target))
        errors.append(err)
        if err < tol:                                                     # @line L4
            return v, errors
        for k in range(len(v)):                                           # @line L5
            if g[k] > g_min and g_target[k] > g_min:
                v[k] += alpha * kt * math.log(g[k] / g_target[k])         # @line L6
    return v, errors                                                      # @line L7
test_iterative_boltzmann_inversion.py 82 lines
# SPDX-License-Identifier: MIT
# Part of https://algorithm.tamnd.com/iterative-boltzmann-inversion/. The authors are listed in prov/JKHDRS.jsonl.
import math
import random

import pytest

from iterative_boltzmann_inversion import dilute_g, iterative_boltzmann_inversion, virial_g_1d

DR = 0.05
M = 81
R = [k * DR for k in range(M)]


def soft(a, b, c=1.5, w=4.0):
    return [a * math.exp(-x * x) - b * math.exp(-w * (x - c) ** 2) for x in R]


def test_dilute_gas_is_solved_by_the_first_inversion():
    v_true = soft(2.0, 0.5)
    sim = dilute_g(1.0)
    v, errors = iterative_boltzmann_inversion(sim(v_true), sim, 1.0)
    assert errors == [0.0]
    assert max(abs(a - b) for a, b in zip(v, v_true)) < 1e-12


def test_one_update_step_by_hand():
    v_true = soft(2.0, 0.5)
    sim = virial_g_1d(1.0, 0.1, DR)
    g_star = sim(v_true)
    v1, errors = iterative_boltzmann_inversion(g_star, sim, 1.0, max_iter=1)
    v0 = [-math.log(g) for g in g_star]
    g0 = sim(v0)
    assert len(errors) == 1
    for k in range(M):
        assert v1[k] == pytest.approx(v0[k] + math.log(g0[k] / g_star[k]), abs=1e-14)
    assert v0[0] == pytest.approx(1.878199, abs=1e-6)
    assert v1[0] == pytest.approx(1.992859, abs=1e-6)


def test_virial_fluid_converges_geometrically_to_the_true_potential():
    v_true = soft(2.0, 0.5)
    sim = virial_g_1d(1.0, 0.1, DR)
    v, errors = iterative_boltzmann_inversion(sim(v_true), sim, 1.0, tol=1e-10)
    assert len(errors) == 17
    assert max(abs(a - b) for a, b in zip(v, v_true)) < 1e-9
    ratios = [errors[i + 1] / errors[i] for i in range(len(errors) - 1)]
    assert all(q < 0.35 for q in ratios)


def test_damping_slows_but_keeps_convergence():
    v_true = soft(2.0, 0.5)
    sim = virial_g_1d(1.0, 0.1, DR)
    g_star = sim(v_true)
    _, full = iterative_boltzmann_inversion(g_star, sim, 1.0, tol=1e-10)
    v, half = iterative_boltzmann_inversion(g_star, sim, 1.0, tol=1e-10, alpha=0.5, max_iter=200)
    assert len(half) > len(full)
    assert half[-1] < 1e-10
    assert max(abs(a - b) for a, b in zip(v, v_true)) < 1e-8


@pytest.mark.parametrize("seed", range(5))
def test_random_soft_potentials_are_recovered(seed):
    rng = random.Random(seed)
    kt = rng.uniform(0.8, 1.5)
    v_true = soft(rng.uniform(0.5, 3.0), rng.uniform(0.0, 0.8), rng.uniform(1.0, 2.0), rng.uniform(2.0, 6.0))
    sim = virial_g_1d(kt, rng.uniform(0.02, 0.1), DR)
    v, errors = iterative_boltzmann_inversion(sim(v_true), sim, kt, tol=1e-11)
    assert errors[-1] < 1e-11
    assert max(abs(a - b) for a, b in zip(v, v_true)) < 1e-8


def test_points_with_zero_target_are_not_updated():
    v_true = [50.0 if x < 0.5 else y for x, y in zip(R, soft(2.0, 0.5))]
    sim = dilute_g(1.0)
    g_star = sim(v_true)
    v, errors = iterative_boltzmann_inversion(g_star, sim, 1.0, tol=1e-6)
    for k in range(M):
        if R[k] < 0.5:
            assert v[k] == pytest.approx(-math.log(1e-8))
        else:
            assert v[k] == pytest.approx(v_true[k], abs=1e-12)

History

Boltzmann inversion of a distribution function into a potential of mean force is old in liquid state theory. Henderson proved in 1974 that a pair potential is fixed by its g(r)g(r) at a given density and temperature, up to a constant. Reith, Putz and Muller-Plathe turned the inversion into an iteration in 2003 and used it to derive mesoscale potentials for polymers from atomistic simulations, for bonded and nonbonded interactions. It became one of the standard structure-based coarse-graining methods, next to inverse Monte Carlo and force matching.

References

  1. Dirk Reith, Mathias Putz and Florian Muller-Plathe, Deriving effective mesoscale potentials from atomistic simulations, Journal of Computational Chemistry 24(13), 2003, 1624-1636, the iterative update of the potential from the ratio of the distribution functions, for bonded and nonbonded coarse-grained interactions
  2. R. L. Henderson, A uniqueness theorem for fluid pair correlation functions, Physics Letters A 49(3), 1974, 197-198, the theorem that at fixed density and temperature a pair potential is fixed by g(r) up to a constant
  3. Michael P. Allen and Dominic J. Tildesley, Computer Simulation of Liquids, second edition, Oxford University Press, 2017, Section 2.6 (the radial distribution function and its estimate from a histogram)

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH1 sketch
  • a full proof of time.worst
  • a full proof of space.extra
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
Code (python)I0 not checked yet
  • the tests did not run in this build
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW2 basic
  • a scene preset for the example