/home66/gary/public_html/cloudy/c08_branch/source/rt.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  t_rt

Defines

#define DEST0   SMALLFLOAT
#define LINE_CONT_SHIELD_PESC   1
#define LINE_CONT_SHIELD_FEDERMAN   2
#define LINE_CONT_SHIELD_FERLAND   3

Functions

void RT_line_all (bool lgDoEsc, bool lgUpdateFineOpac)
double RT_line_driving (void)
void RT_line_one (transition *t, bool lgDoEsc, bool lgUpdateFineOpac, bool lgShield_this_zone)
double RT_continuum_shield_fcn (transition *t)
void RT_diffuse (void)
void RT_OTS (void)
void RT_OTS_AddLine (double ots, long int ip)
void RT_OTS_Update (double *SumOTS, double BigFrac)
void RT_OTS_Zero (void)
void RT_OTS_ChkSum (long int ipPnt)
void RT_line_one_tauinc (transition *t, long int mas_species, long int mas_ion, long int mas_hi, long int mas_lo)
void RT_tau_init (void)
void RT_line_one_tau_reset (transition *t, double f1)
void RT_tau_reset (void)
void RT_tau_inc (void)
void RT_OTS_PrtRate (double weak, int chFlag)
double esc_PRD_1side (double tau, double a)
double esc_CRDwing_1side (double tau, double a)
double RTesc_lya (double *esin, double *dest, double abund, long int ipZ)
double esc_CRDwing (double tau, double tout, double damp)
double esc_CRDcore (double tau, double tout)
double esc_PRD (double tau, double tout, double damp)
double esca0k2 (double taume)
double esccon (double tau, double hnukt)
double escConE2 (double x)
double RT_DestProb (double abund, double crsec, long int ipanu, double widl, double escp, int nCore)
double RT_LineWidth (const transition *t)
double RT_DestHummer (double beta)
double RT_recom_effic (long int ip)
void RT_stark (void)

Variables

EXTERN struct t_rt rt


Define Documentation

#define DEST0   SMALLFLOAT

DEST0 is the smallest destruction probability to return in high metallicity models

Definition at line 237 of file rt.h.

Referenced by RT_OTS(), and RTesc_lya_1side().

#define LINE_CONT_SHIELD_FEDERMAN   2

Definition at line 297 of file rt.h.

Referenced by InitDefaultsPreparse(), ParseSet(), and RT_continuum_shield_fcn().

#define LINE_CONT_SHIELD_FERLAND   3

Definition at line 298 of file rt.h.

Referenced by ParseSet(), and RT_continuum_shield_fcn().

#define LINE_CONT_SHIELD_PESC   1

these are all possible values of rt.nLineContShield, first is default, these are set with set continuum shielding

Definition at line 296 of file rt.h.

Referenced by ParseSet(), and RT_continuum_shield_fcn().


Function Documentation

double esc_CRDcore ( double  tau,
double  tout 
)

esc_CRDcore escape probability CRD with no wings, for subordinate lines

Parameters:
tau 
tout 

Definition at line 315 of file rt_escprob.cpp.

References ASSERT, DEBUG_ENTRY, esca0k2(), t_rt::fracin, iteration, MIN2, rt, SCALE, t_rt::wayin, and t_rt::wayout.

Referenced by RT_line_static().

Here is the call graph for this function:

double esc_CRDwing ( double  tau,
double  tout,
double  damp 
)

esc_CRDwing escape probability CRD with wings, for subordinate lines

Parameters:
tau 
tout 
damp 

Definition at line 261 of file rt_escprob.cpp.

References ASSERT, DEBUG_ENTRY, esc_CRDwing_1side(), t_rt::fracin, iteration, MIN2, rt, SCALE, t_rt::wayin, and t_rt::wayout.

Referenced by RT_line_static().

Here is the call graph for this function:

double esc_CRDwing_1side ( double  tau,
double  a 
)

