/home66/gary/public_html/cloudy/c13_branch/source/cool_eval.cpp File Reference

#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 "mole.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"
Include dependency graph for cool_eval.cpp:

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 Documentation

#define EPS   0.01

Definition at line 1082 of file cool_eval.cpp.

Referenced by dmpary(), fndneg(), fndstr(), iter_end_check(), and map_do().

#define N21CM_TE   16

Referenced by CoolEvaluate().


Function Documentation

void CoolEvaluate ( double *  tot  ) 

CoolEvaluate main routine to call others, to evaluate total cooling

Parameters:
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().

STATIC void fndneg ( void   ) 
STATIC void fndstr ( double  tot,
double  dc 
)

Variable Documentation

const bool PRT_DERIV = false [static]

Definition at line 43 of file cool_eval.cpp.

Referenced by CoolEvaluate().

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Nov 2012 for cloudy by  doxygen 1.6.1