#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"
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 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().
void H2_CollidRateEvalAll | ( | void | ) |
H2_CollidRateEvalAll - set H2 collision rates
Definition at line 269 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().
STATIC realnum H2_CollidRateEvalOne | ( | long | iVibHi, | |
long | iRotHi, | |||
long | iVibLo, | |||
long | iRotLo, | |||
long | ipHi, | |||
long | ipLo, | |||
long | nColl | |||
) |
Definition at line 37 of file mole_h2_coll.cpp.
References CollRateFit, DEBUG_ENTRY, energy_wn, h2, H2_CollRate, H2_He_coll(), H2_lgOrtho, H2_ORH2_coll(), H2_PAH2_coll(), ioQQQ, t_mole::lgColl_deexec_Calc, t_mole::lgColl_gbar, t_h2::lgH2_H_coll_07, t_mole::lgH2_He_ORNL, t_mole::lgH2_ORH2_ORNL, t_mole::lgH2_ortho_para_coll_on, t_mole::lgH2_PAH2_ORNL, MAX2, mole, N_X_COLLIDER, phycon, pow(), POW2, PRT_COLL, sexp(), t_phycon::te, and t_phycon::te_eV.
Referenced by H2_CollidRateEvalAll().
void H2_CollidRateRead | ( | long int | nColl | ) |
read collision rates
nColl |
Definition at line 458 of file mole_h2_coll.cpp.
References COmole_rate_s::a, ASSERT, cdEXIT, t_input::chDelimiter, CollRateFit, DEBUG_ENTRY, energy_wn, FILENAME_PATH_LENGTH_2, h2, H2_He_coll_init(), H2_ORH2_coll_init(), H2_PAH2_coll_init(), input, ioQQQ, t_h2::lgH2_H_coll_07, t_mole::lgH2_He_ORNL, t_mole::lgH2_ORH2_ORNL, t_mole::lgH2_PAH2_ORNL, mole, N_X_COLLIDER, t_h2::nRot_hi, open_data(), read_whole_line(), and VIB_COLLID.
Referenced by H2_Create().
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
init | ||
final | ||
temp |
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().
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
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().
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().
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().
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().
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().
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().
realnum*** H2_ORH2_coll_fit_par [static] |
Definition at line 26 of file mole_h2_coll.cpp.
Referenced by H2_ORH2_coll(), and H2_ORH2_coll_init().
realnum*** H2_PAH2_coll_fit_par [static] |
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().