/home66/gary/public_html/cloudy/c10_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 (void)
double RT_line_driving (void)
void RT_line_one (transition *t, bool lgShield_this_zone, realnum pestrk, realnum DopplerWidth)
double RT_continuum_shield_fcn (transition *t)
void RT_diffuse (void)
void RT_continuum (void)
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_line_one_tauinc (transition *t, long int mas_species, long int mas_ion, long int mas_hi, long int mas_lo, realnum DopplerWidth)
void RT_tau_init (void)
void RT_line_one_tau_reset (transition *t)
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, realnum DopplerWidth)
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 RT_DestProb (double abund, double crsec, long int ipanu, double widl, double escp, int nCore)
double RT_LineWidth (const transition *t, realnum DopplerWidth)
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 226 of file rt.h.

Referenced by RT_OTS(), and RTesc_lya_1side().

#define LINE_CONT_SHIELD_FEDERMAN   2

Definition at line 286 of file rt.h.

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

#define LINE_CONT_SHIELD_FERLAND   3

Definition at line 287 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 285 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 339 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_escape().

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 285 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_escape().

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 116 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 240 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_escape().

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 63 of file rt_escprob.cpp.

References ASSERT, DEBUG_ENTRY, escmase(), MIN2, pow(), 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 392 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 527 of file rt_escprob.cpp.

References my_Integrand_escConE2::chnukt_ContTkt, my_Integrand_conrec::chnukt_ContTkt, my_Integrand_escConE2::chnukt_ctau, DEBUG_ENTRY, and Integrator< Integrand, Method >::sum().

Referenced by RT_recom_effic().

Here is the call graph for this function:

void RT_continuum ( void   ) 

RT_continuum attenuation of diffuse and beamed continua

Definition at line 67 of file rt_continuum.cpp.

References t_rfield::anu, ASSERT, cdEXIT, t_rfield::chContLabel, t_rfield::chLineLabel, cmshft(), t_colden::colden, colden, t_rfield::ConEmitLocal, t_rfield::ConEmitOut, t_rfield::ConEmitReflec, t_rfield::ConInterOut, t_rfield::ConRefIncid, t_rfield::convoc, t_hextra::CrsSecNeutron, DEBUG_ENTRY, dense, t_radius::depth, t_rfield::DiffuseEscape, t_geometry::DirectionalCosin, t_radius::drad, t_radius::drad_x_fillfac, t_radius::dRadSign, t_radius::dVolOutwrd, e2(), t_opac::E2TauAbsFace, t_opac::E2TauAbsOut, EN1RYD, t_rfield::EnergyDiffCont, t_rfield::EnergyIncidCont, t_opac::ExpmTau, t_opac::ExpZone, t_rfield::fine_opac_zone, t_rfield::fine_opt_depth, t_rfield::flux, t_rfield::flux_beam_const, t_rfield::flux_beam_time, t_rfield::flux_isotropic, t_rfield::flux_total_incident, t_dense::gas_phase, geometry, hextra, ioQQQ, ipCOL_H0, ipH_LIKE, ipHYDROGEN, t_iso::ipIsoLevNIonCon, t_rfield::ipnt_coarse_2_fine, t_rfield::ipPlasma, iso, iteration, t_trace::lgConBug, t_hextra::lgNeutrnHeatOn, t_rfield::lgOpacityFine, t_opac::lgOpacNeg, t_opac::lgScatON, t_geometry::lgSphere, t_trace::lgTrace, MAX2, t_rfield::nfine, t_rfield::nflux, nzone, t_rfield::OccNumbContEmitOut, t_rfield::OccNumbDiffCont, t_rfield::OccNumbIncidCont, opac, t_opac::opacity_abs, t_opac::opacity_sct, t_rfield::otscon, t_rfield::otslin, t_rfield::outlin, t_rfield::outlin_noplot, pnegopc(), POW2, t_radius::r1r0sq, t_radius::Radius, radius, t_rfield::reflin, rfield, t_radius::rinner, SDIV(), sexp(), ShowMe(), SMALLFLOAT, t_rfield::SummedCon, t_rfield::SummedDif, t_opac::TauAbsFace, t_opac::TauAbsGeo, t_opac::TauAbsTotal, t_opac::TauScatFace, t_opac::TauScatGeo, t_opac::TauTotalGeo, TestCode(), t_opac::tmn, TotalInsanity(), t_hextra::totneu, trace, t_rfield::trans_coef_total, t_rfield::trans_coef_zone, and t_dense::xIonDense.

Referenced by cloudy().

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 29 of file rt_continuum_shield_fcn.cpp.

References ASSERT, conpmp(), t_emission::damp, DEBUG_ENTRY, 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, pow(), POW2, rt, SDIV(), sexp(), t_emission::TauCon, and TotalInsanity().