esc_CRDwing_1side fundamental escape probability radiative transfer routine, for complete redistribution

Definition at line 95 of file rt_escprob.cpp.

References DEBUG_ENTRY, esca0k2(), and SQRTPI.

Referenced by DrvEscP(), esc_CRDwing(), and RT_continuum_shield_fcn().

Here is the call graph for this function:

double esc_PRD ( double  tau,
double  tout,
double  damp 
)

esc_PRD escape probability radiative transfer for incomplete redistribution

Parameters:
tau 
tout 
damp 

Definition at line 218 of file rt_escprob.cpp.

References ASSERT, DEBUG_ENTRY, esc_PRD_1side(), t_rt::fracin, iteration, rt, SCALE, t_rt::wayin, and t_rt::wayout.

Referenced by RT_line_static().

Here is the call graph for this function:

double esc_PRD_1side ( double  tau,
double  a 
)

esc_PRD_1side fundamental escape probability radiative transfer routine for incomplete redistribution

Parameters:
tau 
a 

Definition at line 42 of file rt_escprob.cpp.

References ASSERT, DEBUG_ENTRY, escmase(), MIN2, and rt.

Referenced by DrvEscP(), esc_PRD(), hmole_reactions(), lines_lv1_k_zn(), RT_continuum_shield_fcn(), and RT_LineWidth().

Here is the call graph for this function:

double esca0k2 ( double  taume  ) 

esca0k2 derive Hummer's K2 escape probability for Doppler core only

Parameters:
taume 

Definition at line 368 of file rt_escprob.cpp.

References DEBUG_ENTRY, escmase(), and SQRTPI.

Referenced by DrvEscP(), esc_CRDcore(), esc_CRDwing_1side(), RT_continuum_shield_fcn(), and th85rate_co().

Here is the call graph for this function:

double esccon ( double  tau,
double  hnukt 
)

escpcn continuum escape probability

Parameters:
tau 
hnukt 

Definition at line 582 of file rt_escprob.cpp.

References chnukt_ContTkt, chnukt_ctau, conrec(), DEBUG_ENTRY, escConE2(), and qg32().

Referenced by RT_recom_effic().

Here is the call graph for this function:

double escConE2 ( double  x  ) 

conesc one of the forms of the continuum escape probability

Parameters:
x 

Definition at line 516 of file rt_escprob.cpp.

References chnukt_ContTkt, chnukt_ctau, cone2(), and DEBUG_ENTRY.

Referenced by esccon().

Here is the call graph for this function:

double RT_continuum_shield_fcn ( transition t  ) 

rt_continuum_shield_fcn computing continuum shielding due to single line

Parameters:
t 

Definition at line 14 of file rt_continuum_shield_fcn.cpp.

References ASSERT, conpmp(), t_emission::damp, DEBUG_ENTRY, t_transition::Emis, esc_CRDwing_1side(), esc_PRD_1side(), esca0k2(), ipCRD, ipCRDW, ipLY_A, ipPRD, t_emission::iRedisFun, LINE_CONT_SHIELD_FEDERMAN, LINE_CONT_SHIELD_FERLAND, LINE_CONT_SHIELD_PESC, MIN2, t_rt::nLineContShield, POW2, rt, SDIV(), sexp(), t_emission::TauCon, and TotalInsanity().

Referenced by RT_line_static().

Here is the call graph for this function:

double RT_DestHummer ( double  beta  ) 

Parameters:
beta beta is ratio of continuum to mean line opacity,
Returns:
dest prob = beta F(beta)

Definition at line 981 of file rt_escprob.cpp.

References ASSERT, and DEBUG_ENTRY.

double RT_DestProb ( double  abund,
double  crsec,
long int  ipanu,
double  widl,
double  escp,
int  nCore 
)

RT_DestProb returns line destruction probability due to continuum opacity

Parameters:
abund abundance of species
crsec its line absorption cross section
ipanu pointer to energy within continuum array, to get background opacity, this is on the f not c scale
widl line width
escp escape probability
nCore type of redistribution function

