/home66/gary/public_html/cloudy/c10_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

struct t_coreactions coreactions
static bool lgReactInitialized = false

Function Documentation

void CO_create_react ( void   ) 
STATIC double co_lnu_c_o_lnu ( struct COmole_rate_s rate  ) 

Definition at line 1599 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 1546 of file mole_co_reactions.cpp.

Referenced by newreact().

STATIC double crnurate ( struct COmole_rate_s rate  ) 

Definition at line 1594 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 1620 of file mole_co_reactions.cpp.

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

Referenced by CO_create_react().

Here is the call graph for this function:

STATIC double grn_abs ( struct COmole_rate_s rate  ) 

Definition at line 1700 of file mole_co_reactions.cpp.

References GrainVar::bin, BOLTZMANN, DEBUG_ENTRY, fixit(), gv, molecule::mole_mass, 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 1769 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 1492 of file mole_co_reactions.cpp.

References COmole_rate_s::b, COmole_rate_s::c, DEBUG_ENTRY, noneq_offset(), phycon, pow(), 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 
)
STATIC double noneq_offset ( struct COmole_rate_s rate  ) 
STATIC double oh_c2h2_co_ch3 ( struct COmole_rate_s rate  ) 

Definition at line 1756 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  ) 
STATIC double th85rate_co ( struct COmole_rate_s rate  ) 

Definition at line 1728 of file mole_co_reactions.cpp.

References ATOMIC_MASS_UNIT, esca0k2(), GetDopplerWidth(), molecule::hevcol, molecule::mole_mass, 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  ) 

Todo:
0 find physical theory for this process

Definition at line 1664 of file mole_co_reactions.cpp.

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

Referenced by CO_create_react().

Here is the call graph for this function:


Variable Documentation

Definition at line 36 of file mole_co_reactions.cpp.

bool lgReactInitialized = false [static]

Definition at line 52 of file mole_co_reactions.cpp.

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

Generated on 15 Nov 2012 for cloudy by  doxygen 1.6.1