Referenced by RT_line_pumping().

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 939 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 673 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_escape().

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 rfield.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, atmdat_outer_shell(), t_radius::BeamInOut, t_radius::BeamOutOut, t_iso::CaseBCheck, t_emission::ColOvTot, t_rfield::ConEmitLocal, t_rfield::ConInterOut, t_rfield::ConOTS_local_photons, t_rfield::ConSourceFcnLocal, t_rfield::ContBoltz, t_rfield::convoc, CoolHeavy, dBaseLines, DEBUG_ENTRY, dense, t_rfield::DiffuseEscape, t_rfield::DiffuseLineEmission, DumpLine(), t_radius::dVolOutwrd, t_dense::eden, emergent_line(), transition::Emis, EN1RYD, t_opac::ExpmTau, FeII_RT_Out(), t_rfield::flux, t_rfield::flux_beam_const, t_rfield::flux_beam_time, t_rfield::flux_isotropic, t_emission::FracInwd, t_rfield::gff, GrainVar::GrainEmission, GrainMakeDiffuse(), gv, H2_RT_diffuse(), Heavy, HFLines, transition::Hi, hmi, t_hmi::Hmolec, HPLANCK, t_dense::IonHigh, t_dense::IonLow, ioQQQ, t_Heavy::ipBalHeavy, transition::ipCont, t_opac::ipElement, t_rfield::ipEnergyBremsThin, ipH1s, ipH_LIKE, ipHe2s3S, ipHE_LIKE, t_Heavy::ipHeavy, ipHELIUM, iphi, t_hmi::iphmin, t_opac::iphmop, t_opac::iphmra, ipHYDROGEN, t_iso::ipIsoLevNIonCon, t_Heavy::ipLyHeavy, t_rfield::ipMaxBolt, ipMH2p, ipMH3p, ipMHeHp, ipoint(), t_iso::ipOpac, t_rfield::ipPlasma, ipRecEsc, t_iso::ipSym2nu, t_iso::ipTwoPhoE, iso, lgAbort, t_iso::lgDielRecom, GrainVar::lgDustOn(), t_dense::lgElmtOn, t_CoolHeavy::lgFreeOn, GrainVar::lgGrainPhysicsOn, t_iso::lgInd2nu_On, t_rfield::lgKillOutCont, t_rfield::lgKillOutLine, t_trace::lgTrace, LIMELM, linesAdded2, MAX2, MILNE_CONST, MIN2, t_quantumState::nelem, t_rfield::nflux, nHFLines, NISO, nLevel1, t_Heavy::nsShells, t_iso::numLevels_local, t_iso::numLevels_max, t_rfield::nupper, nWindLine, nzone, t_rfield::OccNumbDiffCont, opac, t_opac::opacity_abs, t_opac::OpacStack, t_rfield::otscon, t_rfield::otslin, t_rfield::outlin, t_rfield::outlin_noplot, transition::outline_resonance(), t_emission::phots, phycon, POW2, radius, t_iso::RadRec_caseB, t_Heavy::RadRecCon, t_iso::RadRecCon, t_iso::RadRecomb, t_rfield::reflin, rfield, RYD_INF, safe_div(), SatelliteLines, SEXP_LIMIT, SMALLFLOAT, t_phycon::sqrte, t_iso::stat_ion, StatesElemNEW, t_rfield::SummedOcc, TauLine2, TauLines, t_phycon::te, TE1RYD, t_phycon::te_ryd, t_opac::tmn, t_rfield::TotDiff2Pht, trace, t_emission::tran, Transitions, TwoS, t_rfield::widflx, t_dense::xIonDense, t_iso::xIsoLevNIonRyd, and t_Heavy::xLyaHeavy.

Referenced by AGN_Hemis(), and cloudy().

Here is the call graph for this function:

void RT_line_all ( void   ) 

MakeRT drive static or wind metal line radiative transfer,

Definition at line 26 of file rt_line_all.cpp.

