/home66/gary/public_html/cloudy/c08_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 "opacity.h"
#include "ionbal.h"
#include "dense.h"
#include "trace.h"
#include "dynamics.h"
#include "rfield.h"
#include "grainvar.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 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 935 of file cool_eval.cpp.

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

#define N21CM_TE   16


Function Documentation

void CoolEvaluate ( double *  tot  ) 

CoolEvaluate main routine to call others, to evaluate total cooling

Definition at line 40 of file cool_eval.cpp.

References t_phycon::alogte, ASSERT, 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, t_CoolHeavy::C12O16Rot, t_CoolHeavy::C13O16Rot, t_thermal::char_tran_cool, t_hmi::chH2_small_model_type, t_rfield::ContBoltz, conv, CoolAdd(), CoolHeavy, CoolZero(), t_thermal::ctot, t_hydro::D2H_ratio, t_CoolHeavy::dC12O16Rot, t_CoolHeavy::dC13O16Rot, 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_thermal::dHeatdT, t_dense::eden, t_dense::EdenTrue, fnzone, t_gv::GasCoolColl, t_gv::GasHeatPhotoEl, t_gv::GasHeatTherm, t_rfield::gff, gv, h2, H2_Cooling(), t_hmi::H2_total, t_CoolHeavy::h2line, t_CoolHeavy::H2PlsCool, t_hmi::h2plus_heat, t_CoolHeavy::HD, 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, hmi, t_hmi::hmicol, t_hmi::hmihet, t_hmi::HMinus_photo_rate, t_hmi::Hmolec, t_thermal::htot, hydro, ioQQQ, t_rfield::ipEnergyBremsThin, ipH1s, ipH_LIKE, t_opac::iphmra, ipHYDROGEN, t_rfield::ipMaxBolt, ipMHm, iso_cool(), iteration, t_gv::lgBakesPAH_heat, t_hmi::lgBigH2_evaluated, t_gv::lgDHetOn, t_gv::lgDustOn, t_gv::lgGrainPhysicsOn, t_hmi::lgH2_Thermal_BigH2, t_h2::lgH2ON, t_hmi::lgNoH2Mole, t_conv::lgSearch, t_trace::lgTrace, LIMELM, MAX2, MIN2, t_rfield::nflux, NISO, t_conv::nPres2Ioniz, t_rfield::nupper, nzone, opac, t_opac::OpacStack, phycon, POW2, PRT_DERIV, rfield, SDIV(), sexp(), SMALLFLOAT, t_phycon::sqrte, StatesElem, t_phycon::te, t_phycon::teinv, TempChange(), thermal, TotalInsanity(), trace, t_rfield::widflx, and t_dense::xIonDense.

Here is the call graph for this function:

STATIC void fndneg ( void   ) 

Definition at line 938 of file cool_eval.cpp.

References t_thermal::chClntLab, t_thermal::collam, t_thermal::cooling, DEBUG_ENTRY, EPS, t_thermal::heatnt, t_thermal::htot, t_thermal::ncltot, and thermal.

STATIC void fndstr ( double  tot,
double  dc 
)

Definition at line 966 of file cool_eval.cpp.

References ASSERT, t_thermal::chClntLab, t_thermal::collam, t_thermal::cooling, DEBUG_ENTRY, t_thermal::ncltot, NCOLNT_LAB_LEN, thermal, and wl.


Variable Documentation

const bool PRT_DERIV = false [static]

Definition at line 38 of file cool_eval.cpp.

Referenced by CoolEvaluate().


Generated on Mon Feb 16 12:04:46 2009 for cloudy by  doxygen 1.4.7