Cloudy
Spectral Synthesis Code for Astrophysics
|
#include <secondaries.h>
Public Member Functions | |
const char * | chName () const |
void | zero () |
void | comment (t_warnings &) |
void | alloc () |
Public Member Functions inherited from module | |
module () | |
virtual | ~module () |
Public Attributes | |
realnum | HeatEfficPrimary |
realnum | SecIon2PrimaryErg |
realnum | SecExcitLya2PrimaryErg |
multi_arr< realnum, 2 > | csupra |
multi_arr< realnum, 2 > | csupra_effic |
realnum | sec2total |
realnum | SecHIonMax |
realnum | SetCsupra |
bool | lgCSetOn |
bool | lgSecOFF |
long int | ipSecIon |
realnum | hetsav |
realnum | savefi |
realnum | x12sav |
realnum | x12tot |
these are the global variables dealing with the effects of hot secondary electrons
void t_secondaries::alloc | ( | ) |
References multi_arr< T, d, ALLOC, lgBC >::alloc(), multi_arr< T, d, ALLOC, lgBC >::clone(), csupra, csupra_effic, ipHYDROGEN, LIMELM, and multi_arr< T, d, ALLOC, lgBC >::reserve().
Referenced by zero().
|
inlinevirtual |
Implements module.
|
inlinevirtual |
Implements module.
|
virtual |
Implements module.
References csupra, csupra_effic, DEBUG_ENTRY, HeatEfficPrimary, ipHELIUM, ipHYDROGEN, lgCSetOn, lgSecOFF, LIMELM, sec2total, SecExcitLya2PrimaryErg, SecHIonMax, SecIon2PrimaryErg, SetCsupra, and x12tot.
secondary ionization [nelem][ion] rate [s-1]
Referenced by alloc(), ContSetIntensity(), ConvBase(), fill_array(), diatomics::H2_PunchDo(), IonHydro(), iso_ionize_recombine(), IterRestart(), IterStart(), lgCheckMonitors(), mole_h_rate_diagnostics(), PrintRates(), PrtHydroTrace1a(), PrtZone(), SaveDo(), SecIoniz(), and zero().
Referenced by alloc(), SecIoniz(), and zero().
realnum t_secondaries::HeatEfficPrimary |
heating efficiency, unity for ionized gas, 0 < HeatEfficPrimary < 1 for partially neutral medium
Referenced by GammaBn(), GammaK(), HeatSum(), IterRestart(), IterStart(), SecIoniz(), and zero().
realnum t_secondaries::hetsav |
this block of variables save the state of the code in startr, in reset, resets this state for the start of the next zone
Referenced by IterRestart(), and IterStart().
long int t_secondaries::ipSecIon |
pointer to continuum energies where secondary ionization can occur, 100eV
Referenced by ContCreatePointers(), GammaBn(), and GammaK().
bool t_secondaries::lgCSetOn |
lgCSetOn set with set csupra command
Referenced by ConserveEnergy(), ParseSet(), SecIoniz(), and zero().
bool t_secondaries::lgSecOFF |
flag saying that secondary electron have been turned off, set true with no secondaries command
Referenced by HeatSum(), ParseDont(), SecIoniz(), and zero().
realnum t_secondaries::savefi |
Referenced by IterRestart(), and IterStart().
realnum t_secondaries::sec2total |
sec2total is ratio of secondary to total ionizations of ground state H, evaluated in hydrogen, used in ionization to determine how fine a convergence on the secondary rates is needed
Referenced by ConvBase(), IonHydro(), lines_hydro(), and zero().
realnum t_secondaries::SecExcitLya2PrimaryErg |
secondary excitations of Lya per primary erg of energy
Referenced by SecIoniz(), and zero().
realnum t_secondaries::SecHIonMax |
max ratio of sec2total, recall to identify secondary ionization models
Referenced by IterStart(), lines_hydro(), PrtComment(), and zero().
realnum t_secondaries::SecIon2PrimaryErg |
number of secondary ionizations per primary erg of photo-electron energy - It multiplies the high-energy heating rate. zero for a fully ionized gas and -> 0.3908 / erg-Ryd for very neutral gas
Referenced by IterRestart(), IterStart(), SecIoniz(), and zero().
realnum t_secondaries::SetCsupra |
SetCsupra is H^0 secondary ionization rate set with set csupra command
Referenced by ContSetIntensity(), ParseSet(), SecIoniz(), and zero().
realnum t_secondaries::x12sav |
Referenced by IterRestart(), and IterStart().
realnum t_secondaries::x12tot |
x12tot rate for excitation of Lya, units excitations s-1 per atom
Referenced by dBase_solve(), HydroLevel(), iso_suprathermal(), IterRestart(), IterStart(), lines_hydro(), mole_effects(), mole_h_reactions(), SaveDo(), SecIoniz(), diatomics::SolveExcitedElectronicLevels(), diatomics::SolveSomeGroundElectronicLevels(), and zero().