mole_h2_etc.cpp File Reference

#include "cddefines.h"
#include "phycon.h"
#include "mole.h"
#include "hmi.h"
#include "taulines.h"
#include "h2.h"
#include "h2_priv.h"

Include dependency graph for mole_h2_etc.cpp:

Go to the source code of this file.

Defines

#define SizeOf_line   300
#define Num_fit_par   8
#define nu   302
#define nl   302

Functions

void H2_Solomon_rate (void)
void H2_gs_rates (void)
void H2_zero_pops_too_low (void)
void mole_H2_LTE (void)
void H2_Init (void)
void H2_Reset (void)
void H2_Zero (void)
long int H2_He_coll_init (char FILE_NAME_IN[])
double H2_He_coll (int init, int final, double temp)

Variables

static double fit_par [nu][nl][Num_fit_par]
static int defn [nu][nl]


Define Documentation

#define nl   302

Definition at line 630 of file mole_h2_etc.cpp.

Referenced by H2_He_coll_init().

#define nu   302

Definition at line 629 of file mole_h2_etc.cpp.

Referenced by GrainScreen(), H2_He_coll_init(), RT_diffuse(), and WaveFunction().

#define Num_fit_par   8

Definition at line 628 of file mole_h2_etc.cpp.

Referenced by H2_He_coll_init().

#define SizeOf_line   300

Definition at line 627 of file mole_h2_etc.cpp.

Referenced by H2_He_coll_init().


Function Documentation

void H2_gs_rates ( void   ) 

double H2_He_coll ( int  init,
int  final,
double  temp 
)

H2_He_coll Interpolate the rate coefficeints The range of the temperature is between 2K - 1e8K

Parameters:
init 
final 
temp 

Definition at line 739 of file mole_h2_etc.cpp.

References b2, defn, fit_par, and ioQQQ.

Referenced by H2_collid_rates().

long int H2_He_coll_init ( char  FILE_NAME_IN[]  ) 

H2_He_coll_init receives the name of the file that contrains the fitting coefficeints of all transitions and read into 3d vectors. It outputs 'test.out' to test the arrays return value is magic number

Parameters:
FILE_NAME_IN[] 

Definition at line 638 of file mole_h2_etc.cpp.

References defn, fit_par, ioQQQ, nl, nu, Num_fit_par, par, and SizeOf_line.

Referenced by H2_ReadCollRates().

void H2_Init ( void   ) 

&H2_Init - called by cdInit to init H2

Definition at line 396 of file mole_h2_etc.cpp.

References DEBUG_ENTRY, DEBUG_EXIT, h2, t_h2::Jlowest, mole, N_H2_ELEC, t_mole::n_h2_elec_states, t_h2::nCallH2_this_zone, t_h2::nRot_hi, and t_h2::nVib_hi.

Referenced by zero().

void H2_Reset ( void   ) 

H2_Reset called to reset variables that are needed after an iteration

Definition at line 471 of file mole_h2_etc.cpp.

References DEBUG_ENTRY, DEBUG_EXIT, fnzone, h2, ioQQQ, iteration, iterationAsEval, mole, nCallH2_this_iteration, nH2_pops, t_mole::nH2_TRACE, nH2_zone, nzone_nlevel_set, nzoneAsEval, t_h2::renorm_max, and t_h2::renorm_min.

Referenced by IterRestart().

void H2_Solomon_rate ( void   ) 

void H2_Zero ( void   ) 

void H2_zero_pops_too_low ( void   ) 

void mole_H2_LTE ( void   ) 

mole_H2_LTE sets Boltzmann factors and LTE unit population of large H2 molecular

Definition at line 330 of file mole_h2_etc.cpp.

References ASSERT, DEBUG_ENTRY, DEBUG_EXIT, energy_wn, h2, H2_Boltzmann, H2_populations_LTE, H2_stat, ioQQQ, t_h2::Jlowest, mole, t_mole::n_h2_elec_states, t_mole::nH2_TRACE, t_mole::nH2_trace_full, t_h2::nRot_hi, t_h2::nVib_hi, phycon, sexp(), t_phycon::te, and t_phycon::te_wn.

Referenced by H2_LevelPops().

Here is the call graph for this function:


Variable Documentation

int defn[nu][nl] [static]

Definition at line 632 of file mole_h2_etc.cpp.

Referenced by H2_He_coll(), and H2_He_coll_init().

double fit_par[nu][nl][Num_fit_par] [static]

Definition at line 631 of file mole_h2_etc.cpp.

Referenced by H2_He_coll(), and H2_He_coll_init().


Generated for cloudy by doxygen 1.5.9