References atmdat_2phot_rate(), t_dense::AtomicWeight, t_fe2ovr_la::atoms_fe2ovr(), conv, cosmology, dBaseTrans, DEBUG_ENTRY, dense, t_radius::drad_x_fillfac_mean, t_hydro::dstfe2lya, DumpLine(), transition::Emis, ExtraLymanLines, t_rfield::fine_opac_velocity_width, t_rfield::fine_opac_zone, t_species::fmolweight, fnzone, GetDopplerWidth(), H2_RTMake(), transition::Hi, hydro, Singleton< t_fe2ovr_la >::Inst(), t_dense::IonHigh, ioQQQ, transition::ipCont, t_rfield::ipFineConVelShift, ipH1s, ipH2p, ipH_LIKE, ipHE_LIKE, ipHYDROGEN, ipTFe56, iso, t_opac::lgCaseB_no_pdest, t_iso::lgDielRecom, t_cosmology::lgDo, t_rfield::lgDoLineTrans, t_dense::lgElmtOn, t_conv::lgFirstSweepThisZone, t_conv::lgIonStageTrimed, t_conv::lgLastSweepThisZone, t_hydro::lgLymanPumping, lgTauGood(), t_trace::lgTrace, LIMELM, t_quantumState::nelem, t_rfield::nfine, NISO, nLevel1, t_iso::nLyaLevel, t_iso::nLyman, t_conv::nPres2Ioniz, nSpecies, t_species::numLevels_local, t_iso::numLevels_local, t_iso::numLevels_max, nUTA, nzone, opac, t_opac::opacity_abs, t_emission::Pelec_esc, t_iso::pestrk, POW2, radius, t_cosmology::redshift_current, t_cosmology::redshift_start, rfield, RT_line_one(), RT_stark(), SatelliteLines, SDIV(), SMALLFLOAT, t_quantumState::sp, Species, SPEEDLIGHT, StatesElemNEW, TauLines, trace, Transitions, UTALines, wind, Wind::windv, Wind::windv0, and t_dense::xIonDense.

Referenced by ConvBase(), 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 dBaseLines, DEBUG_ENTRY, dense, transition::Emis, transition::EnergyErg, ExtraLymanLines, FeIIAccel(), H2_Accel(), HFLines, t_dense::IonHigh, ipH_LIKE, ipHE_LIKE, iso, LIMELM, linesAdded2, nHFLines, NISO, nLevel1, t_iso::nLyman, t_iso::numLevels_local, t_iso::numLevels_max, nUTA, nWindLine, t_emission::PopOpc, t_emission::pump, SatelliteLines, StatesElemNEW, TauLine2, TauLines, t_emission::tran, Transitions, and UTALines.

Referenced by PresTotCurrent().

Here is the call graph for this function:

void RT_line_one ( transition t,
bool  lgShield_this_zone,
realnum  pestrk,
realnum  DopplerWidth 
)

RT_line_one do line radiative transfer

Parameters:
t line structure
pestrk Stark escape probability
DopplerWidth 
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 423 of file rt_line_one.cpp.

References ASSERT, cdEXIT, conv, t_emission::damp, t_emission::dampXvel, DEBUG_ENTRY, transition::Emis, EN1RYD, transition::EnergyErg, t_emission::FracInwd, ioQQQ, ipLY_A, t_emission::iRedisFun, t_rfield::lgDoLineTrans, t_conv::lgLastSweepThisZone, lgTauGood(), transition::Lo, MAX2, MIN2, nzone, t_emission::Pdest, t_emission::Pelec_esc, t_emission::Pesc, t_rfield::plsfrq, t_quantumState::Pop, t_emission::pump, rfield, RT_line_electron_scatter(), RT_line_escape(), RT_line_fine_opacity(), RT_line_pumping(), and SMALLFLOAT.

Referenced by CoolDima(), CoolEvaluate(), 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  ) 
void RT_line_one_tauinc ( transition t,
long int  mas_species,
long int  mas_ion,
long int  mas_hi,
long int  mas_lo,
realnum  DopplerWidth 
)
double RT_LineWidth ( const transition t,
realnum  DopplerWidth 
)

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

Parameters:
t 
DopplerWidth 

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 817 of file rt_escprob.cpp.

References ASSERT, BIGFLOAT, t_emission::damp, t_emission::dampXvel, DEBUG_ENTRY, dense, t_dense::eden, transition::Emis, esc_PRD_1side(), iteration, Wind::lgBallistic(), t_pressure::lgPradDen, MAX2, MIN2, opac, t_emission::Pdest, t_emission::Pelec_esc, PI, pow(), pressure, t_emission::TauIn, t_opac::taumin, t_emission::TauTot, wind, and Wind::windv0.

Referenced by FeIIRadPress(), PressureRadiationLine(), and PresTotCurrent().

Here is the call graph for this function:

void RT_OTS ( void   ) 
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 403 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::otslin, and rfield.

Referenced by atom_level3(), FeII_OTS(), H2_RT_OTS(), and RT_OTS().

void RT_OTS_ChkSum ( long int  ipPnt  ) 
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 691 of file rt_ots.cpp.

References t_rfield::anu, ASSERT, t_rfield::chContLabel, t_rfield::chLineLabel, conv, DEBUG_ENTRY, dense, fnzone, t_dense::gas_phase, ioQQQ, ipHELIUM, ipOXYGEN, t_conv::lgConvIoniz, t_rfield::line_count, t_rfield::nupper, opac, t_opac::opacity_abs, t_rfield::otscon, t_rfield::otslin, rfield, TorF(), and t_dense::xIonDense.

