Reference¶
Profiles¶
rgconfCanonical, eonLegacyIni, eonServerYaml, gpridgePaper, gpridgeLegacyToml, and aseDropin.
eonLegacyIni uses l2Euclidean for the optimizer norm and maxAtomL2 for the band and the saddle search. The band force copies the optimizer force when the band value is unset. eonServerYaml selects the akmcProcessSearch job and the external potential. Both gpridge profiles use 10 images. The paper force is one thousandth of a hartree per bohr, converted with the CODATA 2018 constants, not the rounded 0.0514221 figure.
Layers¶
User layers, from lowest to highest, are the global file, the project file, the job file, the environment, the command line, and a live edit. Schema defaults and the profile sit underneath. Two aliases in one layer that normalize to different numbers are an error and the message names both keys. Equal values keep both origins.
Derived values¶
band.zoom.triggerForceEvPerAngstrom is the band force tolerance times triggerForceMultiplier (10 unless set). band.spring.ewKMinEvPerAngstrom2 is one tenth of constantEvPerAngstrom2. The schema file still carries the literals 0.5 and 0.972. The resolver uses the formulas when the user left the field unset. Those literals are not the runtime default.
Fixed-energy LI-NEB¶
The lineb job uses the lineb.* parameters in the eOn [Lineb] section. Energy is in eV and force tolerances are in √eV. Unset tolerances resolve to 0.001.
For a fixed endpoint restraint, set endpoint_kappa to the coefficient in inverse square-root eV. Zero selects the gradient-normalized endpoint_scale. Set endpoint_convergence to test opt_tol on the two endpoints and perp_tol on the interior images. Set linear_seed to join the two MEP energy crossings with a straight line. The Cu(110) example uses this straight seed, while the ammonia borane example follows the MEP. Set projected_verlet to use velocity projection with velocity Verlet. Each Boolean defaults to false.
Inspect a parameter¶
rgconf describe prints the type, description, unit, numerical bounds and
CLI spellings recorded in the installed schema. Pass a canonical key. For
example, rgconf describe lineb.imageHessianStep explains the displacement
used to form image Hessians, its lower bound and how to select the solver
default. Use rgconf explain to see the value selected for a particular run.
Public Rust types¶
RuntimeConfig, ConvergenceConfig, OptimizerConfig, LbfgsConfig, FireConfig, HandoffConfig, BandConfig, SpringConfig, ClimbingImageConfig, UnitSystem, and RgConf are #[non_exhaustive], implement Default, and expose with_* setters.
C ABI¶
include/rgconf.h defines RGCONF_ABI_VERSION_MAJOR, RGCONF_ABI_VERSION_MINOR, RGCONF_ABI_VERSION_PATCH, and RGCONF_ABI_VERSION. rgconf_abi_version returns the packed value. rgconf_resolve_ini and rgconf_apply_edit write a heap buffer released with rgconf_free.
Python¶
python/ is a PyO3 crate named _core, the same shape as rgmin. bind/ext.cpp is the nanobind module in the rgsaddle style and links the C ABI. rgconf.resolve_ini uses the extension when it is installed and the C ABI otherwise.
Use rgconf.resolve_ini_fields(profile, text, path) to pass values to a
solver. It returns a dictionary keyed by canonical parameter name with
native Python booleans, integers, floats, strings, lists and None for
unset fields. It uses the same validation and profile defaults as the CLI.
from rgconf import resolve_ini_fields
fields = resolve_ini_fields("eonLegacyIni", "[Lineb]\ninterpolated_force_clock = true\n")
assert fields["lineb.interpolatedForceClock"] is True
Provenance¶
Config fields, SBOM purls, archive digests, and ParamEdit records are appended to rfc9162_log::Store. The leaf hash is rfc9162::leaf_hash. rgconf does not hash a leaf itself. Gaps are listed in the upstream page.