Equations¶
This page lists the equations that the released program integrates and the quantities it writes out.
Model¶
The mixed spherical \(p\)-spin model consists of \(N\to\infty\) real variables \(\sigma_i\) with the spherical constraint \(\sum_i\sigma_i^2=N\) and the Hamiltonian
with Gaussian couplings. The only property of the disorder that enters the dynamics is the covariance function
set by the options -p, -q (for \(s\)) and -l (for \(\lambda\)). Note that \(f(1)=1\); the pure \(p\)-spin model is \(\lambda=1\).
Before \(t=0\) the system is in equilibrium at temperature \(T_0\) (option -T); \(T_0=\infty\) is a random initial condition. At \(t=0\) it is coupled to a bath at temperature \(T\) (option -G) and follows Langevin dynamics. In the limit \(N\to\infty\) the dynamics is described exactly by the correlation and response functions
where \(h_i\) is a field conjugate to \(\sigma_i\). By causality \(R(t,t')=0\) for \(t<t'\).
Equations of motion¶
With \(\beta_0=1/T_0\), for \(t>t'\),
with the boundary conditions \(C(t,t)=1\) and \(R(t,t^-)=1\). The Lagrange multiplier of the spherical constraint is
and the energy per spin is
In the notation of the general form on the home page, the kernels are \(K(t,s)=f''(C(t,s))\,R(t,s)\) and \(D(t,s)=f'(C(t,s))\), and the forcing is \(F_C(t,t')=\beta_0 f'(C(t,0))\,C(t',0)\).
Derivatives along the rays \(t'=\theta t\)¶
The solver stores the fields as functions of \(t\) and \(\theta=t'/t\), \(\mathcal C(t,\theta)=C(t,\theta t)\), and advances them in \(t\) at fixed \(\theta\) (see Algorithm). This requires
and the same for \(R\), so the derivatives with respect to the second argument are needed as well:
The term \(2T\,R(t,t')\) comes from the thermal noise; its counterpart in \(\partial_t C\) is proportional to \(R(t',t)\) and vanishes for \(t>t'\). On the diagonal \(\theta=1\) the total derivative vanishes for both \(C\) and \(R\), so \(C(t,t)=1\) and \(R(t,t^-)=1\) hold at all times without being imposed. The equations are implemented in src/EOMs/time_steps.cpp (CPU) and src/EOMs/time_steps.cu (GPU).
Useful exact results¶
For checks of the numerics:
- Pure \(p=2\) model (\(\lambda=1\), quench from \(T_0=\infty\) to \(T=0\)): with \(J=\sqrt{f''(1)}=\sqrt2\), \(b(\tau)=I_1(2J\tau)/(J\tau)\) and \(g(t)=\sqrt{b(2t)}\),
\(C(t,t')=b(t+t')/[g(t)g(t')]\) and \(E(t)=-J\,I_0(4Jt)/I_1(4Jt)+1/(2t)\). The regression tests in
tests/compare with these expressions. - Threshold energy for a quench from \(T_0=\infty\) to \(T=0\) (pure models, and mixed models with weak ergodicity breaking): \(E_{\rm th}=\dfrac{f(1)-f'(1)}{\sqrt{f''(1)}}-\dfrac{f(1)\sqrt{f''(1)}}{f'(1)}\), which equals \(-2\sqrt{(p-1)/p}\) for the pure model.
- Marginality: after a quench to \(T=0\) into the aging regime, \(\mu(t)\to2\sqrt{f''(1)}\) at late times.
\(I_0\) and \(I_1\) are modified Bessel functions.
What is stored¶
The state at every stored time \(t_n\) consists of \(L\) values per field on the \(\theta\) grid. In the checkpoint and the code the arrays are named
| Name | Content |
|---|---|
QKv, QRv |
\(C(t_n,\theta_i t_n)\) and \(R(t_n,\theta_i t_n)\) |
dQKv, dQRv |
their derivatives along the rays, \(\frac{\mathrm d}{\mathrm dt}\mathcal C\) and \(\frac{\mathrm d}{\mathrm dt}\mathcal R\), multiplied by the length of the preceding time step |
t1grid |
the times \(t_n\) |
rvec, drvec |
\(\mu(t_n)\) and its derivative (scaled in the same way) |
The text outputs derived from these are described in Reading outputs.