11 bool lgShield_this_zone,
79 void GetIndices(
long& ipHi,
long& ipLo,
const char* chLine,
long& i )
const;
94 long int getLine(
long iElecHi,
long iVibHi,
long iRotHi,
long iElecLo,
long iVibLo,
long iRotLo,
double *relint,
double *absint );
97 realnum H2_CollidRateEvalOne(
long iVibHi,
long iRotHi,
long iVibLo,
long iRotLo,
long ipHi,
long ipLo,
long nColl,
double temp_K );
115 void H2_ReadEnergies(
long int nelec, vector<int>& n, vector<int>& v, vector<int>&J, vector<double>& eWN );
232 void H2_LevelPops(
bool &lgPopsConverged,
double &old_value,
double &new_value );
240 void H2_PunchDo( FILE* io ,
char chJOB[] ,
const char chTime[] ,
long int ipPun );
422 explicit diatomics(
const string& a,
const double& e_star,
const double*
const abund,
double (*fun)(
double) ) ;
multi_arr< double, 2 > H2_rad_rate_in
Definition: h2_priv.h:511
int nTRACE
Definition: h2_priv.h:403
char chH2ColliderLabels[N_X_COLLIDER][chN_X_COLLIDER]
Definition: h2_priv.h:452
multi_arr< double, 2 > H2_col_rate_out
Definition: h2_priv.h:510
const int N_ELEC
Definition: h2_priv.h:34
multi_arr< realnum, 3 > H2_dissprob
Definition: h2_priv.h:493
const double ENERGY_H2_STAR
Definition: h2_priv.h:446
double Average_A
Definition: h2_priv.h:303
double gs_rate(void)
Definition: mole_h2_etc.cpp:111
realnum GetXColden(long iVib, long iRot)
Definition: mole_h2.cpp:2351
double renorm_min
Definition: h2_priv.h:343
double rel_pop_LTE_s
Definition: h2_priv.h:290
double rel_pop_LTE_g
Definition: h2_priv.h:289
STATIC long int ipPun
Definition: save_do.cpp:368
double H2_DissocEnergies[N_ELEC]
Definition: h2_priv.h:470
void SolveExcitedElectronicLevels(void)
Definition: mole_h2.cpp:1937
void H2_LineZero(void)
Definition: mole_h2.cpp:440
void H2_Punch_line_data(FILE *ioPUN, bool lgDoAll)
Definition: mole_h2_io.cpp:1065
double TeUsedBoltz
Definition: h2_priv.h:419
double Average_collH2_excit
Definition: h2_priv.h:307
long int n_elec_states
Definition: h2_priv.h:413
multi_arr< double, 2 > AulDest
Definition: h2_priv.h:555
bool lgImgMatrix
Definition: h2_priv.h:591
double HeatChangeOld
Definition: h2_priv.h:300
long ip_photo_opac_thresh
Definition: h2_priv.h:320
realnum mass_amu
Definition: h2_priv.h:400
double spon_diss_tot
Definition: h2_priv.h:269
vector< double > LTE_cool
Definition: h2_priv.h:586
double Abund() const
Definition: h2_priv.h:75
void H2_LevelPops(bool &lgPopsConverged, double &old_value, double &new_value)
Definition: mole_h2.cpp:896
int n_trace_full
Definition: h2_priv.h:406
double ortho_para_older
Definition: h2_priv.h:339
void H2_ParseSave(Parser &p, ostringstream &chHeader)
Definition: mole_h2_io.cpp:74
double average_energy_s
Definition: h2_priv.h:294
multi_arr< double, 2 > pops_per_vib
Definition: h2_priv.h:461
t_coll_source coll_source[N_X_COLLIDER]
Definition: h2_priv.h:323
double HeatDexc_deriv
Definition: h2_priv.h:299
multi_arr< realnum, 2 > H2_coll_dissoc_rate_coef_H2
Definition: h2_priv.h:529
double Cont_Dissoc_Rate_H2g
Definition: h2_priv.h:285
bool lgPrtMatrix
Definition: h2_priv.h:589
molecule * sp_star
Definition: h2_priv.h:425
bool lgREAD_DATA
Definition: h2_priv.h:259
void H2_RTMake(linefunc line_one)
Definition: mole_h2.cpp:388
multi_arr< double, 2 > CollRate_levn
Definition: h2_priv.h:555
valarray< long > ipVib_H2_energy_sort
Definition: h2_priv.h:545
long int Jlowest[N_ELEC]
Definition: h2_priv.h:477
double ortho_colden
Definition: h2_priv.h:335
realnum H2_CollidRateEvalOne(long iVibHi, long iRotHi, long iVibLo, long iRotLo, long ipHi, long ipLo, long nColl, double temp_K)
Definition: mole_h2_coll.cpp:99
const int nTE_HMINUS
Definition: h2_priv.h:31
double xSTDNoise
Definition: h2_priv.h:395
double H2_to_H_limit
Definition: h2_priv.h:398
bool lgEvaluated
Definition: h2_priv.h:317
void H2_CollidRateRead(long int nColl)
Definition: mole_h2_coll.cpp:163
vector< CollRateCoeffArray > RateCoefTable
Definition: h2_priv.h:484
void H2_Prt_column_density(FILE *ioMEAN)
Definition: mole_h2_io.cpp:369
double rate_grain_op_conserve
Definition: h2_priv.h:280
vector< double > LTE_Temp
Definition: h2_priv.h:586
int nElecLevelOutput
Definition: h2_priv.h:356
double H2_den_g
Definition: h2_priv.h:540
multi_arr< realnum, 2 > H2_coll_dissoc_rate_coef
Definition: h2_priv.h:526
double HeatChange
Definition: h2_priv.h:300
multi_arr< double, 2 > AulEscp
Definition: h2_priv.h:555
void H2_Read_hminus_distribution(void)
Definition: mole_h2_io.cpp:942
TransitionList trans
Definition: h2_priv.h:427
double Average_collH2_dissoc_g
Definition: h2_priv.h:312
void GetIndices(long &ipHi, long &ipLo, const char *chLine, long &i) const
Definition: mole_h2_coll.cpp:202
long int nEner_H2_ground
Definition: h2_priv.h:458
void H2_X_sink_and_source(void)
Definition: mole_h2.cpp:52
long int ndim_allocated
Definition: h2_priv.h:554
int n_trace_matrix
Definition: h2_priv.h:406
double Average_collH2_deexcit
Definition: h2_priv.h:305
multi_arr< realnum, 3 > CollRateErrFac
Definition: h2_priv.h:483
multi_arr< realnum, 2 > H2_X_formation
Definition: h2_priv.h:514
const realnum H2_logte_hminus[nTE_HMINUS]
Definition: h2_priv.h:37
double Yan_H2_CS(double energy_ryd)
Definition: mole_h2_etc.cpp:358
double Solomon_dissoc_rate_g
Definition: h2_priv.h:271
double TeUsedColl
Definition: h2_priv.h:420
multi_arr< realnum, 3 > CollRateCoeff
Definition: h2_priv.h:482
const double *const dense_total
Definition: h2_priv.h:450
valarray< realnum > H2_X_sink
Definition: h2_priv.h:533
long int levelAsEval
Definition: h2_priv.h:561
vector< diss_tran > Diss_Trans
Definition: h2_priv.h:429
long int iteration_evaluated
Definition: h2_priv.h:564
multi_arr< double, 3 > Cont_Dissoc_Rate
Definition: h2_priv.h:286
long n
Definition: h2_priv.h:41
multi_arr< long int, 3 > ipEnergySort
Definition: h2_priv.h:548
multi_arr< double, 3 > H2_old_populations
Definition: h2_priv.h:498
double LTE_Cooling_per_H2()
Definition: mole_h2_etc.cpp:438
double GetExcitedElecDensity(void)
Definition: mole_h2.cpp:2530
bool lgH2_ortho_para_coll_on
Definition: h2_priv.h:376
molecule * sp
Definition: h2_priv.h:424
double Average_collH2_dissoc_s
Definition: h2_priv.h:313
void H2_CollidRateEvalAll(void)
Definition: mole_h2_coll.cpp:13
long int iterationAsEval
Definition: h2_priv.h:504
multi_arr< realnum, 3 > H2_disske
Definition: h2_priv.h:494
double ortho_density
Definition: h2_priv.h:326
diss_tran(diss_level a, diss_level b)
Definition: h2_priv.h:47
double HeatDexc_old
Definition: h2_priv.h:298
int n_trace_iterations
Definition: h2_priv.h:406
t_abund abund
Definition: abund.cpp:5
realnum para_density_f
Definition: h2_priv.h:331
void H2_ReadEnergies()
Definition: mole_h2_io.cpp:634
void mole_H2_LTE(void)
Definition: mole_h2_etc.cpp:225
long OpacityCreate(vector< double > &stack)
Definition: mole_h2_etc.cpp:167
void H2_RT_diffuse(void)
Definition: mole_h2.cpp:369
void mole_H2_form(void)
Definition: mole_h2_form.cpp:14
double para_density
Definition: h2_priv.h:326
vector< double > energies
Definition: h2_priv.h:56
Definition: quantumstate.h:35
void H2_RT_tau_reset(void)
Definition: mole_h2.cpp:456
multi_arr< realnum, 3 > H2_X_hminus_formation_distribution
Definition: h2_priv.h:543
double ortho_para_old
Definition: h2_priv.h:339
bool lgLTE
Definition: h2_priv.h:373
double photodissoc_BigH2_H2s
Definition: h2_priv.h:264
bool lgColl_dissoc_coll
Definition: h2_priv.h:366
double energy(const genericState &gs)
Definition: generic_state.cpp:51
string filename
Definition: h2_priv.h:69
long int nzoneAsEval
Definition: h2_priv.h:504
long int nLevels_per_elec[N_ELEC]
Definition: h2_priv.h:479
double xMeanNoise
Definition: h2_priv.h:395
vector< double > destroy
Definition: h2_priv.h:559
bool lgEnabled
Definition: h2_priv.h:352
double H2_den_s
Definition: h2_priv.h:540
Definition: proxy_iterator.h:58
long int nzoneEval
Definition: h2_priv.h:392
multi_arr< double, 3 > H2_populations_LTE
Definition: h2_priv.h:499
string label
Definition: h2_priv.h:432
long int nCall_this_zone
Definition: h2_priv.h:348
string path
Definition: h2_priv.h:434
void Mol_Photo_Diss_Rates(void)
Definition: mole_dissociate.cpp:131
void H2_RT_tau_inc(void)
Definition: mole_h2.cpp:410
void(* linefunc)(const TransitionProxy &t, bool lgShield_this_zone, realnum pestrk, realnum DopplerWidth)
Definition: h2_priv.h:10
void H2_Prt_Zone(void)
Definition: mole_h2_io.cpp:307
bool lgH2_PAH2_ORNL
Definition: h2_priv.h:384
bool lgH2_NOISE
Definition: h2_priv.h:387
double Average_collH_deexcit
Definition: h2_priv.h:306
const int N_X_COLLIDER
Definition: h2_priv.h:20
bool lgFirst
Definition: h2_priv.h:562
long int nCall_this_iteration
Definition: h2_priv.h:583
double H2_InterEnergy(void)
void H2_RT_OTS(void)
Definition: mole_h2.cpp:2421
long magic
Definition: h2_priv.h:67
float realnum
Definition: cddefines.h:127
multi_arr< realnum, 2 > H2_X_colden_LTE
Definition: h2_priv.h:520
double photodissoc_BigH2_H2g
Definition: h2_priv.h:265
multi_arr< bool, 2 > lgH2_radiative
Definition: h2_priv.h:571
long int nH2_pops
Definition: h2_priv.h:574
long int nXLevelsMatrix
Definition: h2_priv.h:553
double MolDissocOpacity(const diss_tran &tran, const double &Mol_Ene)
Definition: mole_dissociate.cpp:95
bool lgH2_He_ORNL
Definition: h2_priv.h:380
multi_arr< realnum, 2 > H2_X_Hmin_back
Definition: h2_priv.h:516
void H2_PrtDepartCoef(void)
Definition: mole_h2_io.cpp:336
void H2_LinesAdd(void)
Definition: mole_h2_io.cpp:44
double(* photoion_opacity_fun)(double energy)
Definition: h2_priv.h:81
void H2_Cooling(void)
Definition: mole_h2.cpp:2185
long ip_photo_opac_offset
Definition: h2_priv.h:321
multi_arr< realnum, 6 > H2_SaveLine
Definition: h2_priv.h:567
long v
Definition: h2_priv.h:41
multi_arr< double, 3 > H2_rad_rate_out
Definition: h2_priv.h:495
bool lgColl_deexec_Calc
Definition: h2_priv.h:363
double average_energy_g
Definition: h2_priv.h:293
double H2_DR(void)
Definition: mole_h2.cpp:2415
valarray< long > ipElec_H2_energy_sort
Definition: h2_priv.h:546
void H2_ContPoint(void)
Definition: mole_h2.cpp:277
long int loop_h2_oscil
Definition: h2_priv.h:391
void Read_Mol_Diss_cross_sections(void)
Definition: mole_dissociate.cpp:12
multi_arr< realnum, 3 > H2_X_grain_formation_distribution
Definition: h2_priv.h:537
realnum ortho_density_f
Definition: h2_priv.h:331
double rate_grain_J1_to_J0
Definition: h2_priv.h:281
double GetHeatRate(const diss_tran &tran)
Definition: mole_dissociate.cpp:227
double HeatDexc
Definition: h2_priv.h:297
void H2_Calc_Average_Rates(void)
Definition: mole_h2.cpp:2445
double ortho_para_current
Definition: h2_priv.h:339
double frac_matrix
Definition: h2_priv.h:416
long int nzone_eval
Definition: h2_priv.h:563
void H2_Solomon_rate(void)
Definition: mole_h2_etc.cpp:24
diatomics(const string &a, const double &e_star, const double *const abund, double(*fun)(double))
Definition: h2.cpp:13
double HeatDiss
Definition: h2_priv.h:296
vector< double > stat_levn
Definition: h2_priv.h:559
void H2_ReadTransprob(long int nelec, TransitionList &trans)
Definition: mole_h2_io.cpp:404
double photo_heat_soft
Definition: h2_priv.h:262
bool lgH2_grain_deexcitation
Definition: h2_priv.h:370
multi_arr< double, 2 > H2_X_rate_to_elec_excited
Definition: h2_priv.h:524
double photo_heat_hard
Definition: h2_priv.h:263
string shortlabel
Definition: h2_priv.h:433
void H2_zero_pops_too_low(void)
Definition: mole_h2_etc.cpp:184
multi_arr< double, 2 > H2_X_rate_from_elec_excited
Definition: h2_priv.h:522
long int getLine(long iElecHi, long iVibHi, long iRotHi, long iElecLo, long iVibLo, long iRotLo, double *relint, double *absint)
Definition: mole_h2_io.cpp:1865
double renorm_max
Definition: h2_priv.h:343
qList states
Definition: h2_priv.h:426
void H2_Colden(const char *chLabel)
Definition: mole_h2.cpp:2370
double Average_collH_excit
Definition: h2_priv.h:308
double H2_RadPress(void)
Definition: mole_h2.cpp:318
void H2_X_coll_rate_evaluate(void)
Definition: mole_h2.cpp:199
void H2_PunchLineStuff(FILE *io, realnum xLimit, long index)
Definition: mole_h2_io.cpp:1106
void H2_Read_LTE_cooling_per_H2()
Definition: mole_h2_io.cpp:1934
double Solomon_dissoc_rate_s
Definition: h2_priv.h:272
double photoionize_rate
Definition: h2_priv.h:261
bool lgH2_ORH2_ORNL
Definition: h2_priv.h:383
void H2_Level_low_matrix(realnum abundance)
Definition: mole_h2.cpp:472
multi_arr< double, 2 > AulPump
Definition: h2_priv.h:555
multi_arr< long int, 2 > ipTransitionSort
Definition: h2_priv.h:549
void H2_PunchDo(FILE *io, char chJOB[], const char chTime[], long int ipPun)
Definition: mole_h2_io.cpp:1143
double Cont_Dissoc_Rate_H2s
Definition: h2_priv.h:284
bool lgColl_gbar
Definition: h2_priv.h:360
bool lgH2_NOISECOSMIC
Definition: h2_priv.h:389
Definition: transition.h:297
double Solomon_elec_decay_g
Definition: h2_priv.h:275
vector< double > pops
Definition: h2_priv.h:559
void H2_Reset(void)
Definition: mole_h2_etc.cpp:298
TransitionList::iterator rad_end
Definition: h2_priv.h:428
void H2_ReadDissocEnergies(void)
Definition: mole_h2_io.cpp:793
valarray< long > nRot_hi[N_ELEC]
Definition: h2_priv.h:474
double pops_per_elec[N_ELEC]
Definition: h2_priv.h:481
Definition: transition.h:23
double Solomon_elec_decay_s
Definition: h2_priv.h:276
double para_colden
Definition: h2_priv.h:335
double H2_renorm_chemistry
Definition: h2_priv.h:464
vector< double > create
Definition: h2_priv.h:559
double Average_collH_dissoc_g
Definition: h2_priv.h:310
t_coll_source()
Definition: h2_priv.h:63
valarray< long > ipRot_H2_energy_sort
Definition: h2_priv.h:547
valarray< realnum > H2_X_source
Definition: h2_priv.h:532
double H2_Accel(void)
Definition: mole_h2.cpp:295
double rate_coeff
Definition: h2_priv.h:58
long int nzone_nlevel_set
Definition: h2_priv.h:578
long j
Definition: h2_priv.h:41
double Average_collH_dissoc_s
Definition: h2_priv.h:311
void CalcPhotoionizationRate(void)
Definition: mole_h2_etc.cpp:407
void init(void)
Definition: mole_h2_create.cpp:107
double interpolate_LTE_Cooling(double Temp)
Definition: mole_h2_etc.cpp:497
void set_numLevelsMatrix(long numLevels)
Definition: mole_h2_io.cpp:1927
void H2_ReadDissprob(long int nelec)
Definition: mole_h2_io.cpp:854
double MolDissocCrossSection(const diss_tran &tran, const double &Mol_Ene)
Definition: mole_dissociate.cpp:104
double GetDissociationRate(const diss_tran &tran)
Definition: mole_dissociate.cpp:194
vector< double > depart
Definition: h2_priv.h:559
vector< double > excit
Definition: h2_priv.h:559
multi_arr< realnum, 2 > H2_X_coll_rate
Definition: h2_priv.h:467
double H2_itrzn(void)
Definition: mole_h2.cpp:264
long int nVib_hi[N_ELEC]
Definition: h2_priv.h:472
vector< double > xsections
Definition: h2_priv.h:57
void SolveSomeGroundElectronicLevels(void)
Definition: mole_h2.cpp:2048
multi_arr< double, 2 > H2_col_rate_in
Definition: h2_priv.h:509
const int chN_X_COLLIDER
Definition: h2_priv.h:22
int n_trace_final
Definition: h2_priv.h:406
multi_arr< realnum, 2 > H2_X_colden
Definition: h2_priv.h:518
long int nH2_zone
Definition: h2_priv.h:575
multi_arr< int, 2 > H2_ipPhoto
Definition: h2_priv.h:508
diss_level initial
Definition: h2_priv.h:54
double Cont_Diss_Heat_Rate(void)
Definition: mole_dissociate.cpp:206
multi_arr< bool, 3 > H2_lgOrtho
Definition: h2_priv.h:501