Referenced by ConvBase().

Here is the call graph for this function:

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,

Parameters:
SumOTS 
Returns:
sum of ots rates

Definition at line 489 of file rt_ots.cpp.

References t_rfield::anu2, ASSERT, t_rfield::ConInterOut, t_rfield::ConOTS_local_OTS_rate, t_rfield::ConOTS_local_photons, t_rfield::ContBoltz, t_rfield::convoc, DEBUG_ENTRY, t_rfield::flux, t_rfield::flux_accum, t_rfield::ipEnergyBremsThin, t_rfield::ipPlasma, t_rfield::lgKillOTSLine, t_rfield::lgOutOnly, MAX2, MIN2, t_rfield::nflux, t_rfield::OccNumbBremsCont, opac, t_opac::opacity_abs, t_rfield::otscon, t_rfield::otslin, t_rfield::outlin, t_rfield::outlin_noplot, rfield, SDIV(), SMALLDOUBLE, t_rfield::SummedCon, t_rfield::SummedDif, and t_rfield::SummedOcc.

Referenced by ConvBase(), and IterRestart().

Here is the call graph for this function:

void RT_OTS_Zero ( void   ) 
double RT_recom_effic ( long int  ip  ) 
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, ipH1s, ipH2s, ipH_LIKE, iso, t_dense::lgElmtOn, t_rt::lgStarkON, LIMELM, MAX2, MIN2, NISO, t_iso::nLyaLevel, t_iso::numLevels_local, t_iso::numLevels_max, nzone, t_iso::pestrk, phycon, pow(), rt, SDIV(), t_phycon::sqrte, t_iso::strkar, t_phycon::te01, t_phycon::te03, t_phycon::te10, and Transitions.

Referenced by RT_line_all().

Here is the call graph for this function:

void RT_tau_inc ( void   ) 
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 t_rfield::anu, ASSERT, t_dense::AtomicWeight, cdEXIT, t_StopCalc::colnut, conv, dBaseLines, DEBUG_ENTRY, dense, t_rt::DoubleTau, t_dense::eden, ExtraLymanLines, FeII_LineZero(), fixit(), t_dense::gas_phase, geometry, GetDopplerWidth(), H2_LineZero(), t_StopCalc::HColStop, HFLines, transition::Hi, ioQQQ, ipH1s, ipH2p, ipH2s, ipH3d, ipH3p, ipH3s, ipH_LIKE, ipHe1s1S, ipHe2p1P, ipHE_LIKE, ipHELIUM, ipHYDROGEN, t_iso::ipIsoLevNIonCon, t_trace::ipIsoTrace, ipoint(), t_StopCalc::iptnu, t_rt::ipxry, iso, t_opac::lgCaseB, t_iso::lgDielRecom, t_dense::lgElmtOn, t_conv::lgFirstSweepThisZone, t_trace::lgIsoTraceFull, t_conv::lgOscilOTS, t_geometry::lgSphere, t_thermal::lgTemperatureConstant, t_trace::lgTrace, LIMELM, linesAdded2, MAX2, MIN2, N_, t_iso::n_HighestResolved_max, t_iso::nCollapsed_max, t_quantumState::nelem, nHFLines, NISO, nLevel1, t_iso::nLyman, t_iso::numLevels_max, t_rfield::nupper, nUTA, nWindLine, opac, pow(), PrintEfmt, t_rfield::qhtot, t_iso::QuantumNumbers2Index, rfield, rt, SatelliteLines, ShowMe(), t_iso::SmallA, SMALLFLOAT, StatesElemNEW, StopCalc, t_rt::TAddHLya, t_opac::TauAbsGeo, TauDummy, t_StopCalc::tauend, TAULIM, TauLine2, TauLines, t_opac::taumin, t_StopCalc::taunu, t_opac::TauScatGeo, t_opac::TauTotalGeo, t_rt::tauxry, TempChange(), thermal, t_opac::tlamin, trace, t_emission::tran, Transitions, UTALines, t_dense::xNucleiTotal, and transition::Zero().

Referenced by cloudy().

Here is the call graph for this function:

void RT_tau_reset ( void   ) 
double RTesc_lya ( double *  esin,
double *  dest,
double  abund,
long int  ipZ,
realnum  DopplerWidth 
)

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

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

Definition at line 143 of file rt_escprob.cpp.

References ASSERT, DEBUG_ENTRY, 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_escape().

Here is the call graph for this function:


Variable Documentation

EXTERN struct t_rt rt
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Nov 2012 for cloudy by  doxygen 1.6.1