cloudy  trunk
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Functions | Variables
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.

Macros

#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
 

Macro Definition 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  )
STATIC realnum H2_CollidRateEvalOne ( long  iVibHi,
long  iRotHi,
long  iVibLo,
long  iRotLo,
long  ipHi,
long  ipLo,
long  nColl 
)
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.

Referenced by H2_Create().

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 for cloudy by doxygen 1.8.4