#include "cddefines.h"
#include "taulines.h"
#include "dense.h"
#include "hmi.h"
#include "conv.h"
#include "doppvel.h"
#include "thermal.h"
#include "gammas.h"
#include "iso.h"
#include "opacity.h"
#include "phycon.h"
#include "physconst.h"
#include "radius.h"
#include "rfield.h"
#include "secondaries.h"
#include "timesc.h"
#include "trace.h"
#include "called.h"
#include "hcmap.h"
#include "coolheavy.h"
#include "mole.h"
#include "mole_priv.h"
#include "dynamics.h"
#include "h2.h"
#include "co.h"
#include "ionbal.h"
Go to the source code of this file.
Functions | |
STATIC void | mole_effects (void) |
STATIC void | mole_h_rate_diagnostics (void) |
STATIC void | mole_ion_trim (void) |
STATIC void | mole_update_limiting_reactants () |
void | mole_drive (void) |
void | mole_update_sources (void) |
Variables | |
static const double | MOLETOLER = 0.10 |
void mole_drive | ( | void | ) |
mole_drive main driver for chemical equilibrium routines
Definition at line 41 of file mole_drive.cpp.
References DEBUG_ENTRY, mole_effects(), mole_ion_trim(), mole_solve(), mole_update_limiting_reactants(), mole_update_rks(), mole_update_species_cache(), and MOLETOLER.
Referenced by ConvBase().
STATIC void mole_effects | ( | void | ) |
Definition at line 114 of file mole_drive.cpp.
References t_hmi::chH2_small_model_type, co, t_co::CODissHeat, DEBUG_ENTRY, molezone::den, dense, t_hmi::deriv_HeatH2Dexc_BD96, t_hmi::deriv_HeatH2Dexc_BHT90, t_hmi::deriv_HeatH2Dexc_ELWERT, t_hmi::deriv_HeatH2Dexc_TH85, t_dense::eden, EN1EV, t_mole_local::findrate(), findspecieslocal(), GammaK(), t_dense::gas_phase, h2, t_hmi::H2_rate_destroy, t_hmi::H2_Solomon_dissoc_rate_used_H2g, t_hmi::H2_Solomon_dissoc_rate_used_H2s, t_hmi::H2_total, t_hmi::H2_total_f, t_hmi::h2dep, t_hmi::h2pdep, t_hmi::h2plus_heat, t_hmi::h3pdep, t_thermal::halfte, t_hmi::HD_total, t_hmi::HeatH2Dexc_BD96, t_hmi::HeatH2Dexc_BHT90, t_hmi::HeatH2Dexc_ELWERT, t_hmi::HeatH2Dexc_TH85, t_hmi::HeatH2Dish_BD96, t_hmi::HeatH2Dish_BHT90, t_hmi::HeatH2Dish_ELWERT, t_hmi::HeatH2Dish_TH85, t_thermal::heating, t_phoHeat::HeatNet, hmi, t_hmi::hmidep, t_hmi::hmihet, t_hmi::HMinus_induc_rec_cooling, t_hmi::HMinus_photo_heat, t_opac::ih2pnt, t_opac::ih2pof, ipHYDROGEN, MAX2, mole, mole_eval_sources(), mole_global, mole_h_rate_diagnostics(), t_mole_global::num_total, nzone, opac, diatomics::ortho_density, diatomics::ortho_density_f, diatomics::para_density, diatomics::para_density_f, pow(), POW2, pow2(), t_radius::r1r0sq, radius, t_hmi::rel_pop_LTE_H2g, t_hmi::rel_pop_LTE_H2p, t_hmi::rel_pop_LTE_H3p, t_hmi::rel_pop_LTE_Hmin, SDIV(), secondaries, t_mole_local::sink_rate_tot(), SMALLFLOAT, t_mole_local::species, thermal, t_timesc::time_H2_Dest_here, t_timesc::time_H2_Form_here, timesc, TotalInsanity(), t_thermal::tsq1, unresolved_atom_list, t_hmi::UV_Cont_rel2_Draine_DB96_face, t_secondaries::x12tot, and t_dense::xIonDense.
Referenced by mole_drive().
STATIC void mole_h_rate_diagnostics | ( | void | ) |
total H2 creation rate, cm-3 s-1
Definition at line 418 of file mole_drive.cpp.
References t_secondaries::csupra, molezone::den, dense, t_dense::eden, t_mole_local::findrate(), findspecieslocal(), fnzone, frac_H2star_hminus(), h2, t_hmi::H2_forms_grains, t_hmi::H2_forms_hminus, t_hmi::H2_rate_destroy, t_hmi::H2_Solomon_dissoc_rate_used_H2g, t_hmi::H2_total, t_hmi::h2dep, t_hmi::h2pdep, t_hmi::H2star_forms_grains, t_hmi::H2star_forms_hminus, hmi, t_hmi::hmicol, t_hmi::hmidep, t_hmi::hmihet, t_hmi::HMinus_induc_rec_cooling, t_hmi::HMinus_induc_rec_rate, t_hmi::HMinus_photo_rate, ioQQQ, ipH1s, ipH_LIKE, ipHYDROGEN, ipLITHIUM, iso_sp, t_dense::lgElmtOn, t_trace::lgTrace, t_trace::lgTraceMole, LIMELM, t_mole_global::list, mole, mole_global, t_mole_global::num_calc, nzone, diatomics::photoionize_rate, phycon, t_hmi::rel_pop_LTE_H2g, t_hmi::rel_pop_LTE_H2s, t_hmi::rel_pop_LTE_Hmin, SDIV(), secondaries, t_mole_local::sink, SMALLFLOAT, molezone::snk, t_mole_local::source, t_mole_local::source_rate_tot(), t_mole_local::species, t_phycon::te, trace, unresolved_atom_list, and t_dense::xIonDense.
Referenced by mole_effects().
STATIC void mole_ion_trim | ( | void | ) |
Definition at line 67 of file mole_drive.cpp.
References dense, t_dense::gas_phase, ionbal, t_dense::IonHigh, t_dense::IonLow, t_dense::lgElmtOn, t_ionbal::trimhi, t_ionbal::trimlo, unresolved_atom_list, and t_dense::xIonDense.
Referenced by mole_drive().
STATIC void mole_update_limiting_reactants | ( | ) |
Definition at line 781 of file mole_drive.cpp.
References DEBUG_ENTRY, dense, t_dense::gas_phase, t_dense::lgElmtOn, t_mole_global::list, mole, mole_global, t_mole_global::num_calc, and t_mole_local::species.
Referenced by mole_drive().
void mole_update_sources | ( | void | ) |
Definition at line 106 of file mole_drive.cpp.
References DEBUG_ENTRY, mole_eval_sources(), mole_global, mole_update_species_cache(), and t_mole_global::num_total.
Referenced by ConvBase().
const double MOLETOLER = 0.10 [static] |
Definition at line 33 of file mole_drive.cpp.
Referenced by mole_drive().