RS-LMTO transport and damping format audit
Audit boundary
This document records the HT-R06 audit of the public fable_v4 branch of
rslmtoasa/rslmtoasa. The branch was fetched on 2026-08-31 and pinned for
this audit at commit
faf71320c14afd680ce6973fb48fe4b6f8a25529. The source links below retain
the branch name so a later audit can compare the pinned revision with the
current public branch.
The result is deliberately conservative. fable_v4 does contain transport
and damping writers; the previous claim that they were absent was incorrect.
However, the emitted text does not carry enough machine-readable units and
run context for RS-utils to parse it safely as an HT result. No Python
transport physics or unit conversion is added here.
Audited source references:
conductivity.f90— conductivity reconstruction and all output writers;recursion_transport.f90— KPM moments and charge/spin/orbital/accumulation/torque operator modes;control.f90andcontrolnamelist declarations — transport controls and defaults;calculation.f90andcalculationnamelist declarations — damping dispatch and gates;exchange_dynamics.f90— Gilbert and inertia kernels/writers;spin_dynamics.f90— phenomenological LLGalphainput.
Source-grounded inventory
Observable / output |
Status |
Source, controls, and emitted schema |
Why this is or is not HT-parseable |
|---|---|---|---|
Charge KPM/Kubo response: |
|
|
The writer has no header, unit, method/options record, broadening/regularization record, volume/unit-cell convention, or tensor component labels. The active prefactor is |
Spin KPM/Kubo response: |
|
|
The output shape remains the same three columns as charge and does not identify spin-current convention, spin axis, normalization, or units. The filename and |
Orbital KPM/Kubo response: |
|
The same recursion routine selects |
The writer does not preserve the orbital-current convention, angular-momentum normalization, component order, or units. It is unsafe to treat this as a conductivity result merely because it is written by |
Orbital-resolved real/imag response: |
|
|
There is no header or |
Spin/orbital accumulation and torque response modes |
|
|
These are response/operator modes, not established electrical conductivity formats. Their output has the same unlabeled numeric schema, with no response observable name, axis, units, or normalization. They must not be promoted into |
Frequency-dependent / optical conductivity with an explicit |
|
The current source has |
Do not reinterpret the energy-resolved cumulative real/imaginary files as an optical-frequency spectrum. A future frequency writer needs an explicit frequency axis and units. |
Pair Gilbert/Kamberský damping: |
|
|
The writer provides useful column labels but no units, g-factor/normalization record, SOC parameters, Green-function broadening/route, lattice-length unit for distance/ |
Energy-resolved total damping: |
|
The same subroutine writes |
No units or tensor normalization are emitted. The active source uses a single |
Experimental magnetic inertia kernel: |
|
|
These are not Gilbert damping. They have raw real/imaginary derivative-response columns and no established units/normalization; RS-utils must not expose them as |
Atomistic LLG damping input / trajectory: |
|
|
A relaxation parameter or trajectory must not be reinterpreted as calculated Gilbert damping. |
Evidence details
Conductivity and KPM route
The conductivity type reads only ll_cond from the separate
&conductivity namelist, while the operational controls are in &control:
cond_ll, cond_type, cond_calctype, and random_vec_num. The source
defaults cond_ll=200, cond_type='charge', and cond_calctype='per_type'.
recursion_transport.f90 constructs two-index stochastic Chebyshev moments
and documents the route as charge, spin, orbital, accumulation, and torque
operator insertions.
calculate_conductivity_tensor uses an energy mesh of
channels_ldos + 10, rescales it using energy_min/energy_max, integrates
the real and imaginary arrays up to each Fermi-weighted energy point, and
writes plain formatted records. The total and per-type records are
E-Ef, real, imaginary; orbital records are E-Ef plus the l2 sequence.
The source does not write a header or any of the required HT interpretation
metadata. In particular, volume is computed but the active factor omits
it; the alternative expressions involving physical constants are commented
out. This is sufficient to reproduce the source’s numeric output, not to
assign a portable conductivity unit.
The source also has no independent omega, temperature, Fermi-Dirac, or
finite-frequency output axis in this writer. The Lorentz kernel parameter
6.0d0 and Chebyshev order are implementation details, but are not emitted
with each result. The current RS-utils ConductivityResult contract requires
all such interpretation metadata, so no legacy text parser is registered.
Gilbert damping and damping-adjacent paths
post_processing_exchange routes do_damping to
calculate_gilbert_damping after the selected recursion/Lehmann/Dyson Green
function has filled the canonical intersite arrays. The damping routine calls
torque_operator_collinear, forms anti-Hermitian Green-function blocks, takes
real and imaginary traces for the nine (k,l) tensor components, and applies
(-0.25)*(2/(pi*spin_i)) at the nearest Fermi-energy grid point for
alldampings.out. These are concrete source semantics, not an absence claim.
They still do not make a safe result format: the text files do not identify
the Green-function route or broadening, do not preserve SOC and torque
operator provenance, and do not declare the units of tensor, distance, or
displacement fields. calculate_moment_of_inertia explicitly warns that its
kernel is experimental and raw. The phenomenological LLG alpha input and
TDDFT/response imaginary parts are separate concepts and are not promoted to
Gilbert damping here.
RS-utils status and tests
rsutil.results.transport retains typed ConductivityResult and
DampingResult contracts for a future evidenced format. Its registry now
records the fable_v4 source evidence while remaining
UNSUPPORTED_AMBIGUOUS. The parser recognizes the actual fable_v4 filenames
so a directory containing cond_total.out, <element>_cond.out,
damping-energy.out, or alldampings.out returns an explicit unsupported
result with hashes and no guessed values. Existing generic candidate names
retain the same fail-closed behavior.
No SUPPORTED_STABLE or SUPPORTED_EXPERIMENTAL parser is claimed. No real
or source-faithful fixture is promoted because a fixture cannot repair the
missing units and metadata in the writer contract.
Proposed upstream machine-readable contract
For any future HT parser, fable_v4 should emit a versioned sidecar or record containing at least:
observable and format version;
run identity, input/options hash, Green-function route, and source revision;
method and approximation, including Chebyshev order, kernel/broadening, temperature, and Fermi convention;
every energy or frequency axis with its unit and whether it is
E-Ef,E, oromega;conductivity channel (
charge,spin,orbital, accumulation, or torque), operator-axis choices, component order, and units;per-type/site index convention and an explicit basis/orbital map;
damping observable name, site/pair identity convention, tensor order, normalization, SOC/torque provenance, and units;
an explicit distinction between Gilbert damping, magnetic inertia, relaxation rates, and generic imaginary response.
Until that contract exists, RS-utils remains fail-closed.