cloudy
trunk
|
#include "cddefines.h"
#include "taulines.h"
#include "opacity.h"
#include "dense.h"
#include "iso.h"
#include "hmi.h"
#include "h2.h"
#include "rfield.h"
#include "conv.h"
#include "rt.h"
#include "heavy.h"
#include "he.h"
#include "trace.h"
#include "mole.h"
#include "freebound.h"
#include "two_photon.h"
#include "cosmology.h"
Go to the source code of this file.
Functions | |
STATIC void | RT_OTS_AddCont (realnum ots, long int ip) |
void | RT_OTS (void) |
void | RT_OTS_AddLine (double ots, long int ip) |
void | RT_OTS_Update (double *SumOTS) |
void | RT_OTS_Zero (void) |
void | RT_OTS_ChkSum (long int ipPnt) |
void | RT_OTS_PrtRate (double weak, int chFlag) |
Variables | |
static int | nOTS_Line_type = -1 |
static int | nOTS1 =-1 |
static int | nOTS2 =-1 |
void RT_OTS | ( | void | ) |
RT_OTS compute diffuse fields due to helium atom, metals, hydro done in HydroOTS
Definition at line 41 of file rt_ots.cpp.
References ASSERT, EmissionProxy::Aul(), dBaseSpecies, dBaseTrans, DEBUG_ENTRY, dense, DEST0, diatoms, t_dense::eden, t_dense::EdenTrue, TransitionProxy::Emis(), TransitionList::Emis(), t_opac::ExpmTau, t_iso_sp::fb, findspecieslocal(), fnzone, fprintf(), he, Heavy, hmi, t_hmi::HMinus_photo_rate, t_dense::IonHigh, ioQQQ, t_he::ip660, t_Heavy::ipBalHeavy, TransitionProxy::ipCont(), ipH1s, ipH2p, ipH_LIKE, ipHELIUM, ipHYDROGEN, t_Heavy::ipLyHeavy, ipRecEsc, ipRecRad, iso_sp, t_dense::lgElmtOn, t_rfield::lgHeIIOTS, t_rfield::lgLyaOTS, t_trace::lgTrace, LIMELM, MAX2, t_rfield::nflux, NISO, nOTS1, nOTS2, nOTS_Line_type, nSpecies, t_iso_sp::numLevels_local, nWindLine, nzone, opac, t_opac::opacity_abs, EmissionProxy::ots(), t_rfield::otscon, t_rfield::otslin, EmissionProxy::Pdest(), rfield, RT_OTS_AddCont(), RT_OTS_AddLine(), SMALLFLOAT, t_iso_sp::st, TauLine2, trace, t_iso_sp::trans(), t_dense::xIonDense, and t_Heavy::xLyaHeavy.
Referenced by ConvBase().
Definition at line 439 of file rt_ots.cpp.
References ASSERT, DEBUG_ENTRY, t_rfield::nflux, t_rfield::nflux_with_check, opac, t_opac::opacity_abs, t_rfield::otscon, and rfield.
Referenced by RT_OTS().
void RT_OTS_AddLine | ( | double | ots, |
long int | ip | ||
) |
RT_OTS_AddLine add local destruction of lines to ots field
ots | |
ip | pointer on the f scale |
Definition at line 390 of file rt_ots.cpp.
References ASSERT, DEBUG_ENTRY, fprintf(), ioQQQ, iteration, t_rfield::nflux, nOTS1, nOTS2, nOTS_Line_type, opac, t_opac::opacity_abs, t_rfield::otslin, and rfield.
Referenced by diatomics::H2_RT_OTS(), and RT_OTS().
void RT_OTS_ChkSum | ( | long int | ipPnt | ) |
RT_OTS_ChkSum sanity check confirms summed continua reflect contents of individuals
Definition at line 606 of file rt_ots.cpp.
References t_mesh::anu(), t_rfield::chContLabel, t_rfield::chLineLabel, t_rfield::ConInterOut, t_rfield::ConOTS_local_OTS_rate, DEBUG_ENTRY, t_rfield::flux, fprintf(), ioQQQ, t_rfield::ipEnergyBremsThin, t_rfield::lgOutOnly, t_rfield::nflux, t_rfield::otscon, t_rfield::otslin, t_rfield::outlin, t_rfield::outlin_noplot, rfield, t_rfield::SummedCon, t_rfield::SummedDif, and TotalInsanity().
Referenced by ConvPresTempEdenIoniz().
void RT_OTS_PrtRate | ( | double | weak, |
int | chFlag | ||
) |
RT_OTS_PrtRate print ots arrays, called by ionize
weak | arg is weakest rate to print |
chFlag | flag, 'c' continuum, 'l' line, 'b' both |
Definition at line 687 of file rt_ots.cpp.
References t_mesh::anu(), ASSERT, t_rfield::chContLabel, t_rfield::chLineLabel, conv, DEBUG_ENTRY, dense, fnzone, fprintf(), t_dense::gas_phase, ioQQQ, ipHELIUM, ipOXYGEN, t_conv::lgConvIoniz(), t_rfield::line_count, t_rfield::nflux_with_check, opac, t_opac::opacity_abs, t_rfield::otscon, t_rfield::otslin, rfield, TorF(), and t_dense::xIonDense.
Referenced by ConvBase().
void RT_OTS_Update | ( | double * | SumOTS | ) |
RTOTSUpdata sum flux, otscon, otslin, ConInterOut, outlin, to form SummeDif, SummedCon SummedOcc, int * is pointer to energy in continuum where this change happened,
SumOTS |
Definition at line 476 of file rt_ots.cpp.
References ASSERT, CalcTwoPhotonEmission(), t_rfield::ConInterOut, t_rfield::ConOTS_local_OTS_rate, t_rfield::ConOTS_local_photons, t_rfield::convoc, cosmology, DEBUG_ENTRY, dense, t_opac::ExpmTau, t_rfield::flux, t_rfield::flux_accum, t_dense::IonHigh, ipH_LIKE, t_rfield::ipPlasma, iso_ctrl, iso_sp, t_cosmology::lgDo, t_isoCTRL::lgInd2nu_On, t_rfield::lgInducProcess, t_rfield::lgKillOTSLine, t_rfield::lgOutOnly, LIMELM, MAX2, t_rfield::nflux, t_rfield::nflux_with_check, NISO, opac, t_opac::opacity_abs, t_rfield::otscon, t_rfield::otslin, t_rfield::outlin, t_rfield::outlin_noplot, rfield, t_rfield::setTrimming(), SMALLDOUBLE, t_rfield::SummedCon, t_rfield::SummedDif, t_rfield::SummedOcc, and t_iso_sp::TwoNu.
Referenced by ConvBase(), EdenError(), and IterRestart().
void RT_OTS_Zero | ( | void | ) |
zero these things out, called in zero
Definition at line 571 of file rt_ots.cpp.
References t_rfield::ConInterOut, t_rfield::ConOTS_local_OTS_rate, t_rfield::ConOTS_local_photons, t_rfield::convoc, DEBUG_ENTRY, t_rfield::flux, t_rfield::nflux, t_rfield::otscon, t_rfield::otslin, t_rfield::outlin, t_rfield::outlin_noplot, t_rfield::resetCoarseTransCoef(), rfield, t_rfield::setTrimming(), t_rfield::SummedCon, t_rfield::SummedDif, and t_rfield::SummedOcc.
Referenced by ContSetIntensity().
|
static |
Definition at line 31 of file rt_ots.cpp.
Referenced by RT_OTS(), and RT_OTS_AddLine().
|
static |
Definition at line 31 of file rt_ots.cpp.
Referenced by RT_OTS(), and RT_OTS_AddLine().
|
static |
Definition at line 30 of file rt_ots.cpp.
Referenced by RT_OTS(), and RT_OTS_AddLine().