space::irbem::TotalFieldOpd
cheatah-space v0.1.0-alpha — Biome Standard 0.6.5-alpha
IGRF plus the Olson-Pfitzer dynamic field, as a single field a tracer can follow.
The same shape as TotalFieldT89, for the same reason: trace_invariant, make_lstar and everything above them take one GeoFieldModel and follow the TOTAL field without knowing there are two. The frames are handled once, through the epoch's Rotations; the external model's refusals fall back to the internal field alone (the best available answer there, and never a NaN into an integrator), and external_status says when that happened.
NMAX | the internal field's truncation degree; 10 reproduces IRBEM's own choice. |
IrbemOpd.TotalFieldSuperposesInternalAndExternal IrbemOpd.TotalFieldTracesAndReportsWhenTheExternalModelDeclinesFunctions
constexpr TotalFieldOpd(const Igrf< NMAX > &internal, const Rotations &rotations, double density_cc, double velocity_kms, double dst_nt)
#
internal | the internal field, already built for the epoch. |
rotations | the epoch's frame rotations — built once, reused for every point. |
density_cc | the solar-wind proton density, cm^-3. |
velocity_kms | the solar-wind speed, km/s. |
dst_nt | the Dst index, nT. |
IrbemOpd.TotalFieldSuperposesInternalAndExternalThe total field at a geographic point.
p | the position, GEO, Earth radii. |
B_internal + B_external in GEO, nT; the internal field alone when the external model refuses the point (see external_status).
One IGRF evaluation, one OPD evaluation, two 3x3 rotations.
none.
IrbemOpd.TotalFieldSuperposesInternalAndExternalWhether the external model answered at p, and if not, why.
p | the position, GEO, Earth radii. |
the external model's status; Status::Ok when it contributed without caveat.
One OPD evaluation and one rotation.
none.
IrbemOpd.TotalFieldTracesAndReportsWhenTheExternalModelDeclinesThe epoch's frame rotations.
the rotations this field was built with.
O(1).
none.
IrbemOpd.TotalFieldSuperposesInternalAndExternalThe internal part's Gauss coefficient g(n, m), nT — the internal field's, for the same reason TotalFieldT89::g forwards: a superposition has no harmonic expansion of its own.
n | the degree. |
m | the order. |
the internal part's coefficient.
O(1).
none.
IrbemOpd.TotalFieldSuperposesInternalAndExternalThe internal part's h(n, m), nT.
n | the degree. |
m | the order. |
the internal part's coefficient.
O(1).
none.
IrbemOpd.TotalFieldSuperposesInternalAndExternalThe internal field alone.
the internal model.
O(1).
none.
IrbemOpd.TotalFieldSuperposesInternalAndExternalConstants & variables
The internal part's truncation degree — what generic staging and buffer sizing read.
