CurrentModule = PlasmaSpecies

Index

API

PlasmaSpecies.SpeciesType
Species(
    gas <: Gas, 
    charge=Neutral(),  
    electronic_state=nothing, 
    vibrational_state=nothing, 
    rotational_state=nothing
)

Fields

  • gas <: Gas: Label of the parent gas, e.g. a struct like Nitrogen <: Gas or the general StringGas(str:String).
  • charge=Neutral(): Charge of the species, e.g. Neutral(), Positive(n), Negative(n)
  • electronic_state=nothing: Optional, label for the electronic state.
  • vibrational_state=nothing: Optional, label for the vibrational state. If defined, electronic_state cannot be nothing.
  • rotational_state=nothing: Optional, label for the rotational state. If defined, vibrational_state cannot be nothing.
source
PlasmaSpecies.SpeciesMethod
Species(str::String)

Convenience constructor for the Species struct. It parses a string of the format defined by the LoKI-B Boltzmann solver and automatically fills in the fields of Species.

source
PlasmaSpecies.apply_treeMethod
```julia 
apply_tree(t::SpeciesTree, reactions::PlasmaReaction)
```

Apply the species tree to a reaction and return an array with tuples containing the scaling factor and the new reaction. This means for each participating species it is checked, if it is a leaf of the tree. If not, a new reaction is created for each descendent species. If the non-leaf species is a product, the branching factor is one over the number of descendants (effectively assuming that the total reaction rate is distributed equally over all possible products).

source