Todo:
2 this min is because there are no calculations that show what to do for beta beyound this value

Definition at line 722 of file rt_escprob.cpp.

References t_opac::albedo, t_rfield::anu, ASSERT, cdEXIT, conv, DEBUG_ENTRY, fp_equal(), ioQQQ, ipDEST_INCOM, ipDEST_K2, ipDEST_SIMPL, ipH1s, ipH2p, ipH_LIKE, ipHYDROGEN, MIN2, t_rfield::nflux, t_conv::nTotalIoniz, nzone, opac, t_opac::opacity_abs, POW2, rfield, SQRTPI, and Transitions.

Referenced by RT_line_static().

Here is the call graph for this function:

void RT_diffuse ( void   ) 

RT_diffuse fill in DiffCont array with diffuse emission for this zone

Todo:
2 This doesn't really seem to be the expression above!!!

Todo:
2 should use ConEmitLocal for all continua, but not followed by DiffuseEscape - put that at the end. Once continua all bundled this way, it will be easy to save them as a function of depth and then do exact rt

Todo:
2 Replace this constant with the appropriate macro, if any

Todo:
2 add fegrain to outward beams, but within main formalism by including grains in all x-ray processes

Definition at line 34 of file rt_diffuse.cpp.

References t_rfield::anu, t_rfield::anu2, t_iso::As2nu, ASSERT, t_radius::BeamInIn, t_radius::BeamInOut, t_radius::BeamOutOut, t_iso::CaseBCheck, t_rfield::ConEmitLocal, t_rfield::ConOTS_local_photons, DEBUG_ENTRY, dense, t_dense::eden, t_dense::IonHigh, ipH_LIKE, ipHe2s3S, ipHE_LIKE, t_iso::ipIsoLevNIonCon, t_iso::ipOpac, ipRecEsc, t_iso::ipSym2nu, t_iso::ipTwoPhoE, iso, lgAbort, t_iso::lgInd2nu_On, LIMELM, MALLOC, MAX2, MILNE_CONST, t_rfield::nflux, NISO, t_iso::numLevels_local, t_rfield::nupper, nzone, opac, t_opac::OpacStack, t_rfield::outlin, phycon, radius, t_iso::RadRec_caseB, t_iso::RadRecomb, t_rfield::reflin, rfield, RYD_INF, SEXP_LIMIT, t_phycon::sqrte, t_iso::stat_ion, StatesElem, t_rfield::SummedOcc, t_phycon::te, t_phycon::te_ryd, t_opac::tmn, t_rfield::TotDiff2Pht, Transitions, TwoS, t_rfield::widflx, t_dense::xIonDense, and t_iso::xIsoLevNIonRyd.

Referenced by AGN_Hemis(), and cloudy().

void RT_line_all ( bool  lgDoEsc,
bool  lgUpdateFineOpac 
)

MakeRT drive static or wind metal line radiative transfer, if argument is true then do both escape and destruction probabilities, if false only update destruction probabilities. routine only called by cloudy(true) and ConvBase(false)

Parameters:
lgDoEsc this is true if we want to do both escape and destruction probabilities, and false if only destruction probabilities are needed
lgUpdateFineOpac flag saying whether to update fine opacities

Definition at line 23 of file rt_line_all.cpp.

References atmdat_2phot_rate(), conv, DEBUG_ENTRY, dense, t_DoppVel::doppler, DoppVel, t_radius::drad_x_fillfac_mean, t_opac::ExpmTau, ExtraLymanLines, t_rfield::fine_opac_velocity_width, t_rfield::fine_opac_zone, fnzone, t_dense::IonHigh, ioQQQ, t_rfield::ipFineConVelShift, ipH_LIKE, iso, t_opac::lgCaseB_no_pdest, t_rfield::lgDoLineTrans, t_dense::lgElmtOn, t_rfield::lgFine_opac_update, t_conv::lgIonStageTrimed, t_trace::lgTrace, LIMELM, t_rfield::nfine, NISO, t_iso::nLyaLevel, t_iso::nLyman, t_conv::nPres2Ioniz, t_iso::numLevels_local, t_iso::numLevels_max, opac, t_opac::opacity_abs, radius, rfield, RT_line_one(), RT_stark(), SDIV(), SMALLFLOAT, StatesElem, trace, Transitions, wind, t_wind::windv, t_wind::windv0, and t_dense::xIonDense.

