kj per molecule of the process's own gas, also for elastic processes; the discriminant of α/N clipped at zero
the power gained in spatial growth is NE(NEμN−NαDN); Pgrowth is the energy the attached electrons take plus Nνˉ⟨ε⟩ (temporal) or minus the spatial source's energy moment
power_balance is (gained - lost) / gained, a measure of the discretisation error; NaN without a field and superelastic collisions
two-term expansion in a uniform DC field; xj the mole fractions from the mixture's densities; kT the density-weighted gas temperature unless given
a state's fraction is its population p times the fraction of its gas, its mass that of the gas
excitation and dissociation move electrons down by ΔE (into the cell of ε−ΔE), superelastic collisions up (into the cell of ε+ΔE, only from ε+ΔE below the grid end, with εσsup evaluated from σj so that it stays finite at ε=0); ionization replaces one electron by two sharing ε−ΔE (equal: the cell of (ε−ΔE)/2, twice; uniform and Opal: the kernel K, whose columns sum to 2); attachment removes them: the columns of the operator sum to zero, so particles are conserved exactly
uniform grid of N = num_cells (200) cells, Fk at the centres; B(z)=1−z/2 for ∣z∣<10−10, D floored at 10−300; no flux through ε=0 and the grid end
collision integrals by 3-point Gauss-Legendre on the sub-intervals between the edges, table energies, threshold and the edges shifted by ΔE (by −ΔE for superelastic, 2ε+ΔE for equal sharing); sk the harmonic mean (van Leer) of the one-sided differences of lnmax(F,10−300), zero at an extremum, clipped to ±50/h
spatial growth: the gradient term split half and half to the cells next to each edge, the (α/N)2 term diagonal
the first row replaced by the normalisation; a dense solve per iteration, negative values clipped; iterated (damped when the error grows) until ∑k∣ΔFk∣wk<rtol (10−8)
without max_energy the grid end is adjusted (from 10 eV, at most 40 times, with temporal growth) until F0 falls by 10 to 20 decades across the grid; spatial growth is then solved on that grid from the temporal solution
the gas temperature enters the inelastic terms only through the superelastic collisions of the populated levels; not included: electron-electron collisions, the continuous approximation for rotations (CAR), the O(me/M) frame correction of table energies; elastic processes with the momentum-transfer cross section (isotropic) only
the order is that of the mean energy on a fixed grid (Reid's ramp model)