The PlasmaState unit was introduced in FLASH4.4 as a place to implement auxiliary routines that have knowledge of the behavior of plasmas. Currently, the PlasmaState unit contains routines for calculating the plasma parameter (Coulomb logarithm) (PlasmaState_logLambda), the collision time (PlasmaState_tau), and the electron-ion equilibration time (PlasmaState_ieEquilTime). The Coulomb logarithm and collision time subroutines have options for computing the quantity for electron-electron, electron-ion, or ion-ion collisions. The value of for electron-ion collisions is shown in (Eqn:CollisionTime).
These PlasmaState subroutines are used by various materialProperties units in calculating transport coefficients, by the Heatexchange unit, and in some cases by the Hydro unit. The PlasmaState unit may eventually include routines to compute other quantities of interest such as plasma frequencies, Hall parameters, etc.
There is also a routine named PlasmaState_getComposition, for computing the elemantal composition of the mixture of materials in a cell (expressed as number fractions of elements). It is intended to be used with the Multispecies unit. Note that to get correct results, a simulation has to define the elemental compositions of the different species (materials) that may be present.