Referenced by cloudy(), and RT_tau_inc().

Here is the call graph for this function:

double RT_line_driving ( void   ) 

rt_line_driving radiative acceleration due to line absorption of incident continuum returns line radiative acceleration cm s-2

Definition at line 16 of file rt_line_driving.cpp.

References DEBUG_ENTRY, dense, t_dense::IonHigh, ipH_LIKE, iso, LIMELM, NISO, t_iso::numLevels_local, SatelliteLines, Transitions, and t_dense::xIonDense.

void RT_line_one ( transition t,
bool  lgDoEsc,
bool  lgUpdateFineOpac,
bool  lgShield_this_zone 
)

RT_line_one do line radiative transfer

Parameters:
t 
lgDoEsc the logical variable says whether to do the escape probabilities too (true) or just the destruction probabilities (false)
lgUpdateFineOpac 
lgShield_this_zone this is option to not include line self shielding across this zone. this can cause pump to depend on zone thickness, and leads to unstable feedback in some models with the large H2 molecule, due to Solomon process depending on zone thickness and level populations.

Definition at line 35 of file rt_line_one.cpp.

References ASSERT, cdEXIT, conv, t_emission::damp, DEBUG_ENTRY, t_radius::depth_x_fillfac, t_DoppVel::doppler, DoppVel, t_transition::Emis, t_rfield::fine_opac_velocity_width, t_rfield::fine_opac_zone, t_transition::Hi, ioQQQ, t_emission::ipFine, t_rfield::ipFineConVelShift, ipLY_A, t_emission::iRedisFun, t_rfield::lgDoLineTrans, t_rfield::lgOpacityFine, t_transition::Lo, MAX2, MIN2, t_quantumState::nelem, t_rfield::nfine, t_conv::nTotalIoniz, nzone, t_emission::opacity, t_quantumState::Pop, t_emission::PopOpc, POW2, radius, rfield, RT_line_static(), sexp(), and SMALLFLOAT.

Referenced by FeII_RT_Make(), H2_RTMake(), and RT_line_all().

Here is the call graph for this function:

void RT_line_one_tau_reset ( transition t,
double  f1 
)

RT_line_one_tau_reset computes average of old and new optical depths for new scale at end of iter

Parameters:
t 
f1 

Definition at line 12 of file rt_line_one_tau_reset.cpp.

References chLineLbl(), t_transition::Coll, t_collision::cool, DEBUG_ENTRY, t_rt::DoubleTau, t_transition::Emis, t_emission::FracInwd, geometry, t_collision::heat, t_transition::Hi, ioQQQ, t_transition::ipCont, iteration, t_prt::lgPrtMaser, t_geometry::lgSphere, t_geometry::lgStatic, t_transition::Lo, MAX2, MIN2, opac, t_emission::Pdest, t_emission::Pelec_esc, t_emission::Pesc, t_emission::phots, t_quantumState::Pop, t_emission::PopOpc, prt, rt, t_emission::TauCon, t_emission::TauIn, t_opac::taumin, t_emission::TauTot, and t_emission::xIntensity.

Referenced by FeII_RT_tau_reset(), H2_RT_tau_reset(), and RT_tau_reset().

Here is the call graph for this function:

void RT_line_one_tauinc ( transition t,
long int  mas_species,
long int  mas_ion,
long int  mas_hi,
long int  mas_lo 
)

RT_line_one_tauinc increment optical depths for all heavy element lines, zone by zone

