#include "cddefines.h"
#include "physconst.h"
#include "hydrogenic.h"
#include "taulines.h"
#include "wind.h"
#include "coolheavy.h"
#include "radius.h"
#include "conv.h"
#include "h2.h"
#include "rt.h"
#include "doppvel.h"
#include "opacity.h"
#include "ionbal.h"
#include "dense.h"
#include "trace.h"
#include "dynamics.h"
#include "rfield.h"
#include "grainvar.h"
#include "atmdat.h"
#include "atoms.h"
#include "called.h"
#include "hmi.h"
#include "numderiv.h"
#include "magnetic.h"
#include "phycon.h"
#include "lines_service.h"
#include "hyperfine.h"
#include "iso.h"
#include "thermal.h"
#include "cooling.h"
#include "pressure.h"
Go to the source code of this file.
Defines | |
#define | N21CM_TE 16 |
#define | EPS 0.01 |
Functions | |
STATIC void | fndneg (void) |
STATIC void | fndstr (double tot, double dc) |
void | CoolEvaluate (double *tot) |
Variables | |
static const bool | PRT_DERIV = false |
#define EPS 0.01 |
Definition at line 994 of file cool_eval.cpp.
Referenced by dmpary(), fndneg(), fndstr(), iter_end_check(), and map_do().
#define N21CM_TE 16 |
Referenced by CoolEvaluate().
void CoolEvaluate | ( | double * | tot | ) |
CoolEvaluate main routine to call others, to evaluate total cooling
tot | total cooling |
Definition at line 44 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_hmi::chH2_small_model_type, chLabel, t_iso::cLya_cool, t_rfield::cmcool, transition::Coll, t_iso::coll_ion, t_CoolHeavy::colmet, t_rfield::ContBoltz, conv, t_collision::cool, t_dynamics::Cool(), CoolAdd(), CoolAlum(), CoolArgo(), CoolCalc(), CoolCarb(), CoolChlo(), CoolChro(), CoolCoba(), CoolDima(), t_thermal::CoolExtra, CoolFluo(), CoolHeavy, t_hyperfine::cooling_total, CoolIron(), CoolMagn(), CoolMang(), CoolNeon(), CoolNick(), CoolNitr(), CoolOxyg(), CoolPhos(), CoolPota(), CoolScan(), CoolSili(), CoolSodi(), CoolSulf(), CoolSum(), CoolTita(), CoolVana(), CoolZero(), CoolZinc(), t_thermal::ctot, t_CoolHeavy::cyntrn, t_hydro::D2H_ratio, dBase_solve(), t_dynamics::dCooldT(), t_thermal::dCooldT, DEBUG_ENTRY, dense, t_hmi::deriv_HeatH2Dexc_BD96, t_hmi::deriv_HeatH2Dexc_BHT90, t_hmi::deriv_HeatH2Dexc_BigH2, t_hmi::deriv_HeatH2Dexc_ELWERT, t_hmi::deriv_HeatH2Dexc_TH85, t_hmi::deriv_HeatH2Dexc_used, t_dynamics::dHeatdT, t_thermal::dHeatdT, dynamics, t_dense::eden, t_dense::EdenTrue, t_CoolHeavy::eebrm, EN1RYD, t_CoolHeavy::expans, 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(), H2_Cooling(), t_hmi::H2_total, t_CoolHeavy::h2line, t_CoolHeavy::H2PlsCool, t_hmi::h2plus_heat, t_thermal::halfte, t_CoolHeavy::HD, t_dynamics::Heat(), t_conv::HeatCoolRelErrorAllowed, t_hmi::HeatH2Dexc_BD96, t_hmi::HeatH2Dexc_BHT90, t_hmi::HeatH2Dexc_BigH2, t_hmi::HeatH2Dexc_ELWERT, t_hmi::HeatH2Dexc_TH85, t_hmi::HeatH2Dexc_used, t_hmi::HeatH2Dish_BD96, t_hmi::HeatH2Dish_BHT90, t_hmi::HeatH2Dish_BigH2, t_hmi::HeatH2Dish_ELWERT, t_hmi::HeatH2Dish_TH85, t_hmi::HeatH2Dish_used, t_thermal::heating, t_CoolHeavy::heavfb, t_hyperfine::HFLabundance, HFLines, transition::Hi, hmi, t_hmi::hmicol, t_hmi::hmihet, t_hmi::HMinus_photo_rate, t_hmi::Hmolec, t_thermal::htot, hydro, hyperfine, HyperfineCS(), ionbal, t_dense::IonHigh, t_dense::IonLow, t_quantumState::IonStg, ioQQQ, t_rfield::ipEnergyBremsThin, ipH1s, ipH_LIKE, ipHELIUM, t_opac::iphmra, ipHYDROGEN, ipLITHIUM, t_rfield::ipMaxBolt, ipMH2p, ipMH3p, ipMHeHp, ipMHm, iso, iso_cool(), iteration, GrainVar::lgBakesPAH_heat, Wind::lgBallistic(), t_hmi::lgBigH2_evaluated, t_thermal::lgCExtraOn, t_atmdat::lgChiantiOn, t_thermal::lgCNegChk, GrainVar::lgDHetOn, GrainVar::lgDustOn(), t_dense::lgElmtOn, t_CoolHeavy::lgFreeOn, GrainVar::lgGrainPhysicsOn, t_hmi::lgH2_Thermal_BigH2, t_h2::lgH2ON, t_dense::lgIonChiantiOn, lgMustPrintHeader, t_hmi::lgNoH2Mole, t_NumDeriv::lgNumDeriv, t_conv::lgSearch, t_called::lgTalk, t_thermal::lgTemperatureConstant, t_dynamics::lgTimeDependentStatic, t_trace::lgTrace, LIMELM, magnetic, MAX2, MIN2, N21CM_TE, t_dynamics::n_initial_relax, t_quantumState::nelem, t_rfield::nflux, nHFLines, NISO, t_conv::nPres2Ioniz, nSpecies, 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, SDIV(), sexp(), ShowMe(), SMALLFLOAT, Species, t_phycon::sqrte, StatesElemNEW, t_CoolHeavy::tccool, t_phycon::te, t_phycon::teinv, TempChange(), thermal, t_dynamics::timestep, TotalInsanity(), trace, t_dynamics::Upstream_hden, t_rfield::widflx, wind, Wind::windv, and t_dense::xIonDense.
Referenced by ConvBase(), RT_tau_inc(), and SaveLineData().
STATIC void fndneg | ( | void | ) |
Definition at line 997 of file cool_eval.cpp.
References t_thermal::chClntLab, t_thermal::collam, t_thermal::cooling, DEBUG_ENTRY, EPS, t_thermal::heatnt, t_thermal::htot, ioQQQ, t_thermal::ncltot, and thermal.
Referenced by CoolEvaluate().
STATIC void fndstr | ( | double | tot, | |
double | dc | |||
) |
Definition at line 1025 of file cool_eval.cpp.
References ASSERT, t_thermal::chClntLab, t_thermal::collam, t_thermal::cooling, coolpr(), t_thermal::ctot, DEBUG_ENTRY, dense, t_dense::eden, EPS, t_thermal::heating, t_thermal::heatnt, ioQQQ, t_trace::lgCoolTr, t_thermal::ncltot, NCOLNT_LAB_LEN, nzone, phycon, t_phycon::te, thermal, trace, and wl.
Referenced by CoolEvaluate().
const bool PRT_DERIV = false [static] |
Definition at line 42 of file cool_eval.cpp.
Referenced by CoolEvaluate().