Go to the source code of this file.
Functions | |
void | CoolZero (void) |
void | CoolAdd (const char *chLabel, realnum xlambda, double cool) |
void | CoolSum (double *total) |
void | CoolEvaluate (double *tot) |
void | coolpr (FILE *io, const char *chLabel, realnum lambda, double ratio, const char *chJOB) |
void | HeatSum (void) |
void | HeatZero (void) |
void | CoolAlum (void) |
void | CoolArgo (void) |
void | CoolCalc (void) |
void | CoolCarb (void) |
void | CoolChlo (void) |
void | CoolChro (void) |
void | CoolCoba (void) |
void | CoolDima (void) |
void | CoolIron (void) |
void | CoolMagn (void) |
void | CoolNeon (void) |
void | CoolNick (void) |
void | CoolNitr (void) |
void | CoolOxyg (void) |
void | CoolPhos (void) |
void | CoolPota (void) |
void | CoolScan (void) |
void | CoolSili (void) |
void | CoolSodi (void) |
void | CoolSulf (void) |
void | oi_cs (double &cs3P23P1, double &cs3P23P0, double &cs3P13P0, double &cs3P1D2, double &cs1D21S0, double &cs3P1S0) |
void | oi_othercs (double &csh01, double &cshe01, double &csh201, double &csh12, double &cshe12, double &csh212, double &csh02, double &cshe02, double &csh202, double &csh2o01, double &csh2o02, double &csh2o12, double &csh2p01, double &csh2p02, double &csh2p12, double &csp01, double &csp02, double &csp12) |
void | oii_cs (double &oii_cs4S32D5, double &oii_cs4S32D3, double &oii_cs2D52D3, double &oii_cs4S32P3, double &oii_cs2D52P3, double &oii_cs2D32P3, double &oii_cs4S32P1, double &oii_cs2D52P1, double &oii_cs2D32P1, double &oii_cs2P32P1, double &oii_cs4S34P) |
void | oiii_cs (double &oiii_cs3P25S2, double &oiii_cs3P15S2, double &oiii_cs3P05S2, double &oiii_cs3P1D2, double &oiii_cs1D21S0, double &oiii_cs3P1S0, double &oiii_cs3P03P1, double &oiii_cs3P13P2, double &oiii_cs3P03P2, double &oiii_cs3P3D) |
void | oiv_cs (double &oiv_cs2P2D, double &oiv_cs2P12P3) |
void | ov_cs (double &ov_cs1S01P1, double &ov_cs1S03P) |
void | sii_cs (double &sii_cs4S32D3, double &sii_cs4S32D5, double &sii_cs4S32P1, double &sii_cs4S32P3, double &sii_cs2D32D5, double &sii_cs2D32P1, double &sii_cs2D52P1, double &sii_cs2D32P3, double &sii_cs2D52P3, double &sii_cs2P12P3, double &sii_cs4S34P) |
void | siii_cs (double &siii_cs3P03P1, double &siii_cs3P03P2, double &siii_cs3P01D2, double &siii_cs3P01S0, double &siii_cs3P13P2, double &siii_cs3P11D2, double &siii_cs3P11S0, double &siii_cs3P21D2, double &siii_cs3P21S0, double &siii_cs1D21S0, double &siii_cs3P3D, double &siii_cs3P5S2) |
void | siv_cs (double &siv_cs2P12P3) |
void | sviii_cs (double &sviii_cs2P32P1) |
void | neiii_cs (double &neiii_cs3P13P0, double &neiii_cs3P23P1, double &neiii_cs3P23P0, double &neiii_cs3P1D2, double &neiii_cs3P1S0) |
double | Fe3_cs (long ipLo, long ipHi) |
double | Fe4_cs (long ipLo, long ipHi) |
double | Fe5_cs (long ipLo, long ipHi) |
void CoolAdd | ( | const char * | chLabel, | |
realnum | xlambda, | |||
double | cool | |||
) |
CoolAdd add coolants to the cooling stack, called in evaluation of cooling function
*chLabel | ||
xlambda | ||
cool |
Definition at line 13 of file cool_etc.cpp.
References ASSERT, t_thermal::chClntLab, t_thermal::collam, t_thermal::cooling, DEBUG_ENTRY, t_thermal::heatnt, t_thermal::lgCoolEvalOK, MAX2, t_thermal::ncltot, NCOLNT, NCOLNT_LAB_LEN, and thermal.
Referenced by atom_level2(), atom_level3(), AtomSeqBeryllium(), AtomSeqBoron(), CoolAlum(), CoolArgo(), CoolCalc(), CoolCarb(), CoolChlo(), CoolChro(), CoolEvaluate(), CoolIron(), CoolMagn(), CoolNeon(), CoolNitr(), CoolOxyg(), CoolPhos(), CoolScan(), CoolSili(), CoolSodi(), CoolSulf(), dBase_solve(), Fe2_cooling(), Fe3Lev14(), Fe4Lev12(), and iso_cool().
void CoolAlum | ( | void | ) |
Definition at line 15 of file cool_alum.cpp.
References t_phycon::alogte, atom_level2(), atom_level3(), atom_pop3(), atoms, AtomSeqBeryllium(), t_CoolHeavy::c1170, t_CoolHeavy::c2125, t_CoolHeavy::c2428, CoolAdd(), CoolHeavy, DEBUG_ENTRY, dense, t_embesq::em2669, embesq, ipAl09204, ipAl529, ipAl6366, ipAl6912, ipAl8370, ipAl8575, ipAlI3090, ipAlI3957, ipALUMINIUM, ipT1855, ipT1863, ipT2670, ipT639, ipTAl48, ipTAl550, ipTAl568, ligbar(), MakeCS(), MAX2, MIN2, phycon, t_atoms::PopLevels, pow(), POW2, PutCS(), t_phycon::sqrte, TauDummy, TauLines, t_phycon::te, t_phycon::te0002, t_phycon::te001, t_phycon::te003, t_phycon::te005, t_phycon::te01, t_phycon::te02, t_phycon::te03, t_phycon::te04, t_phycon::te05, t_phycon::te10, t_phycon::te20, t_phycon::te30, and t_dense::xIonDense.
Referenced by CoolEvaluate().
void CoolArgo | ( | void | ) |
Definition at line 15 of file cool_argo.cpp.
References t_CoolHeavy::Ar2854, t_CoolHeavy::Ar2868, t_CoolHeavy::Ar4711, t_CoolHeavy::Ar4740, t_CoolHeavy::Ar7171, t_CoolHeavy::Ar7237, t_CoolHeavy::Ar7263, t_CoolHeavy::Ar7331, atom_level2(), atom_level3(), atom_pop3(), atom_pop5(), t_CoolHeavy::c2691, t_CoolHeavy::c3109, t_CoolHeavy::c4626, t_CoolHeavy::c5192, t_CoolHeavy::c7007, t_CoolHeavy::c7136, CoolAdd(), CoolHeavy, t_thermal::dCooldT, DEBUG_ENTRY, dense, ipAr06453, ipARGON, ipTAr13, ipTAr22, ipTAr7, ipTAr8, ipTAr9, MAX2, MIN2, phycon, PutCS(), TauDummy, TauLines, t_phycon::te, t_phycon::te001, t_phycon::te003, t_phycon::te005, t_phycon::te01, t_phycon::te02, t_phycon::te03, t_phycon::te05, t_phycon::te10, t_phycon::te20, thermal, t_thermal::tsq1, and t_dense::xIonDense.
Referenced by CoolEvaluate().
void CoolCalc | ( | void | ) |
Definition at line 19 of file cool_calc.cpp.
References atom_level2(), atom_pop5(), t_dense::AtomicWeight, t_ca::c7306, ca, t_ca::Ca2RmLya, t_ca::Ca3d, t_ca::Ca4p, t_ca::Caf1, t_ca::Caf2, t_ca::Cah, t_ca::Cair, t_ca::Cak, t_ca::Cakh, t_ca::Cax, t_ca::Cay, t_ca::Caz, t_dense::cdsqte, CoolAdd(), t_ca::dCaf12, t_ca::dCakh, t_thermal::dCooldT, DEBUG_ENTRY, dense, t_ca::dstCala, TransitionList::Emis(), GetDopplerWidth(), ioQQQ, ipCaI4228, ipCALCIUM, TransitionProxy::ipCont(), ipH1s, ipH2p, ipH_LIKE, ipHYDROGEN, ipT3934, ipT3969, ipT7291, ipT7324, ipT8498, ipT8542, ipT8662, ipTCa3, iso_sp, MakeCS(), MAX2, opac, t_opac::opacity_abs, t_rfield::otslin, phycon, t_ca::popca2ex, PutCS(), rfield, t_phycon::sqrte, TauLines, t_phycon::te, t_phycon::te003, t_phycon::te02, t_phycon::te10, t_phycon::te30, thermal, t_iso_sp::trans(), and t_dense::xIonDense.
Referenced by CoolEvaluate().
void CoolCarb | ( | void | ) |
Definition at line 22 of file cool_carb.cpp.
References ASSERT, atom_level2(), atom_level3(), atom_pop3(), atoms, AtomSeqBeryllium(), AtomSeqBoron(), TransitionList::begin(), t_co::C12_C13_isotope_ratio, t_colden::C1Pops, t_colden::C2Pops, t_colden::C3Pops, t_carb::c8727, t_carb::c9850, carb, t_dense::cdsqte, co, colden, COLL_CONST, CoolAdd(), t_thermal::dCooldT, DEBUG_ENTRY, molezone::den, dense, dprintf(), DumpLine(), t_dense::eden, t_dense::EdenHCorr, t_embesq::em13C1910, t_embesq::em1908, embesq, TransitionList::Emis(), findspecieslocal(), fnzone, fp_equal(), g, h2, t_hmi::H2_total, t_thermal::halfte, t_dense::HCorrFac, hmi, ioQQQ, ipC2_2324, ipC2_2325, ipC2_2327, ipC2_2328, ipC2_2329, ipc31175, ipCARBON, ipHELIUM, ipHYDROGEN, ipT1335, ipT1548, ipT1550, ipT157, ipT1656, ipT1909, ipT270, ipT274, ipT280, ipT291, ipT310, ipT312, ipT370, ipT386, ipT610, ipT8727, ipT977, ipT9830, ligbar(), MAX2, MIN2, nWindLine, nzone, diatomics::ortho_density, phycon, t_atoms::PopLevels, pow(), pow2(), PutCS(), t_carb::r9850, SDIV(), SMALLFLOAT, t_phycon::sqrte, T1CM, TauDummy, TauLine2, TauLines, t_phycon::te, t_phycon::te001, t_phycon::te003, t_phycon::te005, t_phycon::te01, t_phycon::te02, t_phycon::te03, t_phycon::te05, t_phycon::te10, t_phycon::te20, t_phycon::te30, t_phycon::te32, t_phycon::te70, thermal, TotalInsanity(), t_thermal::tsq1, and t_dense::xIonDense.
Referenced by CoolEvaluate().
void CoolChlo | ( | void | ) |
Definition at line 14 of file cool_chlo.cpp.
References atom_level2(), atom_level3(), atom_pop3(), atom_pop5(), t_CoolHeavy::c3119, t_CoolHeavy::c3350, t_CoolHeavy::c3679, t_CoolHeavy::c5324, t_CoolHeavy::c5525, t_CoolHeavy::c6164, t_CoolHeavy::c8047, t_CoolHeavy::c8494, t_CoolHeavy::c8579, t_CoolHeavy::Cl3344, t_CoolHeavy::Cl3354, t_CoolHeavy::Cl5519, t_CoolHeavy::Cl5539, t_CoolHeavy::Cl8436, t_CoolHeavy::Cl8483, t_CoolHeavy::Cl8504, t_CoolHeavy::Cl8552, CoolAdd(), CoolHeavy, t_thermal::dCooldT, DEBUG_ENTRY, dense, t_dense::eden, t_thermal::halfte, ipCHLORINE, ipCl04117, ipCl04203, ipCl1_11m, ipCl973, ipfsCl214, ipfsCl233, ipHYDROGEN, LineConvRate2CS(), MAX2, MIN2, phycon, pow(), PutCS(), SDIV(), TauDummy, TauLines, t_phycon::te, t_phycon::te0001, t_phycon::te0004, t_phycon::te004, t_phycon::te007, t_phycon::te01, t_phycon::te02, t_phycon::te03, t_phycon::te04, t_phycon::te05, t_phycon::te07, t_phycon::te10, t_phycon::te30, thermal, t_thermal::tsq1, and t_dense::xIonDense.
Referenced by CoolEvaluate().
void CoolChro | ( | void | ) |
Definition at line 14 of file cool_chro.cpp.
References atom_pop2(), atom_pop3(), CoolAdd(), CoolHeavy, t_CoolHeavy::Cr3l21, t_CoolHeavy::Cr4l21, t_CoolHeavy::Cr4l31, t_CoolHeavy::Cr5l21, t_CoolHeavy::Cr5l31, t_CoolHeavy::Cr5l32, DEBUG_ENTRY, dense, ipCHROMIUM, and t_dense::xIonDense.
Referenced by CoolEvaluate().
void CoolCoba | ( | void | ) |
Definition at line 10 of file cool_coba.cpp.
References atom_level2(), DEBUG_ENTRY, ipCo11527, PutCS(), and TauLines.
Referenced by CoolEvaluate().
void CoolDima | ( | void | ) |
Definition at line 25 of file cool_dima.cpp.
References atmdat, atom_level2(), t_dense::AtomicWeight, TransitionList::begin(), ColStrGBar(), cs1_flag_lev2, DEBUG_ENTRY, dense, GetDopplerWidth(), t_atmdat::lgChiantiHybrid, t_dense::lgIonChiantiOn, t_dense::lgIonStoutOn, t_atmdat::lgStoutHybrid, t_dense::maxWN, NISO, nWindLine, PutCS(), RT_line_one(), TauLine2, and t_dense::xIonDense.
Referenced by CoolEvaluate().
void CoolEvaluate | ( | double * | tot | ) |
CoolEvaluate main routine to call others, to evaluate total cooling
tot | total cooling |
Definition at line 45 of file cool_eval.cpp.
References Wind::AccelTotalOutward, t_phycon::alogte, t_rfield::anu, ASSERT, atmdat, atom_level2(), t_dense::AtomicWeight, BOLTZMANN, t_CoolHeavy::brems_cool_h, t_CoolHeavy::brems_cool_he, t_CoolHeavy::brems_cool_hminus, t_CoolHeavy::brems_cool_metals, t_CoolHeavy::brems_cool_net, t_CoolHeavy::brems_heat_total, called, cdEXIT, t_dense::cdsqte, t_thermal::cextpw, t_CoolHeavy::cextxx, t_thermal::char_tran_cool, t_mole_local::chem_heat(), t_hmi::chH2_small_model_type, t_rfield::cmcool, t_CoolHeavy::colmet, t_rfield::ContBoltz, conv, t_dynamics::Cool(), CoolAdd(), CoolAlum(), CoolArgo(), CoolCalc(), CoolCarb(), CoolChlo(), CoolChro(), CoolCoba(), CoolDima(), t_thermal::CoolExtra, CoolHeavy, t_thermal::cooling, t_hyperfine::cooling_total, CoolIron(), CoolMagn(), CoolNeon(), CoolNick(), CoolNitr(), CoolOxyg(), CoolPhos(), CoolPota(), CoolScan(), CoolSili(), CoolSodi(), CoolSulf(), CoolSum(), CoolZero(), t_thermal::ctot, t_CoolHeavy::cyntrn, t_hydro::D2H_ratio, dBase_solve(), dBaseSpecies, t_dynamics::dCooldT(), t_thermal::dCooldT, DEBUG_ENTRY, molezone::den, dense, t_hmi::deriv_HeatH2Dexc_BD96, t_hmi::deriv_HeatH2Dexc_BHT90, t_hmi::deriv_HeatH2Dexc_ELWERT, t_hmi::deriv_HeatH2Dexc_TH85, t_hmi::deriv_HeatH2Dexc_used, t_dynamics::dHeatdT, t_thermal::dHeatdT, diatoms, t_thermal::dima, dynamics, t_dense::eden, t_dense::EdenTrue, t_CoolHeavy::eebrm, t_thermal::elementcool, EN1RYD, EXIT_FAILURE, t_CoolHeavy::expans, findspecieslocal(), fixit(), t_rfield::flux, fndneg(), fndstr(), fnzone, fp_equal(), t_opac::FreeFreeOpacity, t_dense::gas_phase, GrainVar::GasCoolColl, GrainVar::GasHeatPhotoEl, GrainVar::GasHeatTherm, GetDopplerWidth(), t_rfield::gff, gv, h2, H21_cm_pops(), H21cm_electron(), H21cm_H_atom(), H21cm_proton(), t_hmi::H2_total, t_CoolHeavy::h2line, t_CoolHeavy::H2PlsCool, t_hmi::h2plus_heat, t_thermal::halfte, hd, t_CoolHeavy::HD, t_dynamics::Heat(), t_conv::HeatCoolRelErrorAllowed, diatomics::HeatDexc, diatomics::HeatDexc_deriv, diatomics::HeatDiss, t_hmi::HeatH2Dexc_BD96, t_hmi::HeatH2Dexc_BHT90, t_hmi::HeatH2Dexc_ELWERT, t_hmi::HeatH2Dexc_TH85, t_hmi::HeatH2Dexc_used, t_hmi::HeatH2Dish_BD96, t_hmi::HeatH2Dish_BHT90, t_hmi::HeatH2Dish_ELWERT, t_hmi::HeatH2Dish_TH85, t_hmi::HeatH2Dish_used, t_thermal::heating, t_CoolHeavy::heavfb, t_hyperfine::HFLabundance, HFLines, hmi, t_hmi::hmicol, t_hmi::hmihet, t_hmi::HMinus_photo_rate, t_thermal::htot, hydro, hyperfine, HyperfineCS(), ionbal, t_dense::IonHigh, t_dense::IonLow, ioQQQ, ipALUMINIUM, ipARGON, ipCALCIUM, ipCARBON, ipCHLORINE, ipCHROMIUM, ipCOBALT, t_rfield::ipEnergyBremsThin, ipH1s, ipH_LIKE, ipHELIUM, t_opac::iphmra, ipHYDROGEN, ipIRON, ipLITHIUM, ipMAGNESIUM, t_rfield::ipMaxBolt, ipNEON, ipNICKEL, ipNITROGEN, ipOXYGEN, ipPHOSPHORUS, ipPOTASSIUM, ipSCANDIUM, ipSILICON, ipSODIUM, ipSULPHUR, iso_cool(), iso_sp, iteration, GrainVar::lgBakesPAH_heat, Wind::lgBallistic(), t_thermal::lgCExtraOn, t_atmdat::lgChiantiOn, t_thermal::lgCNegChk, GrainVar::lgDHetOn, GrainVar::lgDustOn(), t_dense::lgElmtOn, diatomics::lgEnabled, diatomics::lgEvaluated, t_CoolHeavy::lgFreeOn, GrainVar::lgGrainPhysicsOn, t_hmi::lgH2_Thermal_BigH2, t_dense::lgIonChiantiOn, t_dense::lgIonStoutOn, lgMustPrintHeader, t_mole_global::lgNoMole, t_NumDeriv::lgNumDeriv, t_conv::lgSearch, t_mole_global::lgStancil, t_atmdat::lgStoutOn, t_called::lgTalk, t_thermal::lgTemperatureConstant, t_dynamics::lgTimeDependentStatic, t_trace::lgTrace, LIMELM, t_mole_global::list, magnetic, MAX2, MIN2, mole, mole_global, N21CM_TE, t_dynamics::n_initial_relax, t_thermal::ncltot, t_rfield::nflux, nHFLines, NISO, t_conv::nPres2Ioniz, nSpecies, t_mole_global::num_calc, NumDeriv, t_rfield::nupper, nzone, opac, t_opac::OpacStack, phycon, PI8, pow(), POW2, t_pressure::PresGasCurr, t_magnetic::pressure, pressure, PRT_DERIV, PutCS(), t_radius::Radius, radius, rfield, t_ionbal::RR_rate_coef_used, RT_line_one(), save, scalingDensity(), SDIV(), sexp(), ShowMe(), SMALLFLOAT, t_mole_local::species, t_phycon::sqrte, t_iso_sp::st, t_CoolHeavy::tccool, t_phycon::te, t_phycon::teinv, TempChange(), thermal, t_dynamics::timestep, TotalInsanity(), trace, t_dynamics::Upstream_density, t_rfield::widflx, wind, Wind::windv, and t_dense::xIonDense.
Referenced by ConvBase(), RT_tau_inc(), and SaveLineData().
void CoolIron | ( | void | ) |
Definition at line 494 of file cool_iron.cpp.
References atom_level2(), atom_level3(), atom_pop2(), t_CoolHeavy::c3892, CoolAdd(), CoolHeavy, DEBUG_ENTRY, dense, t_dense::eden, Fe2_cooling(), Fe3Lev14(), Fe4Lev12(), g, ipFe1_24m, ipFe1_35m, ipFeI2966, ipFeI3021, ipFeI3457, ipFeI3729, ipFeI3884, ipHYDROGEN, ipIRON, ipT1122, LineConvRate2CS(), MakeCS(), phycon, pow(), PutCS(), TauDummy, TauLines, t_phycon::te, and t_dense::xIonDense.
Referenced by CoolEvaluate().
void CoolMagn | ( | void | ) |
Definition at line 14 of file cool_magn.cpp.
References t_phycon::alogte, atom_level2(), atom_level3(), atom_pop2(), atoms, t_CoolHeavy::c1806, CoolAdd(), CoolHeavy, DEBUG_ENTRY, dense, ipfsMg755, ipfsMg790, ipMAGNESIUM, ipMgI2026, ipMgI2853, ipT2796, ipT2804, ipT4561, ipT58, ipT705, ipTMg14, ipTMg4, ipTMg6, ipTMg610, ipTMg625, ipxMg08303, ipxMg51325, ipxMg52417, ipxMg52855, ipxMg71190, ipxMg72261, ipxMg72569, ligbar(), MakeCS(), MAX2, MIN2, phycon, t_atoms::PopLevels, t_atoms::popmg2, POW2, PutCS(), t_phycon::sqrte, TauDummy, TauLines, t_phycon::te, t_phycon::te0001, t_phycon::te0005, t_phycon::te001, t_phycon::te003, t_phycon::te005, t_phycon::te007, t_phycon::te01, t_phycon::te02, t_phycon::te03, t_phycon::te05, t_phycon::te07, t_phycon::te10, t_phycon::te20, t_phycon::te30, and t_dense::xIonDense.
Referenced by CoolEvaluate().
void CoolNeon | ( | void | ) |
Definition at line 17 of file cool_neon.cpp.
References atom_level2(), atom_level3(), atom_pop2(), atom_pop3(), atoms, AtomSeqBeryllium(), t_CoolHeavy::c1134, t_CoolHeavy::c1565, t_CoolHeavy::c2424, t_CoolHeavy::c2975, t_CoolHeavy::c3343, t_CoolHeavy::c3426, t_CoolHeavy::c3869, t_CoolHeavy::c4720, t_dense::cdsqte, CoolAdd(), CoolHeavy, t_thermal::dCooldT, DEBUG_ENTRY, dense, t_embesq::em895, embesq, findspecieslocal(), t_thermal::halfte, ipHYDROGEN, ipNEON, ipT770, ipT780, ipT88, ipT895, ipTNe13, ipTNe14, ipTNe16, ipTNe24, ipTNe36, ipxNe0676, ligbar(), neiii_cs(), phycon, t_atoms::PopLevels, PutCS(), TauDummy, TauLines, t_phycon::te, t_phycon::te0001, t_phycon::te0002, t_phycon::te0003, t_phycon::te0004, t_phycon::te0007, t_phycon::te001, t_phycon::te002, t_phycon::te003, t_phycon::te004, t_phycon::te005, t_phycon::te007, t_phycon::te01, t_phycon::te02, t_phycon::te03, t_phycon::te04, t_phycon::te07, t_phycon::te10, t_phycon::te20, t_phycon::te30, t_phycon::te40, thermal, t_thermal::tsq1, and t_dense::xIonDense.
Referenced by CoolEvaluate().
void CoolNick | ( | void | ) |
Definition at line 12 of file cool_nick.cpp.
References atom_level3(), DEBUG_ENTRY, dense, t_dense::eden, g, ipHYDROGEN, ipNi1_11m, ipNi1_7m, LineConvRate2CS(), MAX2, MIN2, phycon, pow(), TauDummy, TauLines, t_phycon::te, and t_dense::xIonDense.
Referenced by CoolEvaluate().
void CoolNitr | ( | void | ) |
Definition at line 119 of file cool_nitr.cpp.
References t_phycon::alnte, ASSERT, atom_level2(), atom_level3(), atom_pop3(), atom_pop5(), atoms, AtomSeqBeryllium(), AtomSeqBoron(), TransitionList::begin(), t_nitro::c5755, t_nitro::c6584, t_dense::cdsqte, CoolAdd(), t_atoms::d5200r, t_thermal::dCooldT, DEBUG_ENTRY, dense, dprintf(), DumpLine(), t_dense::eden, t_embesq::em1486, embesq, TransitionList::Emis(), fp_equal(), g, t_thermal::halfte, ioQQQ, ipN3_1747, ipN3_1749, ipN3_1751, ipN3_1752, ipN3_1754, ipNI_pumpDirect, ipNI_pumpIndirect, ipNITROGEN, ipT1085, ipT1200, ipT122, ipT1239, ipT1243, ipT1486, ipT205, ipT209, ipT2140, ipT315, ipT324, ipT333, ipT374g, ipT57, ipT765, ipT990, ligbar(), MAX2, min(), MIN2, NI_NDP, nitro, nWindLine, t_atoms::p2nit, phycon, t_atoms::PopLevels, pow(), t_nitro::pump5199, PutCS(), t_nitro::quench_5200, t_nitro::rec5199, SDIV(), t_phycon::sqrte, TauDummy, TauLine2, TauLines, t_phycon::te, t_phycon::te02, t_phycon::te03, t_phycon::te10, thermal, TotalInsanity(), t_thermal::tsq1, t_dense::xIonDense, t_nitro::xN10397, t_nitro::xN10398, t_nitro::xN10407, t_nitro::xN10408, t_nitro::xN2_A3_tot, t_nitro::xN3466, t_nitro::xN3467, t_nitro::xN5198, t_nitro::xN5200, and xNI_coll_stren().
Referenced by CoolEvaluate().
void CoolOxyg | ( | void | ) |
Definition at line 24 of file cool_oxyg.cpp.
References ASSERT, atom_level2(), atom_level3(), atom_oi_calc(), atom_pop3(), atom_pop5(), atoms, AtomSeqBeryllium(), AtomSeqBoron(), TransitionList::begin(), t_atoms::c12, t_atoms::c13, t_CoolHeavy::c3727, t_CoolHeavy::c4363, t_CoolHeavy::c5007, t_CoolHeavy::c5577, t_CoolHeavy::c5577_frac_emit, t_CoolHeavy::c6300, t_CoolHeavy::c6300_frac_emit, t_CoolHeavy::c6363, t_CoolHeavy::c7325, cdEXIT, t_dense::cdsqte, colden, CoolAdd(), CoolHeavy, t_CoolHeavy::coolOi, t_oxy::d5007r, t_oxy::d5007t, t_oxy::d6300, t_thermal::dCooldT, DEBUG_ENTRY, dense, dprintf(), DumpLine(), t_embesq::em1218, embesq, TransitionList::Emis(), EXIT_SUCCESS, t_mole_local::findrate(), fnzone, fp_equal(), g, t_hmi::H2_total, t_thermal::halfte, hmi, ioQQQ, ipHELIUM, ipHYDROGEN, ipO4_1397, ipO4_1400, ipO4_1401, ipO4_1405, ipO4_1407, ipOXYGEN, ipT1032, ipT1037, ipT1214, ipT146, ipT150, ipT1661, ipT1666, ipT26, ipT304, ipT52, ipT5577, ipT63, ipT630, ipT6300, ipT6363, ipT789, ipT834, ipT835, ipTO88, ligbar(), MAX2, MIN2, mole, neiii_cs(), nWindLine, t_colden::O1Pops, t_CoolHeavy::O2471, t_CoolHeavy::O2_A2_tot, t_CoolHeavy::O2_A3_tot, t_CoolHeavy::O3726, t_CoolHeavy::O3730, t_oxy::o3br32, t_oxy::o3enro, t_oxy::o3ex23, t_CoolHeavy::O7323, t_CoolHeavy::O7332, oi_cs(), oi_othercs(), oii_cs(), oiii_cs(), oiv_cs(), ov_cs(), oxy, phycon, t_oxy::poiexc, t_oxy::poiii2, t_oxy::poiii3, t_atoms::PopLevels, PutCS(), SDIV(), sii_cs(), siii_cs(), siv_cs(), SMALLFLOAT, sviii_cs(), TauDummy, TauLine2, TauLines, t_phycon::te, t_phycon::TEMP_LIMIT_HIGH, t_phycon::TEMP_LIMIT_LOW, TempChange(), thermal, TotalInsanity(), t_thermal::tsq1, and t_dense::xIonDense.
Referenced by CoolEvaluate().
void CoolPhos | ( | void | ) |
Definition at line 13 of file cool_phos.cpp.
References atom_level2(), atom_level3(), atom_pop3(), CoolAdd(), CoolHeavy, DEBUG_ENTRY, dense, ipP0233, ipP0260, ipP0318, ipP713, ipPHOSPHORUS, t_CoolHeavy::p2_21, t_CoolHeavy::p2_31, t_CoolHeavy::p2_32, phycon, PutCS(), TauDummy, TauLines, t_phycon::te, t_phycon::te0004, t_phycon::te002, t_phycon::te007, t_phycon::te01, t_phycon::te04, t_phycon::te10, t_phycon::te30, and t_dense::xIonDense.
Referenced by CoolEvaluate().
void CoolPota | ( | void | ) |
Definition at line 11 of file cool_pota.cpp.
References atom_level2(), atom_level3(), DEBUG_ENTRY, ipKI7745, ipxK03462, ipxK04154, ipxK04598, ipxK07319, phycon, PutCS(), TauDummy, TauLines, t_phycon::te, t_phycon::te02, and t_phycon::te03.
Referenced by CoolEvaluate().
void coolpr | ( | FILE * | io, | |
const char * | chLabel, | |||
realnum | lambda, | |||
double | ratio, | |||
const char * | chJOB | |||
) |
coolpr stores coolants before block printed, when printing cooling agents
*io | the label for the coolant | |
*chLabel | ||
lambda | the wavelength | |
ratio | the ratio of this coolant, to total cooling, may be negative | |
*chJOB | which job, either ZERO, DOIT, or DONE |
Definition at line 9 of file cool_pr.cpp.
References ASSERT, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, ioQQQ, MIN2, NCOLNT_LAB_LEN, NCOLSAV, and ShowMe().
Referenced by dmpary(), fndstr(), and map_do().
void CoolScan | ( | void | ) |
Definition at line 12 of file cool_scan.cpp.
References atom_level2(), atom_pop2(), atom_pop3(), CoolAdd(), CoolHeavy, DEBUG_ENTRY, dense, ipSc05231, ipSc13264, ipSCANDIUM, PutCS(), t_CoolHeavy::Sc22p08m, t_CoolHeavy::Sc24p1m, t_CoolHeavy::Sc24p2m, t_CoolHeavy::Sc33936, t_CoolHeavy::Sc42100, t_CoolHeavy::Sc43595, t_CoolHeavy::Sc45058, TauLines, and t_dense::xIonDense.
Referenced by CoolEvaluate().
void CoolSili | ( | void | ) |
Definition at line 16 of file cool_sili.cpp.
References atom_level2(), atom_level3(), atom_pop2(), atom_pop3(), atoms, AtomSeqBeryllium(), AtomSeqBoron(), TransitionList::begin(), t_sil::c1446, t_sil::c1815, t_sil::c1985, t_sil::c2148, t_sil::c583, t_sil::c691, t_sil::c949, t_dense::cdsqte, colden, CoolAdd(), DEBUG_ENTRY, dense, dprintf(), DumpLine(), t_dense::eden, t_embesq::em1895, embesq, fp_equal(), g, ioQQQ, ipHYDROGEN, ipSi10143, ipSi10_606, ipSi1_130m, ipSi1_68m, ipSi2_2329, ipSi2_2334, ipSi2_2336, ipSi2_2344, ipSi2_2350, ipSi619, ipSii2215, ipSii2518, ipT1207, ipT1260, ipT1305, ipT1394, ipT1403, ipT1527, ipT1808, ipT1895, ipTSi25, ipTSi3, ipTSi35, ipTSi4, ipTSi41, ipTSi499, ipTSi521, ipTSi65, ligbar(), LineConvRate2CS(), MakeCS(), MAX2, MIN2, nWindLine, phycon, t_atoms::PopLevels, pow(), PutCS(), t_colden::Si2Pops, sil, t_phycon::sqrte, TauDummy, TauLine2, TauLines, t_phycon::te, t_phycon::te0001, t_phycon::te0003, t_phycon::te001, t_phycon::te003, t_phycon::te01, t_phycon::te02, t_phycon::te03, t_phycon::te04, t_phycon::te05, t_phycon::te10, t_phycon::te20, t_phycon::te30, TotalInsanity(), and t_dense::xIonDense.
Referenced by CoolEvaluate().
void CoolSodi | ( | void | ) |
Definition at line 13 of file cool_sodi.cpp.
References atom_level2(), atom_level3(), atom_pop3(), t_CoolHeavy::c1357, t_CoolHeavy::c1365, t_CoolHeavy::c2067, t_CoolHeavy::c2569, t_CoolHeavy::c2972, t_CoolHeavy::c4017, CoolAdd(), CoolHeavy, DEBUG_ENTRY, dense, ipfsNa373, ipfsNa421, ipfsNa490, ipSODIUM, ipT5895, ipxNa0746, ipxNa6143, ipxNa6862, MAX2, MIN2, phycon, PutCS(), t_phycon::sqrte, TauDummy, TauLines, t_phycon::te001, t_phycon::te003, t_phycon::te01, t_phycon::te02, t_phycon::te03, t_phycon::te05, t_phycon::te10, t_phycon::te70, and t_dense::xIonDense.
Referenced by CoolEvaluate().
void CoolSulf | ( | void | ) |
Definition at line 20 of file cool_sulf.cpp.
References atom_level2(), atom_level3(), atom_pop3(), atom_pop5(), atoms, AtomSeqBeryllium(), AtomSeqBoron(), TransitionList::begin(), t_CoolHeavy::c10330, t_CoolHeavy::c6312, t_CoolHeavy::c6731, t_CoolHeavy::c9532, CoolAdd(), CoolHeavy, t_thermal::dCooldT, DEBUG_ENTRY, dense, dprintf(), DumpLine(), t_dense::eden, t_embesq::em1198, embesq, fp_equal(), g, ioQQQ, ipHYDROGEN, ipS1_25m, ipS1_56m, ipS4_1398, ipS4_1405, ipS4_1407, ipS4_1417, ipS4_1424, ipSULPHUR, ipT1194, ipT1198, ipT1256, ipT786, ipTS11, ipTS1720, ipTS19, ipTS34, LineConvRate2CS(), MAX2, MIN2, nWindLine, phycon, t_atoms::PopLevels, pow(), PutCS(), t_CoolHeavy::S10289, t_CoolHeavy::S10323, t_CoolHeavy::S10339, t_CoolHeavy::S10373, t_CoolHeavy::S4070, t_CoolHeavy::S4078, t_CoolHeavy::S6718, t_CoolHeavy::S6733, sii_cs(), siii_cs(), siv_cs(), TauDummy, TauLine2, TauLines, t_phycon::te, t_phycon::te003, t_phycon::te005, t_phycon::te03, t_phycon::te05, t_phycon::te10, t_phycon::te20, thermal, TotalInsanity(), and t_dense::xIonDense.
Referenced by CoolEvaluate().
void CoolSum | ( | double * | total | ) |
CoolSum total cooling from all entries into cooling stack
Definition at line 76 of file cool_etc.cpp.
References t_thermal::chClntLab, t_thermal::chCoolHeatMax, t_thermal::collam, t_thermal::coolheat, t_thermal::CoolHeatMax, t_thermal::cooling, t_thermal::ctot, dBaseSpecies, dBaseTrans, DEBUG_ENTRY, DumpLine(), t_thermal::heating, t_thermal::heatl, t_thermal::heatnt, t_thermal::htot, ioQQQ, t_thermal::lgCoolEvalOK, t_thermal::ncltot, NISO, nLevel1, nSpecies, nWindLine, TauLine2, TauLines, thermal, and t_thermal::wlCoolHeatMax.
Referenced by CoolEvaluate().
void CoolZero | ( | void | ) |
CoolZero set cooling and heating stack to zero
Definition at line 50 of file cool_etc.cpp.
References t_thermal::cooling, t_thermal::dCooldT, DEBUG_ENTRY, t_thermal::dHeatdT, t_thermal::dima, t_thermal::elementcool, t_thermal::heatnt, t_thermal::lgCoolEvalOK, LIMELM, t_thermal::ncltot, NCOLNT, and thermal.
Referenced by CoolEvaluate(), and zero().
double Fe3_cs | ( | long | ipLo, | |
long | ipHi | |||
) |
Definition at line 1036 of file cool_iron.cpp.
References ASSERT, and col_str.
Referenced by dBase_solve(), and Fe3Lev14().
double Fe4_cs | ( | long | ipLo, | |
long | ipHi | |||
) |
Definition at line 1159 of file cool_iron.cpp.
References ASSERT.
Referenced by dBase_solve(), and Fe4Lev12().
double Fe5_cs | ( | long | ipLo, | |
long | ipHi | |||
) |
Definition at line 1187 of file cool_iron.cpp.
References ASSERT, and col_str.
Referenced by dBase_solve().
void HeatSum | ( | void | ) |
HeatSum evaluate all heating agents to determine total heating for this zone, called at end of ionize
total number of neutral colliders (atoms & molecules)
Definition at line 33 of file heat_sum.cpp.
References ASSERT, t_CoolHeavy::brems_heat_total, called, cdEXIT, t_thermal::char_tran_heat, t_ionbal::CollIonRate_Ground, t_CoolHeavy::colmet, t_ionbal::CompRecoilHeatLocal, t_ionbal::CompRecoilHeatRate, conv, CoolHeavy, t_ionbal::CosRayHeatNeutralParticles, t_ionbal::CosRayHeatThermalElectrons, t_ionbal::CosRayIonRate, t_secondaries::csupra, t_secondaries::csupra_effic, t_thermal::ctot, t_FeII::ddT_Fe2_large_cool, DEBUG_ENTRY, molezone::den, dense, t_hmi::deriv_HeatH2Dexc_used, deut, GrainVar::dHeatdT, t_thermal::dHeatdT, diatoms, t_iso_sp::dLTot, t_dense::eden, t_dense::EdenTrue, EN1RYD, EXIT_FAILURE, t_ionbal::ExtraHeatRate, FAINT_HEAT, t_FeII::Fe2_large_heat, FeII, findspecieslocal(), fixit(), fp_equal(), t_dense::gas_phase, gv, t_hmi::H2_total, t_secondaries::HeatEfficPrimary, t_hmi::HeatH2Dexc_used, t_thermal::heating, t_thermal::heatl, t_thermal::heatnt, Heavy, hmi, t_thermal::htot, ionbal, t_dense::IonHigh, t_dense::IonLow, ioQQQ, ipARGON, ipCARBON, ipH_LIKE, ipHE_LIKE, ipHELIUM, ipHYDROGEN, ipKRYPTON, ipNEON, ipOXYGEN, iso_sp, t_secondaries::lgCSetOn, t_dense::lgElmtOn, t_trace::lgHeatBug, t_NumDeriv::lgNumDeriv, t_conv::lgSearch, t_trace::lgSecIon, t_secondaries::lgSecOFF, t_called::lgTalk, t_thermal::lgTemperatureConstant, t_trace::lgTrace, LIMELM, t_mole_global::list, MAX2, MIN2, mole, mole_global, t_thermal::ncltot, NISO, t_Heavy::nsShells, t_mole_global::num_calc, NumDeriv, nzone, t_ionbal::PairProducPhotoRate, t_ionbal::PhotoRate_Shell, phycon, pow(), PRT_DERIV, save, SDIV(), t_secondaries::SecExcitLya2PrimaryErg, t_secondaries::SecIon2PrimaryErg, secondaries, t_secondaries::SetCsupra, ShowMe(), SMALLFLOAT, t_mole_local::species, t_iso_sp::st, t_phycon::te, thermal, trace, t_ionbal::UTA_heat_rate, t_secondaries::x12tot, t_deuterium::xIonDense, t_dense::xIonDense, and t_ionbal::xNeutronHeatRate.
Referenced by ConvBase().
void HeatZero | ( | void | ) |
HeatZero zeroes out the heating array, called at start of ionize
Definition at line 928 of file heat_sum.cpp.
References DEBUG_ENTRY, t_thermal::heating, LIMELM, and thermal.
Referenced by ConvBase(), and zero().
void neiii_cs | ( | double & | neiii_cs3P13P0, | |
double & | neiii_cs3P23P1, | |||
double & | neiii_cs3P23P0, | |||
double & | neiii_cs3P1D2, | |||
double & | neiii_cs3P1S0 | |||
) |
Definition at line 251 of file cool_neon.cpp.
References DEBUG_ENTRY, phycon, t_phycon::sqrte, t_phycon::te, t_phycon::te0001, t_phycon::te0002, t_phycon::te0003, t_phycon::te0004, t_phycon::te0005, t_phycon::te0007, t_phycon::te001, t_phycon::te002, t_phycon::te003, t_phycon::te004, t_phycon::te005, t_phycon::te007, t_phycon::te01, t_phycon::te02, t_phycon::te03, t_phycon::te04, t_phycon::te05, t_phycon::te07, t_phycon::te10, t_phycon::te20, t_phycon::te30, t_phycon::te32, t_phycon::te40, t_phycon::te70, and t_phycon::te90.
Referenced by CoolNeon(), and CoolOxyg().
void oi_cs | ( | double & | cs3P23P1, | |
double & | cs3P23P0, | |||
double & | cs3P13P0, | |||
double & | cs3P1D2, | |||
double & | cs1D21S0, | |||
double & | cs3P1S0 | |||
) |
Definition at line 747 of file cool_oxyg.cpp.
References ConvRate2CS(), DEBUG_ENTRY, dense, ipHYDROGEN, MIN2, phycon, POW2, sexp(), t_phycon::sqrte, t_phycon::te, t_phycon::te0001, t_phycon::te0002, t_phycon::te0003, t_phycon::te0005, t_phycon::te0007, t_phycon::te001, t_phycon::te003, t_phycon::te004, t_phycon::te005, t_phycon::te007, t_phycon::te01, t_phycon::te02, t_phycon::te03, t_phycon::te04, t_phycon::te05, t_phycon::te10, t_phycon::te30, t_phycon::te32, t_phycon::te70, and t_dense::xIonDense.
Referenced by CoolOxyg().
void oi_othercs | ( | double & | csh01, | |
double & | cshe01, | |||
double & | csh201, | |||
double & | csh12, | |||
double & | cshe12, | |||
double & | csh212, | |||
double & | csh02, | |||
double & | cshe02, | |||
double & | csh202, | |||
double & | csh2o01, | |||
double & | csh2o02, | |||
double & | csh2o12, | |||
double & | csh2p01, | |||
double & | csh2p02, | |||
double & | csh2p12, | |||
double & | csp01, | |||
double & | csp02, | |||
double & | csp12 | |||
) |
Definition at line 865 of file cool_oxyg.cpp.
References DEBUG_ENTRY, dense, t_dense::EdenHCorr, h2, t_hmi::H2_total, hmi, ipHYDROGEN, MAX2, MIN2, diatomics::ortho_density, phycon, SDIV(), t_phycon::sqrte, t_phycon::te, t_phycon::te01, t_phycon::te02, t_phycon::te03, t_phycon::te05, t_phycon::te10, t_phycon::te20, t_phycon::te30, t_phycon::te32, t_phycon::te70, and t_dense::xIonDense.
Referenced by CoolOxyg().
void oii_cs | ( | double & | oii_cs4S32D5, | |
double & | oii_cs4S32D3, | |||
double & | oii_cs2D52D3, | |||
double & | oii_cs4S32P3, | |||
double & | oii_cs2D52P3, | |||
double & | oii_cs2D32P3, | |||
double & | oii_cs4S32P1, | |||
double & | oii_cs2D52P1, | |||
double & | oii_cs2D32P1, | |||
double & | oii_cs2P32P1, | |||
double & | oii_cs4S34P | |||
) |
Definition at line 1000 of file cool_oxyg.cpp.
References DEBUG_ENTRY, phycon, t_phycon::te0001, t_phycon::te0002, t_phycon::te0004, t_phycon::te0005, t_phycon::te001, t_phycon::te002, t_phycon::te003, t_phycon::te004, t_phycon::te007, t_phycon::te02, t_phycon::te03, t_phycon::te04, t_phycon::te07, and t_phycon::te10.
Referenced by CoolOxyg().
void oiii_cs | ( | double & | oiii_cs3P25S2, | |
double & | oiii_cs3P15S2, | |||
double & | oiii_cs3P05S2, | |||
double & | oiii_cs3P1D2, | |||
double & | oiii_cs1D21S0, | |||
double & | oiii_cs3P1S0, | |||
double & | oiii_cs3P03P1, | |||
double & | oiii_cs3P13P2, | |||
double & | oiii_cs3P03P2, | |||
double & | oiii_cs3P3D | |||
) |
Definition at line 1039 of file cool_oxyg.cpp.
References DEBUG_ENTRY, phycon, t_phycon::te, t_phycon::te0001, t_phycon::te0002, t_phycon::te0003, t_phycon::te0004, t_phycon::te0005, t_phycon::te0007, t_phycon::te001, t_phycon::te002, t_phycon::te003, t_phycon::te004, t_phycon::te005, t_phycon::te007, t_phycon::te01, t_phycon::te02, t_phycon::te03, t_phycon::te04, t_phycon::te05, t_phycon::te07, t_phycon::te10, and t_phycon::te20.
Referenced by CoolOxyg().
void oiv_cs | ( | double & | oiv_cs2P2D, | |
double & | oiv_cs2P12P3 | |||
) |
Definition at line 1182 of file cool_oxyg.cpp.
References t_phycon::alnte, DEBUG_ENTRY, MAX2, MIN2, phycon, t_phycon::sqrte, and t_phycon::te.
Referenced by CoolOxyg().
void ov_cs | ( | double & | ov_cs1S01P1, | |
double & | ov_cs1S03P | |||
) |
Definition at line 1214 of file cool_oxyg.cpp.
References DEBUG_ENTRY, MIN2, phycon, t_phycon::te, t_phycon::te003, t_phycon::te03, and t_phycon::te10.
Referenced by CoolOxyg().
void sii_cs | ( | double & | sii_cs4S32D3, | |
double & | sii_cs4S32D5, | |||
double & | sii_cs4S32P1, | |||
double & | sii_cs4S32P3, | |||
double & | sii_cs2D32D5, | |||
double & | sii_cs2D32P1, | |||
double & | sii_cs2D52P1, | |||
double & | sii_cs2D32P3, | |||
double & | sii_cs2D52P3, | |||
double & | sii_cs2P12P3, | |||
double & | sii_cs4S34P | |||
) |
Definition at line 337 of file cool_sulf.cpp.
References t_phycon::alogte, DEBUG_ENTRY, MAX2, MIN2, phycon, and pow().
Referenced by CoolOxyg(), and CoolSulf().
void siii_cs | ( | double & | siii_cs3P03P1, | |
double & | siii_cs3P03P2, | |||
double & | siii_cs3P01D2, | |||
double & | siii_cs3P01S0, | |||
double & | siii_cs3P13P2, | |||
double & | siii_cs3P11D2, | |||
double & | siii_cs3P11S0, | |||
double & | siii_cs3P21D2, | |||
double & | siii_cs3P21S0, | |||
double & | siii_cs1D21S0, | |||
double & | siii_cs3P3D, | |||
double & | siii_cs3P5S2 | |||
) |
Definition at line 434 of file cool_sulf.cpp.
References DEBUG_ENTRY, phycon, t_phycon::te, t_phycon::te001, t_phycon::te003, t_phycon::te01, t_phycon::te02, t_phycon::te05, t_phycon::te10, t_phycon::te20, and t_phycon::te30.
Referenced by CoolOxyg(), and CoolSulf().
void siv_cs | ( | double & | siv_cs2P12P3 | ) |
Definition at line 545 of file cool_sulf.cpp.
References DEBUG_ENTRY, MIN2, phycon, t_phycon::te, t_phycon::te01, and t_phycon::te10.
Referenced by CoolOxyg(), and CoolSulf().
void sviii_cs | ( | double & | sviii_cs2P32P1 | ) |
Definition at line 578 of file cool_sulf.cpp.
References DEBUG_ENTRY, phycon, t_phycon::te, t_phycon::te0002, t_phycon::te0004, t_phycon::te001, t_phycon::te004, t_phycon::te01, t_phycon::te04, t_phycon::te10, and t_phycon::te20.
Referenced by CoolOxyg().