Parameters:
t 
mas_species 
mas_ion 
mas_hi 
mas_lo 

Definition at line 13 of file rt_line_one_tauinc.cpp.

References t_wind::AccelTot, DEBUG_ENTRY, t_radius::depth, t_DoppVel::doppler, DoppVel, t_radius::drad_x_fillfac, t_rt::dTauMase, t_transition::Emis, t_geometry::FillFac, t_rfield::fine_opac_zone, geometry, t_transition::Hi, t_emission::ipFine, t_rfield::ipFineConVelShift, t_rt::lgMaserCapHit, t_rfield::lgOpacityFine, t_rt::mas_hi, t_rt::mas_ion, t_rt::mas_lo, t_rt::mas_species, MIN2, t_quantumState::nelem, t_rfield::nfine, t_emission::opacity, t_emission::PopOpc, radius, rfield, rt, SDIV(), t_emission::TauCon, t_emission::TauIn, t_emission::TauTot, wind, and t_wind::windv.

Referenced by FeII_RT_TauInc(), H2_RT_tau_inc(), and RT_tau_inc().

Here is the call graph for this function:

double RT_LineWidth ( const transition t  ) 

RT_LineWidth compute line width (cm/sec), using optical depth array information

Parameters:
t 

Todo:
1 dynamics; this test assumes that neg vel are subsonic, so that sobolev length would overestimate the optical depth, since ion is at most present over computed slab, and possibly more.

Todo:
1 rewrite so that this checks on size not sign of windv

Definition at line 866 of file rt_escprob.cpp.

References ASSERT, t_emission::damp, DEBUG_ENTRY, dense, t_DoppVel::doppler, DoppVel, t_dense::eden, t_transition::Emis, esc_PRD_1side(), t_transition::Hi, iteration, t_pressure::lgPradDen, MAX2, MIN2, t_quantumState::nelem, opac, t_emission::Pdest, t_emission::Pelec_esc, PI, pressure, t_emission::TauIn, t_opac::taumin, t_emission::TauTot, wind, t_wind::windv, and t_wind::windv0.

Referenced by PressureRadiationLine().

Here is the call graph for this function:

void RT_OTS ( void   ) 

RT_OTS compute diffuse fields due to helium atom, metals, hydro done in HydroOTS

Todo:
2 should also check whether IonLo is in bounds - in func_set_ion test He0 is set to zero, so this does not do anything. as NISO grows this will become larger waste of time

Definition at line 39 of file rt_ots.cpp.

References ASSERT, BOWEN, DEBUG_ENTRY, dense, DEST0, t_dense::eden, t_dense::EdenTrue, fnzone, he, hmi, t_hmi::HMinus_photo_rate, t_hmi::Hmolec, t_dense::IonHigh, ioQQQ, t_he::ip660, ipH1s, ipH2p, ipH_LIKE, ipHELIUM, ipHYDROGEN, t_iso::ipIsoLevNIonCon, ipMHm, ipRecEsc, ipRecRad, iso, t_dense::lgElmtOn, t_rfield::lgHeIIOTS, t_rfield::lgLyaOTS, LIMELM, MAX2, NISO, nOTS1, nOTS2, nOTS_Line_type, t_iso::numLevels_local, nzone, opac, t_opac::opacity_abs, t_rfield::otscon, t_rfield::otsconNew, t_rfield::otslin, t_rfield::otslinNew, t_iso::RadRecomb, rfield, RT_OTS_AddCont(), RT_OTS_AddLine(), SMALLFLOAT, StatesElem, Transitions, and t_dense::xIonDense.

Here is the call graph for this function:

void RT_OTS_AddLine ( double  ots,
long int  ip 
)

RT_OTS_AddLine add local destruction of lines to ots field

Parameters:
ots 
ip pointer on the f scale

Definition at line 412 of file rt_ots.cpp.

References ASSERT, DEBUG_ENTRY, ioQQQ, iteration, t_rfield::nflux, nOTS1, nOTS2, nOTS_Line_type, opac, t_opac::opacity_abs, t_rfield::otslinNew, and rfield.

