#include "cddefines.h"
#include "phycon.h"
#include "mole.h"
#include "hmi.h"
#include "taulines.h"
#include "h2.h"
#include "h2_priv.h"
Go to the source code of this file.
Functions | |
void | H2_Solomon_rate (void) |
void | H2_gs_rates (void) |
void | H2_zero_pops_too_low (void) |
void | mole_H2_LTE (void) |
void | H2_init_coreload (void) |
void | H2_Init (void) |
void | H2_Reset (void) |
void | H2_Zero (void) |
void H2_gs_rates | ( | void | ) |
H2_gs_rates evaluate rates between ground and star states of H2 for use in chemistry
Definition at line 147 of file mole_h2_etc.cpp.
References DEBUG_ENTRY, h2, H2_den_g, H2_dissprob, t_hmi::H2_H2g_to_H2s_rate_BigH2, H2_ipX_ener_sort, H2_populations, H2_rad_rate_out, H2Lines, hmi, ipRot_H2_energy_sort, ipVib_H2_energy_sort, t_h2::Jlowest, lgH2_line_exists, MAX2, mole, t_mole::n_h2_elec_states, nEner_H2_ground, t_h2::nRot_hi, t_h2::nVib_hi, and SDIV().
Referenced by H2_LevelPops().
void H2_Init | ( | void | ) |
H2_Init - called by cdInit to init H2
Definition at line 445 of file mole_h2_etc.cpp.
References DEBUG_ENTRY, h2, mole, N_H2_ELEC, t_mole::n_h2_elec_states, and t_h2::nCallH2_this_zone.
Referenced by zero().
void H2_init_coreload | ( | void | ) |
H2_init_coreload one time initialization
Definition at line 373 of file mole_h2_etc.cpp.
References chH2ColliderLabels, DEBUG_ENTRY, h2, t_h2::Jlowest, N_H2_ELEC, t_h2::nRot_hi, and t_h2::nVib_hi.
Referenced by InitCoreload().
void H2_Reset | ( | void | ) |
H2_Reset called to reset variables that are needed after an iteration
Definition at line 460 of file mole_h2_etc.cpp.
References DEBUG_ENTRY, fnzone, h2, H2_SaveLine, ioQQQ, iteration, iterationAsEval, mole, nCallH2_this_iteration, nH2_pops, t_mole::nH2_TRACE, nH2_zone, nzone_nlevel_set, nzoneAsEval, t_h2::renorm_max, and t_h2::renorm_min.
Referenced by IterRestart().
void H2_Solomon_rate | ( | void | ) |
H2_Solomon_rate find rates between H2s and H2g and other levels, for use in the chemistry
Definition at line 25 of file mole_h2_etc.cpp.
References DEBUG_ENTRY, ENERGY_H2_STAR, energy_wn, h2, H2_den_g, H2_den_s, H2_dissprob, t_hmi::H2_H2g_to_H2s_rate_BigH2, H2_populations, H2_rad_rate_out, t_hmi::H2_Solomon_dissoc_rate_BigH2_H2g, t_hmi::H2_Solomon_dissoc_rate_BigH2_H2s, t_hmi::H2_Solomon_elec_decay_H2g, t_hmi::H2_Solomon_elec_decay_H2s, H2_sum_excit_elec_den, t_hmi::H2_total, H2Lines, hmi, t_h2::Jlowest, lgH2_line_exists, mole, t_mole::n_h2_elec_states, t_h2::nRot_hi, t_h2::nVib_hi, SDIV(), and SMALLFLOAT.
Referenced by H2_LevelPops().
void H2_Zero | ( | void | ) |
zero out vars in the large H2 molecule, called from zero
Definition at line 499 of file mole_h2_etc.cpp.
References DEBUG_ENTRY, h2, t_hmi::H2_H2g_to_H2s_rate_BigH2, t_hmi::H2_photodissoc_BigH2_H2g, t_hmi::H2_photodissoc_BigH2_H2s, t_hmi::H2_Solomon_dissoc_rate_BigH2_H2g, t_hmi::H2_Solomon_dissoc_rate_BigH2_H2s, t_mole::H2_to_H_limit, t_hmi::HeatH2Dexc_BigH2, hmi, iterationAsEval, t_hmi::lgBigH2_evaluated, t_hmi::lgH2_Chemistry_BigH2, t_mole::lgH2_LTE, lgH2_READ_DATA, t_hmi::lgH2_Thermal_BigH2, t_h2::lgH2ON, mole, N_H2_ELEC, t_mole::n_h2_elec_states, nCallH2_this_iteration, nH2_pops, nH2_zone, nXLevelsMatrix, nzone_nlevel_set, nzoneAsEval, t_h2::ortho_density, t_h2::para_density, t_h2::renorm_max, and t_h2::renorm_min.
Referenced by zero().
void H2_zero_pops_too_low | ( | void | ) |
H2_zero_pops_too_low - zero out some H2 variables if we decide not to compute the full sim, called by H2_LevelPops
Definition at line 217 of file mole_h2_etc.cpp.
References DEBUG_ENTRY, t_hmi::deriv_HeatH2Dexc_BigH2, h2, t_hmi::H2_H2g_to_H2s_rate_BigH2, H2_old_populations, t_hmi::H2_photodissoc_BigH2_H2g, t_hmi::H2_photodissoc_BigH2_H2s, H2_populations, H2_populations_LTE, t_hmi::H2_Solomon_dissoc_rate_BigH2_H2g, t_hmi::H2_Solomon_dissoc_rate_BigH2_H2s, t_hmi::H2_total, H2Lines, t_hmi::HeatH2Dexc_BigH2, t_hmi::HeatH2Dish_BigH2, hmi, t_h2::Jlowest, lgH2_line_exists, mole, t_mole::n_h2_elec_states, t_h2::nRot_hi, t_h2::nVib_hi, pops_per_elec, and pops_per_vib.
Referenced by H2_LevelPops().
void mole_H2_LTE | ( | void | ) |
mole_H2_LTE sets Boltzmann factors and LTE unit population of large H2 molecular
Definition at line 313 of file mole_h2_etc.cpp.
References ASSERT, DEBUG_ENTRY, energy_wn, fp_equal(), h2, H2_Boltzmann, H2_populations_LTE, H2_stat, ioQQQ, t_h2::Jlowest, mole, t_mole::n_h2_elec_states, t_mole::nH2_TRACE, t_mole::nH2_trace_full, t_h2::nRot_hi, t_h2::nVib_hi, phycon, sexp(), t_phycon::te, and t_phycon::te_wn.
Referenced by H2_LevelPops().