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

#include "cddefines.h"
#include "phycon.h"
#include "dense.h"
#include "taulines.h"
#include "input.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
#define N_H2_ORH2_FIT_PAR   8
#define N_H2_PAH2_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[])
long int H2_ORH2_coll_init (const char FILE_NAME_IN[])
long int H2_PAH2_coll_init (const char FILE_NAME_IN[])
double H2_He_coll (int init, int final, double temp)
double H2_ORH2_coll (int init, int final, double temp)
double H2_PAH2_coll (int init, int final, double temp)

Variables

static realnum *** H2_He_coll_fit_par
static bool ** lgDefn_H2He_coll
static realnum *** H2_ORH2_coll_fit_par
static bool ** lgDefn_H2ORH2_coll
static realnum *** H2_PAH2_coll_fit_par
static bool ** lgDefn_H2PAH2_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 N_H2_ORH2_FIT_PAR   8

Definition at line 25 of file mole_h2_coll.cpp.

Referenced by H2_ORH2_coll_init().

#define N_H2_PAH2_FIT_PAR   8

Definition at line 32 of file mole_h2_coll.cpp.

Referenced by H2_PAH2_coll_init().

#define PRT_COLL   false

Definition at line 15 of file mole_h2_coll.cpp.

Referenced by H2_CollidRateEvalAll(), and H2_CollidRateEvalOne().


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  ) 
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 966 of file mole_h2_coll.cpp.

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

Referenced by H2_CollidRateEvalOne().

Here is the call graph for this function:

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 678 of file mole_h2_coll.cpp.

References cdEXIT, t_input::chDelimiter, DEBUG_ENTRY, FILENAME_PATH_LENGTH_2, H2_He_coll_fit_par, input, 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:

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

Definition at line 1088 of file mole_h2_coll.cpp.

References b2, DEBUG_ENTRY, H2_ORH2_coll_fit_par, ioQQQ, lgDefn_H2ORH2_coll, and pow().

Referenced by H2_CollidRateEvalOne().

Here is the call graph for this function:

long int H2_ORH2_coll_init ( const char  FILE_NAME_IN[]  ) 

Definition at line 789 of file mole_h2_coll.cpp.

References cdEXIT, DEBUG_ENTRY, H2_ORH2_coll_fit_par, INPUT_LINE_LENGTH, lgDefn_H2ORH2_coll, MALLOC, N_H2_ORH2_FIT_PAR, nLevels_per_elec, open_data(), and read_whole_line().

Referenced by H2_CollidRateRead().

Here is the call graph for this function:

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

Definition at line 1195 of file mole_h2_coll.cpp.

References b2, DEBUG_ENTRY, H2_PAH2_coll_fit_par, ioQQQ, lgDefn_H2PAH2_coll, and pow().

Referenced by H2_CollidRateEvalOne().

Here is the call graph for this function:

long int H2_PAH2_coll_init ( const char  FILE_NAME_IN[]  ) 

Definition at line 877 of file mole_h2_coll.cpp.

References cdEXIT, DEBUG_ENTRY, H2_PAH2_coll_fit_par, INPUT_LINE_LENGTH, lgDefn_H2PAH2_coll, MALLOC, N_H2_PAH2_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

Definition at line 20 of file mole_h2_coll.cpp.

Referenced by H2_He_coll(), and H2_He_coll_init().

Definition at line 26 of file mole_h2_coll.cpp.

Referenced by H2_ORH2_coll(), and H2_ORH2_coll_init().

Definition at line 33 of file mole_h2_coll.cpp.

Referenced by H2_PAH2_coll(), and H2_PAH2_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().

bool** lgDefn_H2ORH2_coll [static]

Definition at line 27 of file mole_h2_coll.cpp.

Referenced by H2_ORH2_coll(), and H2_ORH2_coll_init().

bool** lgDefn_H2PAH2_coll [static]

Definition at line 34 of file mole_h2_coll.cpp.

Referenced by H2_PAH2_coll(), and H2_PAH2_coll_init().

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Nov 2012 for cloudy by  doxygen 1.6.1