Referenced by atom_level3(), CO_OTS(), FeII_OTS(), 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 954 of file rt_ots.cpp.

References t_rfield::anu, t_rfield::chContLabel, t_rfield::chLineLabel, t_rfield::ConInterOut, t_rfield::ConOTS_local_OTS_rate, DEBUG_ENTRY, t_rfield::flux, ioQQQ, t_rfield::ipEnergyBremsThin, t_rfield::lgOutOnly, LIM_INSAME_PRT, 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().

Here is the call graph for this function:

void RT_OTS_PrtRate ( double  weak,
int  chFlag 
)

RT_OTS_PrtRate print ots arrays, called by ionize

Parameters:
weak arg is weakest rate to print
chFlag flag, 'c' continuum, 'l' line, 'b' both

Definition at line 1035 of file rt_ots.cpp.

References t_rfield::anu, ASSERT, t_rfield::chContLabel, conv, DEBUG_ENTRY, fnzone, ioQQQ, t_conv::lgConvIoniz, t_rfield::nupper, opac, t_opac::opacity_abs, t_rfield::otscon, rfield, and TorF().

Here is the call graph for this function:

void RT_OTS_Update ( double *  SumOTS,
double  BigFrac 
)

RTOTSUpdata sum flux, otscon, otslin, ConInterOut, outlin, to form SummeDif, SummedCon SummedOcc, int * is pointer to energy in continuum where this change happened,

Parameters:
BigFrac is largest relative change in ots allowed, 0 for no cap
SumOTS 
Returns:
sum of ots rates

Definition at line 534 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::lgKillOTSLine, t_rfield::lgOutOnly, MALLOC, MAX2, t_rfield::nflux, t_rfield::nupper, nzone, opac, t_opac::opacity_abs, t_rfield::otscon, t_rfield::otsconNew, t_rfield::otslin, t_rfield::otslinNew, t_rfield::outlin, t_rfield::outlin_noplot, rfield, SMALLDOUBLE, t_rfield::SummedCon, t_rfield::SummedDif, and t_rfield::SummedOcc.

void RT_OTS_Zero ( void   ) 

zero these things out, called in zero

Definition at line 918 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::otsconNew, t_rfield::otslin, t_rfield::otslinNew, t_rfield::outlin, t_rfield::outlin_noplot, rfield, t_rfield::SummedCon, t_rfield::SummedDif, t_rfield::SummedOcc, t_rfield::trans_coef_total, and t_rfield::trans_coef_zone.

double RT_recom_effic ( long int  ip  ) 

rt_recom_effic generate escape probability function for continua,

Parameters:
ip 

Definition at line 11 of file rt_recom_effic.cpp.

References t_rfield::anu, ASSERT, cdEXIT, t_rfield::chDffTrns, t_rfield::ContBoltz, DEBUG_ENTRY, t_opac::E2TauAbsFace, esccon(), t_opac::ExpZone, ioQQQ, iteration, MAX2, MIN2, t_rfield::nflux, t_rfield::nupper, opac, t_opac::otsmin, phycon, rfield, SMALLFLOAT, t_opac::TauAbsGeo, t_phycon::te, TE1RYD, and t_opac::tmn.

Here is the call graph for this function:

void RT_stark ( void   ) 

rt_stark compute stark broadening escape probabilities using Puetter formalism

Todo:
2 - Stark is disabled for now since Lya escape causes density dependent feedback on the radiative transfer. Would need to redo the escape probs every time the electron density is updated - see blr89.in for an example

Definition at line 12 of file rt_stark.cpp.

References DEBUG_ENTRY, dense, t_dense::eden, ipH_LIKE, iso, t_dense::lgElmtOn, t_rt::lgStarkON, LIMELM, NISO, t_iso::numLevels_max, nzone, t_iso::pestrk, and rt.

Referenced by RT_line_all().

