cheatah
Struct

space::irbem::Policy

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

A complete lane: one precision policy and one compatibility policy, bound into the single type that gets threaded through the tracer, the quadrature and the L* driver.

It re-exports the members both concepts require, so a Policy satisfies SoundPrecision and Compat itself and a routine may be constrained on whichever it actually uses — a field-model evaluator needs only the precision, a quadrature needs only the compat flags, and neither has to name a whole lane to say so. What it does not re-export is the two halves' names, which stay where they are: a report labels a row Policy::precision::name / Policy::compat::name.

Template parameters
P

the precision policy; constrained on SoundPrecision, so a policy accumulating in anything but double is a compile error here rather than a quiet loss of the whole error budget (see the file brief).

C

the compatibility policy.

Constants & variables

var static bool carry_k1 #

Whether the tracer carries the previous step's final derivative into the next step's first stage; see IrbemFaithful::carry_k1 and Improved::carry_k1.

var static bool independent_azimuth_seed #

Whether each drift-shell azimuth is seeded independently of its neighbour; see IrbemFaithful::independent_azimuth_seed and Improved::independent_azimuth_seed.

var static bool bracketed_root_find #

Whether the mirror point is refined inside the bracket the theta march found; see IrbemFaithful::bracketed_root_find and Improved::bracketed_root_find.

var static bool transformed_quadrature #

Whether the I integral is substituted before quadrature; see IrbemFaithful::transformed_quadrature and Improved::transformed_quadrature.

Types

type P precision #

The precision half, for a routine that needs to pass the lane on.

type C compat #

The compatibility half, likewise.

type typename P::integrand integrand #

The arithmetic type the integrand is evaluated in.

type typename P::accum accum #

The arithmetic type every sum accumulates in — double, guaranteed by the constraint.