File adas_carbon.hxx
Defines
-
ADAS_CARBON_H
Variables
-
constexpr std::array<BoutReal, 6> carbon_ionisation_energy{11.26, 24.38, 47.89, 64.49, 392.09, 489.99}
Ionisation energies in eV from https://www.webelements.com/carbon/atoms.html Conversion 1 kJ mol‑1 = 1.0364e-2 eV These are added (removed) from the electron energy during recombination (ionisation)
-
template<int level>
constexpr std::initializer_list<char> carbon_species_name = {'c', '+', '0' + level} The name of the species. This initializer list can be passed to a string constructor, or used to index into an Options tree.
c, c+, c+2, c+3, …
Special cases for level=0, 1
- Template Parameters:
level – The ionisation level: 0 is neutral, 6 is fully stripped
-
template<>
constexpr std::initializer_list<char> carbon_species_name<1> = {'c', '+'}
-
template<>
constexpr std::initializer_list<char> carbon_species_name<0> = {'c'}
-
template<int level>
struct ADASCarbonIonisation : public OpenADAS - #include <adas_carbon.hxx>
ADAS effective ionisation (ADF11)
- Template Parameters:
level – The ionisation level of the ion on the left of the reaction
-
template<int level>
struct ADASCarbonRecombination : public OpenADAS - #include <adas_carbon.hxx>
ADAS effective recombination coefficients (ADF11)
- Template Parameters:
level – The ionisation level of the ion on the right of the reaction
Public Functions
-
inline ADASCarbonRecombination(std::string, Options &alloptions, Solver*)
- Parameters:
alloptions – The top-level options. Only uses the [“units”] subsection.
-
inline virtual void transform(Options &state) override
Modify the given simulation state All components must implement this function
-
template<int level, char Hisotope>
struct ADASCarbonCX : public OpenADASChargeExchange - #include <adas_carbon.hxx>
- Template Parameters:
level – The ionisation level of the ion on the right of the reaction
Hisotope – The hydrogen isotope (‘h’, ‘d’ or ‘t’)