void RT_tau_inc ( void   ) 

RT_tau_inc increment optical depths once per zone, called after radius_increment

Definition at line 21 of file rt_tau_inc.cpp.

References t_rfield::ContBoltz, DEBUG_ENTRY, dense, t_dense::density_low_limit, t_radius::drad_x_fillfac, t_rt::dTauMase, t_dense::eden, ExtraLymanLines, hmi, t_hmi::hmidep, t_hmi::Hmolec, t_dense::IonHigh, ioQQQ, ipH_LIKE, t_hmi::iphmin, ipMHm, iso, t_iso::lgDielRecom, t_trace::lgTrace, LIMELM, t_rt::mas_hi, t_rt::mas_ion, t_rt::mas_lo, t_rt::mas_species, NISO, t_iso::nLyman, t_iso::numLevels_local, t_iso::numLevels_max, opac, radius, rfield, rt, RT_line_all(), RT_line_one_tauinc(), SatelliteLines, StatesElem, t_opac::telec, t_opac::thmin, trace, Transitions, and t_dense::xIonDense.

Referenced by cloudy().

Here is the call graph for this function:

void RT_tau_init ( void   ) 

RT_tau_init set initial outward optical depths at start of first iteration

Definition at line 29 of file rt_tau_init.cpp.

References ASSERT, DEBUG_ENTRY, dense, t_dense::eden, ExtraLymanLines, ipH_LIKE, iso, t_iso::lgDielRecom, t_dense::lgElmtOn, LIMELM, NISO, t_iso::nLyman, t_iso::numLevels_max, SatelliteLines, Transitions, and TransitionZero().

Referenced by cloudy().

Here is the call graph for this function:

void RT_tau_reset ( void   ) 

RT_tau_reset update total optical depth scale, called after iteration is complete

Definition at line 22 of file rt_tau_reset.cpp.

References colden, t_colden::colden, t_colden::colden_old, COmole, DEBUG_ENTRY, dense, ExtraLymanLines, ioQQQ, ipH_LIKE, t_trace::ipIsoTrace, iso, iteration, t_iso::lgDielRecom, t_dense::lgElmtOn, t_trace::lgHBug, t_trace::lgIsoTraceFull, t_trace::lgTrace, LIMELM, mole, NCOLD, NISO, t_iso::nLyaLevel, t_iso::nLyman, t_mole::num_comole_calc, t_iso::numLevels_max, opac, RT_line_one_tau_reset(), SatelliteLines, StatesElem, t_opac::taumin, t_opac::telec, t_opac::thmin, t_opac::tpcah, trace, and Transitions.

Referenced by cloudy().

Here is the call graph for this function:

double RTesc_lya ( double *  esin,
double *  dest,
double  abund,
long int  ipZ 
)

RTesc_lya escape prob for hydrogen atom Lya, using Hummer and Kunasz results

Parameters:
*esin 
*dest 
abund 
ipZ 0 for H,

Definition at line 122 of file rt_escprob.cpp.

References ASSERT, DEBUG_ENTRY, t_DoppVel::doppler, DoppVel, t_rt::fracin, ipH1s, ipH2p, ipH_LIKE, LIMELM, MAX2, MIN2, opac, t_opac::opacity_abs, rt, RTesc_lya_1side(), SQRTPI, Transitions, t_rt::wayin, and t_rt::wayout.

Referenced by RT_line_static().

Here is the call graph for this function:


Variable Documentation

EXTERN struct t_rt rt

Referenced by ConvIterCheck(), esc_CRDcore(), esc_CRDwing(), esc_PRD(), esc_PRD_1side(), InitDefaultsPreparse(), lindst(), lines(), lines_general(), ParseDont(), ParseSet(), PutLine(), radius_next(), RT_continuum_shield_fcn(), RT_line_one_tau_reset(), RT_line_one_tauinc(), RT_line_static(), RT_stark(), RT_tau_inc(), and RTesc_lya().


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