File amjuel_hyd_ionisation.hxx

Defines

AMJUEL_HYD_IONISATION_H
struct AmjuelHydIonisation : public AmjuelReaction
#include <amjuel_hyd_ionisation.hxx>

Hydrogen ionisation, Amjuel rates.

Subclassed by AmjuelHydIonisationIsotope< Isotope >

Public Functions

inline AmjuelHydIonisation(std::string name, Options &alloptions, Solver *solver)
void calculate_rates(Options &electron, Options &atom, Options &ion, Field3D &reaction_rate, Field3D &momentum_exchange, Field3D &energy_exchange, Field3D &energy_loss, BoutReal &rate_multiplier, BoutReal &radiation_multiplier)
template<char Isotope>
struct AmjuelHydIonisationIsotope : public AmjuelHydIonisation
#include <amjuel_hyd_ionisation.hxx>

Hydrogen ionisation Templated on a char to allow ‘h’, ‘d’ and ‘t’ species to be treated with the same code

Public Functions

inline AmjuelHydIonisationIsotope(std::string name, Options &alloptions, Solver *solver)
inline virtual void transform(Options &state) override

Modify the given simulation state All components must implement this function

inline virtual void outputVars(Options &state) override

Add extra fields for output, or set attributes e.g docstrings.

Private Members

bool diagnose

Outputting diagnostics?

BoutReal rate_multiplier
BoutReal radiation_multiplier

Scaling factor on reaction rate.

Field3D S

Particle exchange.

Field3D F

Momentum exchange.

Field3D E

Energy exchange.

Field3D R

Radiation loss.