cheatah
Struct

space::irbem::FieldLine

cheatah-space v0.1.0-alpha — Biome Standard 0.6.5-alpha

What a field-line trace produces.

Fixed size, trivially copyable, no path storage — the whole point is that I and B_min accumulate as the trace runs, so nothing needs to be remembered. The APIs that DO return the path (trace_field_line, drift_shell) are separate and bandwidth-bound; this is the compute-bound one that L* is built from.

Constants & variables

var double b_local #

|B| at the starting point, nT.

var double b_min #

The minimum |B| along the line, nT — the magnetic equator.

var double b_mirror #

The mirror field for the requested pitch angle, nT.

var double invariant_i #

I = ∫ √(1 − B/B_m) ds, in Earth radii.

var double arc_length #

Total arc traced between mirror points, Earth radii.

var int steps #

RK4 steps taken; a diagnostic, and the divergence measure.

var Position< Frame::GEO > equator #

Where b_min was found.