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

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

Include dependency graph for mole_h2_coll.cpp:

Go to the source code of this file.

Defines

#define PRT_COLL   false
#define N_H2_HE_FIT_PAR   8

Functions

STATIC realnum H2_CollidRateEvalOne (long iVibHi, long iRotHi, long iVibLo, long iRotLo, long ipHi, long ipLo, long nColl)
void H2_CollidRateEvalAll (void)
void H2_CollidRateRead (long int nColl)
long int H2_He_coll_init (const char FILE_NAME_IN[])
double H2_He_coll (int init, int final, double temp)

Variables

static realnum *** H2_He_coll_fit_par
static bool ** lgDefn_H2He_coll


Define Documentation

#define N_H2_HE_FIT_PAR   8

Definition at line 19 of file mole_h2_coll.cpp.

Referenced by H2_He_coll_init().

#define PRT_COLL   false

Definition at line 15 of file mole_h2_coll.cpp.

Referenced by H2_CollidRateEvalAll().


Function Documentation

void H2_CollidRateEvalAll ( void   ) 

H2_CollidRateEvalAll - set H2 collision rates

Definition at line 212 of file mole_h2_coll.cpp.

References ASSERT, cdEXIT, DEBUG_ENTRY, energy_wn, H2_coll_dissoc_rate_coef, H2_coll_dissoc_rate_coef_H2, H2_CollidRateEvalOne(), H2_CollRate, H2_DissocEnergies, H2_ipX_ener_sort, H2Lines, ioQQQ, ipRot_H2_energy_sort, ipVib_H2_energy_sort, t_mole::lgColl_deexec_Calc, t_mole::lgColl_dissoc_coll, t_mole::lgH2_ortho_para_coll_on, MAX2, mole, N_X_COLLIDER, t_mole::nH2_TRACE, t_mole::nH2_trace_full, nLevels_per_elec, phycon, POW2, PRT_COLL, SDIV(), sexp(), t_phycon::te, and t_phycon::te_wn.

Referenced by H2_LevelPops().

Here is the call graph for this function:

STATIC realnum H2_CollidRateEvalOne ( long  iVibHi,
long  iRotHi,
long  iVibLo,
long  iRotLo,
long  ipHi,
long  ipLo,
long  nColl 
)

Definition at line 24 of file mole_h2_coll.cpp.

References CollRateFit, DEBUG_ENTRY, energy_wn, h2, H2_CollRate, H2_He_coll(), H2_lgOrtho, ioQQQ, t_mole::lgColl_deexec_Calc, t_mole::lgColl_gbar, t_h2::lgH2_H_coll_07, t_mole::lgH2_He_ORNL, t_mole::lgH2_ortho_para_coll_on, MAX2, mole, N_X_COLLIDER, phycon, POW2, sexp(), t_phycon::te, and t_phycon::te_eV.

Referenced by H2_CollidRateEvalAll().

Here is the call graph for this function:

void H2_CollidRateRead ( long int  nColl  ) 

read collision rates

Parameters:
nColl 

Definition at line 401 of file mole_h2_coll.cpp.

References COmole_rate_s::a, ASSERT, cdEXIT, CollRateFit, DEBUG_ENTRY, energy_wn, FILENAME_PATH_LENGTH_2, h2, H2_He_coll_init(), ioQQQ, t_h2::lgH2_H_coll_07, t_mole::lgH2_He_ORNL, mole, N_X_COLLIDER, t_h2::nRot_hi, open_data(), read_whole_line(), and VIB_COLLID.

Here is the call graph for this function:

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 

Todo:
1 fix this hack - Phillip Stancil is refitting

Definition at line 664 of file mole_h2_coll.cpp.

References b2, DEBUG_ENTRY, H2_He_coll_fit_par, ioQQQ, lgDefn_H2He_coll, MIN2, phycon, and t_phycon::te.

Referenced by H2_CollidRateEvalOne().

long int H2_He_coll_init ( const 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 554 of file mole_h2_coll.cpp.

References cdEXIT, DEBUG_ENTRY, H2_He_coll_fit_par, INPUT_LINE_LENGTH, lgDefn_H2He_coll, MALLOC, N_H2_HE_FIT_PAR, nLevels_per_elec, open_data(), and read_whole_line().

Referenced by H2_CollidRateRead().

Here is the call graph for this function:


Variable Documentation

realnum*** H2_He_coll_fit_par [static]

Definition at line 20 of file mole_h2_coll.cpp.

Referenced by H2_He_coll(), and H2_He_coll_init().

bool** lgDefn_H2He_coll [static]

Definition at line 21 of file mole_h2_coll.cpp.

Referenced by H2_He_coll(), and H2_He_coll_init().


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