/home66/gary/public_html/cloudy/c10_branch/source/mole_h_drive.cpp File Reference

#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"
Include dependency graph for mole_h_drive.cpp:

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 Documentation

#define BIGERROR   1e-4

Referenced by hmole().

#define LIM_LOOP   20

Referenced by hmole().

#define OLD   0.75f

Referenced by hmole().


Function Documentation

double hmirat ( double  te  ) 

hmirat computes radiative association rate for H-

Parameters:
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   ) 
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

Todo:
2 following always true, why? either remove test or use it - it is here to save time - this step routine is called very often
Todo:
2 this should be done with new populations after converged soln

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().

Here is the call graph for this function:

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Nov 2012 for cloudy by  doxygen 1.6.1