#include "cddefines.h"
#include "physconst.h"
#include "dense.h"
#include "called.h"
#include "thermal.h"
#include "gammas.h"
#include "colden.h"
#include "secondaries.h"
#include "h2.h"
#include "mole.h"
#include "radius.h"
#include "doppvel.h"
#include "rfield.h"
#include "ionbal.h"
#include "rt.h"
#include "opacity.h"
#include "iso.h"
#include "conv.h"
#include "phycon.h"
#include "hmi.h"
#include "cosmology.h"
Go to the source code of this file.
Defines | |
#define | BIGERROR 1e-4 |
#define | LIM_LOOP 20 |
#define | OLD 0.75f |
Functions | |
void | hmole (void) |
double | hmirat (double te) |
void | hmole_init (void) |
void | hmole_reactions (void) |
#define BIGERROR 1e-4 |
Referenced by hmole().
#define LIM_LOOP 20 |
Referenced by hmole().
#define OLD 0.75f |
Referenced by hmole().
double hmirat | ( | double | te | ) |
hmirat computes radiative association rate for H-
te |
Definition at line 252 of file mole_h_drive.cpp.
References DEBUG_ENTRY, phycon, t_phycon::sqrte, t_phycon::te001, t_phycon::te003, t_phycon::te01, t_phycon::te03, t_phycon::te10, t_phycon::te20, and t_phycon::te70.
Referenced by hmole_reactions().
void hmole | ( | void | ) |
hmole determine populations of hydrogen molecules
Definition at line 64 of file mole_h_drive.cpp.
References ASSERT, BIGERROR, BIGFLOAT, called, t_dense::chDenseLaw, COmole, conv, ConvFail(), cosmology, DEBUG_ENTRY, t_dense::den0, dense, t_dense::eden, t_conv::EdenErrorAllowed, fnzone, t_dense::gas_phase, molecule::hevmol, hmi, hmole_reactions(), hmole_step(), t_hmi::Hmolec, ionbal, IonOxyge(), ioQQQ, ipHYDROGEN, ipMH, ipMH2g, ipMH2p, ipMH2s, ipMH3p, ipMHeHp, ipMHm, ipMHp, ipOXYGEN, iteration, t_conv::lgConvPops, t_cosmology::lgDo, t_conv::lgSearch, t_called::lgTalk, LIM_LOOP, mole, N_H_MOLEC, molecule::nElem, t_hmi::nProton, t_conv::nTotalIoniz, t_mole::num_comole_calc, nzone, OLD, phycon, t_ionbal::RateIonizTot(), t_ionbal::RateRecomTot, SDIV(), t_mole::sink, SMALLFLOAT, t_mole::source, t_phycon::te, t_dense::xIonDense, and t_dense::xMolecules.
Referenced by IonHydro().
void hmole_init | ( | void | ) |
hmole_init - initialize some hmole vars
Definition at line 294 of file mole_h_drive.cpp.
References t_hmi::chLab, DEBUG_ENTRY, hmi, ipMH, ipMH2g, ipMH2p, ipMH2s, ipMH3p, ipMHeHp, ipMHm, ipMHp, and t_hmi::rheph2hpheh.
Referenced by zero().
void hmole_reactions | ( | void | ) |
hmole_reactions - evaluates hydrogen chemistry reactions
Definition at line 316 of file mole_h_drive.cpp.
References t_rfield::anu, t_dense::AtomicWeight, t_hmi::chH2_small_model_type, co, t_colden::colden, colden, t_rfield::ConInterOut, conv, DEBUG_ENTRY, dense, t_dense::eden, EN1RYD, esc_PRD_1side(), t_hmi::exphmi, t_rfield::extin_mag_V_point, t_rfield::flux, fnzone, fp_equal(), GammaBn(), GammaPrt(), GetDopplerWidth(), h2, t_hmi::H2_BigH2_H2g_av, t_hmi::H2_BigH2_H2s_av, t_hmi::H2_H2g_to_H2s_rate_BD96, t_hmi::H2_H2g_to_H2s_rate_BHT90, t_hmi::H2_H2g_to_H2s_rate_BigH2, t_hmi::H2_H2g_to_H2s_rate_ELWERT, t_hmi::H2_H2g_to_H2s_rate_TH85, t_hmi::H2_H2g_to_H2s_rate_used, t_hmi::H2_photodissoc_BHT90, t_hmi::H2_photodissoc_BigH2_H2g, t_hmi::H2_photodissoc_BigH2_H2s, t_hmi::H2_photodissoc_ELWERT_H2g, t_hmi::H2_photodissoc_ELWERT_H2s, t_hmi::H2_photodissoc_TH85, t_hmi::H2_photodissoc_used_H2g, t_hmi::H2_photodissoc_used_H2s, t_hmi::H2_Solomon_dissoc_rate_BD96_H2g, t_hmi::H2_Solomon_dissoc_rate_BD96_H2s, t_hmi::H2_Solomon_dissoc_rate_BHT90_H2g, t_hmi::H2_Solomon_dissoc_rate_BHT90_H2s, t_hmi::H2_Solomon_dissoc_rate_BigH2_H2g, t_hmi::H2_Solomon_dissoc_rate_BigH2_H2s, t_hmi::H2_Solomon_dissoc_rate_ELWERT_H2g, t_hmi::H2_Solomon_dissoc_rate_ELWERT_H2s, t_hmi::H2_Solomon_dissoc_rate_TH85_H2g, t_hmi::H2_Solomon_dissoc_rate_TH85_H2s, t_hmi::H2_Solomon_dissoc_rate_used_H2g, t_hmi::H2_Solomon_dissoc_rate_used_H2s, t_hmi::H2g_LTE_bigH2, t_hmi::H2Opacity, t_hmi::H2s_LTE_bigH2, t_phoHeat::HeatNet, hmi, t_hmi::hmicol, t_hmi::HMinus_induc_rec_cooling, t_hmi::HMinus_induc_rec_rate, t_hmi::HMinus_photo_heat, t_hmi::HMinus_photo_rate, t_hmi::hminus_rad_attach, hmirat(), t_hmi::Hmolec, ioQQQ, t_rfield::ip1000A, ipCOL_H2g, ipCOL_H2s, t_rfield::ipG0_DB96_hi, t_rfield::ipG0_DB96_lo, t_rfield::ipG0_spec_hi, t_rfield::ipG0_spec_lo, t_rfield::ipG0_TH85_hi, t_rfield::ipG0_TH85_lo, ipHE_LIKE, ipHELIUM, t_hmi::iphmin, t_opac::iphmop, ipHYDROGEN, t_iso::ipIsoLevNIonCon, ipMH, iso, iteration, t_hmi::lgBigH2_evaluated, t_hmi::lgH2_Chemistry_BigH2, t_h2::lgH2ON, t_hmi::lgLeidenCRHack, t_co::lgUMISTrates, MAX2, t_conv::nPres2Ioniz, nzone, opac, t_rfield::outlin, t_rfield::outlin_noplot, phycon, pow(), POW2, t_radius::r1r0sq, radius, t_hmi::rel_pop_LTE_H2g, t_hmi::rel_pop_LTE_H2p, t_hmi::rel_pop_LTE_H2s, t_hmi::rel_pop_LTE_H3p, t_hmi::rel_pop_LTE_Hmin, rfield, SAHA, SDIV(), secondaries, sexp(), SMALLFLOAT, T1CM, t_opac::TauAbsFace, t_phycon::te, t_phycon::te32, TotalInsanity(), t_hmi::UV_Cont_rel2_Draine_DB96_depth, t_hmi::UV_Cont_rel2_Draine_DB96_face, t_hmi::UV_Cont_rel2_Habing_spec_depth, t_hmi::UV_Cont_rel2_Habing_TH85_depth, t_hmi::UV_Cont_rel2_Habing_TH85_face, and t_secondaries::x12tot.
Referenced by ConvBase(), and hmole().