A short run
Overview
What the code does
Two-time functions
Evolves the correlation C(t,t') and the response R(t,t') after a quench, including the aging regime.
Fixed grid in t'/t
The second time is sampled on a fixed non-uniform grid in θ = t'/t, so every time step has the same cost, however long the history.
Adaptive Runge–Kutta
Dormand–Prince at short times, SSPRK(10,4) later. The step size follows an embedded error estimate.
CPU or GPU
Builds with any C++17 compiler. A CUDA GPU shortens long runs considerably, but is not required.
Checkpoints
The state is saved periodically. Restarting with the same parameters continues the run.
The equations¶
DYNAMITE integrates causal integro-differential equations for \(C(t,t')\) and \(R(t,t')\) on the triangle \(0\le t'\le t\),
where the memory kernels \(K\) and \(D\) depend on \(C\) and \(R\). With a uniform time step, reaching a time \(t\) costs \(\mathcal O(t^3)\) operations and \(\mathcal O(t^2)\) memory. DYNAMITE instead stores the fields on a fixed non-uniform grid in \(\theta=t'/t\) and an adaptive grid in \(t\), evaluates the memory integrals by interpolation with precomputed weights, and removes stored time slices that the interpolation does not need. The run time then grows linearly with \(t\) at late times, and the memory sublinearly. The method is summarized in Algorithm and described in detail in the DYNAMITE paper.
The released program contains the equations of the mixed spherical \(p\)-spin model, \(f(q)=\lambda q^p+(1-\lambda)q^s\), quenched from equilibrium at temperature \(T_0\) to a bath at temperature \(T\) (Equations). Other models of the same form require changes to a few model-specific source files (Adapting the code to another model).
Quick start¶
Build
./build.sh
Run (CPU, a few minutes)
./RG-Evo -p 3 -q 4 -l 0.5 -t 10 -g false -o Results/
Look at the result
correlation.txt in the run directory lists the time t, the energy E(t) and C(t,0).
Typical workflow¶
- Choose the model (
-p,-q,-l) and the two temperatures (-T,-G). - Start with the shipped grid
L = 512and the default tolerance-e 1e-10. - Run to a moderate time and check the energy and C(t,0).
- Repeat with a larger
Land a smaller-eto check that the observables you need have converged (see Accuracy and convergence). - Launch the long run. It writes checkpoints and can be extended later by restarting it with a larger
-t.
Citing and help¶
- The code and the method are described in J. Lang, V. Citro, L. Leuzzi, F. Ricci-Tersenghi, “DYNAMITE: A high-performance framework for solving Dynamical Mean-Field Equations,” arXiv:2604.06309 (under review). Please cite this paper when you use DYNAMITE; see Cite.
- License: Apache-2.0 (see
LICENSE). - Questions and bug reports: open an issue on GitHub and include the
params.txtof the run.