Thermal orbit stationarity¶
The eon orbit-residual command evaluates the Euclidean equation of motion
on the orbit written by an instanton solver. The residual in each mobile
Cartesian coordinate is the physical force plus the mass times the second
imaginary-time derivative of the position. Output includes both the largest
absolute component and the root mean square across components and beads,
in eV/Å.
Inputs¶
Supply a readcon band containing a complete thermal period, with one
tau_over_beta fraction in each frame. Place the beads at uniform intervals
and omit a repeated endpoint. Use continuous atomic coordinates across the
period. The command reads masses, atom IDs, fixed masks and cell geometry
from the band. If frames do not specify temperature_K, supply
--temperature in kelvin.
The independent force provider is a factory named by module:function or
/path/to/file.py:function. It receives the band path and keyword arguments
from --options. Its cartesian_forces(frame) method returns an array of
shape (atoms, 3) in eV/Å. result_counts() is optional and returns
cumulative computed and served geometry counts. The report records the
work of the independent check under evaluation_counts.scope = validation.
rgpycrumbs eon orbit-residual ring.con \
--provider potential.py:orbit_provider --temperature 150
A stationary saddle repeated at every bead can have a small force residual.
The geometry_extent record gives the number of distinct coordinate arrays,
the largest single-atom displacement between any two beads in Å, and the
largest displacement in mass-weighted Cartesian space in Å √u. All three use
the coordinates as stored. Independent rotations or translations of beads
contribute to the measured span. To track an internal coordinate, add
--atom-pair 2 5 with the two atom IDs from the band. The pair_distances
record reports their minimum and maximum separation in Å over the period.
The calculation differentiates the periodic Fourier interpolant on the bead grid. Repeating the check at higher bead resolution distinguishes a discretization residual from an error that persists in the path.
An eOn lineb-orbit.con carries the potential gradient for every mobile atom
in each rate bead. Omit the force provider to read these measurements, convert
the gradient to a force and use twice the recorded half-period. The report
gives the finite-bead force residual, its cost of zero additional potential
calls and the number of observed beads. --compare-discretizations adds the
Fourier residual from the same measured gradients. A separate force provider
uses the thermal period from the physical constants and the reported temperature.
rgpycrumbs eon orbit-residual lineb-orbit.con --compare-discretizations
rgpycrumbs eon orbit-residual¶
Report stationarity and independent validation costs for a readcon BAND.
Each frame supplies tau_over_beta, atom IDs, masses and fixed components. Coordinates must be continuous across the period. The factory receives the band path and returns an object whose cartesian_forces(frame) gives an (atoms, 3) array in eV/Å. Its optional result_counts() returns the provider’s cumulative computed and served geometry counts.
Usage
rgpycrumbs eon orbit-residual [OPTIONS] BAND
Options
- --provider <provider>¶
Force provider factory as module:function or file.py:function. Omit to use eOn rate gradients.
- --options <options>¶
JSON keyword arguments for the force provider factory.
- --temperature <temperature>¶
Temperature in K when absent from the frame metadata.
- --tolerance <tolerance>¶
Threshold for the largest residual in eV/Å.
- --ipi-half-ring¶
Reflect a stored i-PI half-ring and use the finite-bead spring force.
- --atom-pair <atom_pair>¶
Report the minimum and maximum separation in Å for two readcon atom IDs.
- --compare-discretizations¶
Report the Fourier and nearest-neighbour spring residuals using the same physical forces.
Arguments
- BAND¶
Required argument
With --compare-discretizations and --tolerance, each discretization
reports whether its maximum force residual meets the threshold. Both
checks use the same Cartesian force observations.