#include "cddefines.h"
#include "physconst.h"
#include "mole.h"
#include "taulines.h"
#include "lines_service.h"
#include "opacity.h"
#include "hmi.h"
#include "ipoint.h"
#include "grainvar.h"
#include "h2.h"
#include "h2_priv.h"
Go to the source code of this file.
Enumerations | |
enum | { DEBUG_ENER = false } |
Functions | |
STATIC double | EH2_eval (long int iVib, int ipH2) |
STATIC double | H2_vib_dist (long int iVib, int ipH2, double EH2) |
void | H2_Create (void) |
Variables | |
static double | XVIB [H2_TOP] = { 0.70 , 0.60 , 0.20 } |
static double | Xdust [H2_TOP] = { 0.04 , 0.10 , 0.40 } |
static const double | energy_off = 0.273*FREQ_1EV/SPEEDLIGHT |
anonymous enum |
Definition at line 19 of file mole_h2_create.cpp.
STATIC double EH2_eval | ( | long int | iVib, | |
int | ipH2 | |||
) |
Definition at line 34 of file mole_h2_create.cpp.
References ASSERT, energy_off, energy_wn, H2_DissocEnergies, Xdust, and XVIB.
Referenced by H2_Create().
void H2_Create | ( | void | ) |
create H2 molecules, called by ContCreatePointers
Definition at line 81 of file mole_h2_create.cpp.
References abscf(), AddState2Stack(), multi_arr< T, d, ALLOC, lgBC >::alloc(), ASSERT, BIGFLOAT, cdEXIT, t_hmi::chGrainFormPump, multi_arr< T, d, ALLOC, lgBC >::clone(), CollRateFit, DEBUG_ENER, DEBUG_ENTRY, EH2_eval(), EN1EV, ENERGY_H2_STAR, energy_off, energy_wn, ERG1CM, GetGF(), h2, H2_Boltzmann, H2_col_rate_in, H2_col_rate_out, H2_coll_dissoc_rate_coef, H2_coll_dissoc_rate_coef_H2, H2_CollidRateRead(), H2_CollRate, H2_disske, H2_DissocEnergies, H2_dissprob, H2_energies, H2_ipPhoto, H2_ipX_ener_sort, H2_lgOrtho, H2_nRot_add_ortho_para, H2_old_populations, H2_populations, H2_populations_LTE, H2_rad_rate_in, H2_rad_rate_out, H2_Read_hminus_distribution(), H2_ReadDissprob(), H2_ReadEnergies(), H2_ReadTransprob(), H2_SaveLine, H2_stat, H2_TOP, H2_vib_dist(), H2_X_colden, H2_X_colden_LTE, H2_X_coll_rate, H2_X_formation, H2_X_grain_formation_distribution, H2_X_Hmin_back, H2_X_hminus_formation_distribution, H2_X_rate_from_elec_excited, H2_X_rate_to_elec_excited, H2_X_sink, H2_X_source, H2Lines, hmi, HPLANCK, ioQQQ, ipCRDW, ipElec_H2_energy_sort, ipEnergySort, ipoint(), ipRot_H2_energy_sort, ipVib_H2_energy_sort, is_odd(), t_h2::Jlowest, lgH2_line_exists, t_mole::lgH2_NOISE, lgH2_READ_DATA, t_h2::lgH2ON, LIMELM, MALLOC, MAX2, mole, t_mole::n_h2_elec_states, N_X_COLLIDER, t_h2::nElecLevelOutput, nEner_H2_ground, nH2_energies, t_mole::nH2_TRACE, t_mole::nH2_trace_full, nLevels_per_elec, t_h2::nRot_hi, nTE_HMINUS, t_h2::nVib_hi, nXLevelsMatrix, opac, PI, PI4, pops_per_vib, pow(), POW2, pow3(), RandGauss(), RefIndex(), multi_arr< T, d, ALLOC, lgBC >::reserve(), sexp(), SMALLFLOAT, spsort(), T1CM, t_opac::taumin, TotalInsanity(), VIB_COLLID, WAVNRYD, t_mole::xMeanNoise, t_mole::xSTDNoise, and multi_arr< T, d, ALLOC, lgBC >::zero().
Referenced by ContCreatePointers().
STATIC double H2_vib_dist | ( | long int | iVib, | |
int | ipH2, | |||
double | EH2 | |||
) |
Definition at line 59 of file mole_h2_create.cpp.
References energy_off, energy_wn, H2_DissocEnergies, H2_TOP, POW2, sexp(), and XVIB.
Referenced by H2_Create().
const double energy_off = 0.273*FREQ_1EV/SPEEDLIGHT [static] |
Definition at line 32 of file mole_h2_create.cpp.
Referenced by EH2_eval(), H2_Create(), and H2_vib_dist().
double Xdust[H2_TOP] = { 0.04 , 0.10 , 0.40 } [static] |
Definition at line 27 of file mole_h2_create.cpp.
Referenced by EH2_eval().
double XVIB[H2_TOP] = { 0.70 , 0.60 , 0.20 } [static] |
Definition at line 26 of file mole_h2_create.cpp.
Referenced by EH2_eval(), and H2_vib_dist().