/home66/gary/public_html/cloudy/c08_branch/source/mole_co_reactions.cpp File Reference

#include "cddefines.h"
#include "mole.h"
#include "mole_co_priv.h"
#include "hmi.h"
#include "conv.h"
#include "grainvar.h"
#include "phycon.h"
#include "physconst.h"
#include "doppvel.h"
#include "rfield.h"
#include "secondaries.h"
#include "ionbal.h"
#include "rt.h"

Include dependency graph for mole_co_reactions.cpp:

Go to the source code of this file.

Functions

STATIC void newreact (const char label[], double(*fun)(struct COmole_rate_s *rate), double a, double b, double c)
STATIC double hmrate (struct COmole_rate_s *rate)
STATIC double constrate (struct COmole_rate_s *rate)
STATIC double th85rate (struct COmole_rate_s *rate)
STATIC double crnurate (struct COmole_rate_s *rate)
STATIC double co_lnu_c_o_lnu (struct COmole_rate_s *rate)
STATIC double ele_ion_ladder (struct COmole_rate_s *rate)
STATIC double vib_evap (struct COmole_rate_s *rate)
STATIC double th85rate_co (struct COmole_rate_s *rate)
STATIC double grn_abs (struct COmole_rate_s *rate)
STATIC double oh_c2h2_co_ch3 (struct COmole_rate_s *rate)
STATIC double h_hnc_hcn_h (struct COmole_rate_s *rate)
void CO_create_react (void)
STATIC double noneq_offset (struct COmole_rate_s *rate)

Variables

t_coreactions coreactions
static bool lgReactInitialized = false


Function Documentation

void CO_create_react ( void   ) 

CO_create_react build reaction structures

Definition at line 54 of file mole_co_reactions.cpp.

References ASSERT, co, co_lnu_c_o_lnu(), coreactions, crnurate(), DEBUG_ENTRY, ele_ion_ladder(), grn_abs(), gv, h_hnc_hcn_h(), hmi, hmrate(), t_gv::lgDustOn, t_co::lgFederman, t_mole::lgGrain_mole_deplete, t_hmi::lgLeiden_Keep_ipMH2s, t_co::lgProtElim, t_co::lgUMISTrates, t_coreactions::list, makeplist(), MALLOC, mole, mole_priv, t_coreactions::n, newreact(), oh_c2h2_co_ch3(), mole_priv_s::reactab, th85rate(), th85rate_co(), and vib_evap().

Referenced by InitSimPostparse().

Here is the call graph for this function:

STATIC double co_lnu_c_o_lnu ( struct COmole_rate_s rate  ) 

Definition at line 1600 of file mole_co_reactions.cpp.

References DEBUG_ENTRY, ionbal, ipCARBON, ipOXYGEN, and t_ionbal::PhotoRate_Shell.

Referenced by CO_create_react().

STATIC double constrate ( struct COmole_rate_s rate  ) 

Definition at line 1547 of file mole_co_reactions.cpp.

Referenced by newreact().

STATIC double crnurate ( struct COmole_rate_s rate  ) 

Definition at line 1595 of file mole_co_reactions.cpp.

References t_secondaries::csupra, ipHYDROGEN, and secondaries.

Referenced by CO_create_react().

STATIC double ele_ion_ladder ( struct COmole_rate_s rate  ) 

Definition at line 1621 of file mole_co_reactions.cpp.

References t_gv::GrainChTrRate, gv, ionbal, molecule::nElec, molecule::nelem_hevmol, t_ionbal::RateIonizTot, t_ionbal::RateRecomTot, and COmole_rate_s::reactants.

Referenced by CO_create_react().

STATIC double grn_abs ( struct COmole_rate_s rate  ) 

Definition at line 1702 of file mole_co_reactions.cpp.

References t_gv::bin, BOLTZMANN, GrainBin::cnv_H_pCM3, DEBUG_ENTRY, fixit(), gv, GrainBin::IntArea, molecule::mole_mass, t_gv::nBin, phycon, PI, COmole_rate_s::reactants, and t_phycon::te.

Referenced by CO_create_react().

Here is the call graph for this function:

STATIC double h_hnc_hcn_h ( struct COmole_rate_s rate  ) 

Definition at line 1772 of file mole_co_reactions.cpp.

References hmrate(), phycon, and t_phycon::te.

Referenced by CO_create_react().

Here is the call graph for this function:

STATIC double hmrate ( struct COmole_rate_s rate  ) 

Definition at line 1493 of file mole_co_reactions.cpp.

References COmole_rate_s::b, COmole_rate_s::c, DEBUG_ENTRY, noneq_offset(), phycon, and t_phycon::te.

Referenced by CO_create_react(), h_hnc_hcn_h(), newreact(), and oh_c2h2_co_ch3().

Here is the call graph for this function:

STATIC void newreact ( const char  label[],
double(*)(struct COmole_rate_s *rate)  fun,
double  a,
double  b,
double  c 
)

Definition at line 1369 of file mole_co_reactions.cpp.

References COmole_rate_s::a, molecule::active, addentry(), COmole_rate_s::b, COmole_rate_s::c, cdEXIT, constrate(), coreactions, DEBUG_ENTRY, findspecies(), fixit(), COmole_rate_s::fun, hmrate(), COmole_rate_s::index, data_u::key, COmole_rate_s::label, MALLOC, MAXPRODUCTS, MAXREACTANTS, molecule::mole_mass, mole_priv, t_coreactions::n, COmole_rate_s::nproducts, COmole_rate_s::nrates, COmole_rate_s::nreactants, null_mole, data_u::p, COmole_rate_s::photon, COmole_rate_s::products, COmole_rate_s::rate_species, mole_priv_s::reactab, COmole_rate_s::reactants, COmole_rate_s::reduced_mass, and COmole_rate_s::rk.

Referenced by CO_create_react().

Here is the call graph for this function:

STATIC double noneq_offset ( struct COmole_rate_s rate  ) 

Definition at line 1513 of file mole_co_reactions.cpp.

References co, DEBUG_ENTRY, t_co::lgNeutrals, t_co::lgNonEquilChem, molecule::nElec, COmole_rate_s::nreactants, and COmole_rate_s::reactants.

Referenced by hmrate().

STATIC double oh_c2h2_co_ch3 ( struct COmole_rate_s rate  ) 

Definition at line 1759 of file mole_co_reactions.cpp.

References hmrate(), phycon, and t_phycon::te.

Referenced by CO_create_react().

Here is the call graph for this function:

STATIC double th85rate ( struct COmole_rate_s rate  ) 

Definition at line 1564 of file mole_co_reactions.cpp.

References COmole_rate_s::b, co, DEBUG_ENTRY, t_rfield::extin_mag_V_point, hmi, t_co::lgUMISTrates, rfield, COmole_rate_s::rk, t_hmi::UV_Cont_rel2_Habing_TH85_depth, and t_hmi::UV_Cont_rel2_Habing_TH85_face.

Referenced by CO_create_react(), and th85rate_co().

STATIC double th85rate_co ( struct COmole_rate_s rate  ) 

Definition at line 1731 of file mole_co_reactions.cpp.

References t_DoppVel::doppler, DoppVel, esca0k2(), molecule::hevcol, LIMELM, phycon, COmole_rate_s::reactants, t_phycon::sqrte, and th85rate().

Referenced by CO_create_react().

Here is the call graph for this function:

STATIC double vib_evap ( struct COmole_rate_s rate  ) 

Definition at line 1665 of file mole_co_reactions.cpp.

References COmole_rate_s::b, t_gv::bin, conv, DEBUG_ENTRY, gv, iteration, molecule::mole_mass, t_gv::nBin, t_conv::nTotalIoniz, phycon, PI, COmole_rate_s::reactants, sexp(), t_phycon::sqrte, and GrainBin::tedust.

Referenced by CO_create_react().

Here is the call graph for this function:


Variable Documentation

struct t_coreactions coreactions

Definition at line 36 of file mole_co_reactions.cpp.

bool lgReactInitialized = false [static]

Definition at line 52 of file mole_co_reactions.cpp.


Generated on Mon Feb 16 12:09:18 2009 for cloudy by  doxygen 1.4.7