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

#include "cddefines.h"
#include "physconst.h"
#include "mole.h"
#include "taulines.h"
#include "lines_service.h"
#include "opacity.h"
#include "hmi.h"
#include "ipoint.h"
#include "grainvar.h"
#include "h2.h"
#include "h2_priv.h"

Include dependency graph for mole_h2_create.cpp:

Go to the source code of this file.

Defines

#define T_H2_FORM   50000.
#define T_H2_FORM   17329.

Enumerations

enum  { DEBUG_ENER = false }

Functions

STATIC double EH2_eval (long int iVib, int ipH2)
STATIC double H2_vib_dist (long int iVib, int ipH2, double EH2)
void H2_Create (void)

Variables

static double XVIB [H2_TOP] = { 0.70 , 0.60 , 0.20 }
static double Xdust [H2_TOP] = { 0.04 , 0.10 , 0.40 }
static const double energy_off = 0.273*FREQ_1EV/SPEEDLIGHT


Define Documentation

#define T_H2_FORM   17329.

#define T_H2_FORM   50000.


Enumeration Type Documentation

anonymous enum

Enumerator:
DEBUG_ENER 

Definition at line 19 of file mole_h2_create.cpp.


Function Documentation

STATIC double EH2_eval ( long int  iVib,
int  ipH2 
)

Definition at line 34 of file mole_h2_create.cpp.

References ASSERT, energy_off, energy_wn, H2_DissocEnergies, Xdust, and XVIB.

void H2_Create ( void   ) 

create H2 molecules, called by ContCreatePointers

Todo:
1 add this as a Lya excitation process

Definition at line 81 of file mole_h2_create.cpp.

References multi_arr< T, d, ALLOC, lgBC >::alloc(), ASSERT, BIGFLOAT, multi_arr< T, d, ALLOC, lgBC >::clone(), CollRateFit, DEBUG_ENTRY, energy_wn, h2, H2_Boltzmann, H2_col_rate_in, H2_col_rate_out, H2_coll_dissoc_rate_coef, H2_coll_dissoc_rate_coef_H2, H2_CollRate, H2_disske, H2_dissprob, H2_ipPhoto, H2_lgOrtho, H2_old_populations, H2_populations, H2_populations_LTE, H2_rad_rate_in, H2_rad_rate_out, H2_stat, H2_X_colden, H2_X_colden_LTE, H2_X_formation, H2_X_Hmin_back, H2_X_rate_from_elec_excited, H2_X_rate_to_elec_excited, ioQQQ, t_h2::Jlowest, lgH2_READ_DATA, t_h2::lgH2ON, mole, t_mole::n_h2_elec_states, N_X_COLLIDER, t_h2::nElecLevelOutput, t_mole::nH2_TRACE, t_mole::nH2_trace_full, t_h2::nRot_hi, t_h2::nVib_hi, pops_per_vib, multi_arr< T, d, ALLOC, lgBC >::reserve(), and multi_arr< T, d, ALLOC, lgBC >::zero().

Referenced by ContCreatePointers().

Here is the call graph for this function:

STATIC double H2_vib_dist ( long int  iVib,
int  ipH2,
double  EH2 
)

Definition at line 59 of file mole_h2_create.cpp.

References energy_off, energy_wn, H2_DissocEnergies, H2_TOP, POW2, sexp(), and XVIB.

Here is the call graph for this function:


Variable Documentation

const double energy_off = 0.273*FREQ_1EV/SPEEDLIGHT [static]

Definition at line 32 of file mole_h2_create.cpp.

Referenced by EH2_eval(), and H2_vib_dist().

double Xdust[H2_TOP] = { 0.04 , 0.10 , 0.40 } [static]

Definition at line 27 of file mole_h2_create.cpp.

Referenced by EH2_eval().

double XVIB[H2_TOP] = { 0.70 , 0.60 , 0.20 } [static]

Definition at line 26 of file mole_h2_create.cpp.

Referenced by EH2_eval(), and H2_vib_dist().


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