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.

Referenced by H2_Create().


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 
) [static]

Definition at line 34 of file mole_h2_create.cpp.

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

Referenced by H2_Create().

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 abscf(), ASSERT, EmLine::Aul, aver(), BIGFLOAT, cdEXIT(), t_hmi::chGrainFormPump, CollRateFit, EmLine::dampXvel, DEBUG_ENER, DEBUG_ENTRY, DEBUG_EXIT, EH2_eval(), EmLineZero(), ENERGY_H2_STAR, energy_off, energy_wn, EmLine::EnergyErg, EmLine::EnergyK, EmLine::EnergyWN, ERG1CM, GetGF(), EmLine::gf, EmLine::gHi, EmLine::gLo, 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_DissocEnergies, H2_dissprob, H2_ipPhoto, H2_ipX_ener_sort, H2_lgOrtho, H2_nRot_add_ortho_para, H2_old_populations, H2_populations, H2_populations_LTE, H2_rad_rate_in, H2_rad_rate_out, H2_Read_hminus_distribution(), H2_ReadCollRates(), H2_ReadDissprob(), H2_ReadEnergies(), H2_ReadTransprob(), H2_SaveLine, H2_stat, H2_TOP, H2_vib_dist(), H2_X_colden, H2_X_colden_LTE, H2_X_coll_rate, H2_X_formation, H2_X_grain_formation_distribution, H2_X_Hmin_back, H2_X_hminus_formation_distribution, H2_X_rate_from_elec_excited, H2_X_rate_to_elec_excited, H2_X_sink, H2_X_source, H2_Xenergies, H2Lines, hmi, EmLine::IonStg, ioQQQ, ipCRDW, ipEnergySort, ipoint(), ipRot_H2_energy_sort, ipVib_H2_energy_sort, EmLine::iRedisFun, is_odd(), t_h2::Jlowest, lgH2_line_exists, t_mole::lgH2_NOISE, lgH2_READ_DATA, t_h2::lgH2ON, LIMELM, MALLOC, MAX2, mole, t_mole::n_h2_elec_states, N_X_COLLIDER, t_h2::nElecLevelOutput, EmLine::nelem, nEner_H2_ground, t_mole::nH2_TRACE, t_mole::nH2_trace_full, nLevels_per_elec, t_h2::nRot_hi, nTE_HMINUS, t_h2::nVib_hi, nXLevelsMatrix, opac, EmLine::opacity, PI4, pops_per_vib, POW2, RandGauss(), RefIndex(), sexp(), SMALLFLOAT, spsort(), T1CM, T_H2_FORM, EmLine::TauCon, EmLine::TauIn, t_opac::taumin, EmLine::TauTot, TotalInsanity(), VIB_COLLID, WAVNRYD, EmLine::WLAng, t_mole::xMeanNoise, and t_mole::xSTDNoise.

Referenced by ContCreatePointers().

Here is the call graph for this function:

static double H2_vib_dist ( long int  iVib,
int  ipH2,
double  EH2 
) [static]

Definition at line 59 of file mole_h2_create.cpp.

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

Referenced by H2_Create().

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(), H2_Create(), 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 for cloudy by doxygen 1.5.9