Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
rt_continuum_shield_fcn.cpp File Reference
#include "cddefines.h"
#include "rt.h"
#include "rt_escprob.h"
#include "transition.h"
#include "thirdparty.h"
#include "integrate.h"
#include "cosmology.h"
Include dependency graph for rt_continuum_shield_fcn.cpp:

Functions

STATIC double conpmp (double tau, double damp)
 
STATIC double conpmp_romb (double tau, double damp)
 
STATIC double fitted (double t)
 
STATIC double shieldFederman (double tau, double damp, bool lgBug)
 
STATIC double shieldRodgers (double tau, double damp)
 
STATIC double RT_continuum_shield_fcn_point (const TransitionProxy &t, double tau)
 
STATIC double avg_shield (double s1, double s2, double dTau, double tau)
 
double RT_continuum_shield_fcn (const TransitionProxy &t, bool lgShield_this_zone, double dTau)
 
STATIC double conpmp_qg32 (double tau, double damp)
 
STATIC void shieldRodgersLorentz (double tau, double damp, double &w, double &dw)
 
STATIC void shieldRodgersDoppler (double tau, double &w, double &dw)
 

Function Documentation

STATIC double avg_shield ( double  s1,
double  s2,
double  dTau,
double  tau 
)

References MAX2, SMALLFLOAT, and TotalInsanity().

Referenced by RT_continuum_shield_fcn().

Here is the call graph for this function:

STATIC double conpmp ( double  tau,
double  damp 
)

References conpmp_qg32(), DEBUG_ENTRY, and fitted().

Referenced by RT_continuum_shield_fcn_point().

Here is the call graph for this function:

STATIC double conpmp_qg32 ( double  tau,
double  damp 
)

References a0, DEBUG_ENTRY, and Integrator< Integrand, Method >::sum().

Referenced by conpmp().

Here is the call graph for this function:

STATIC double conpmp_romb ( double  tau,
double  damp 
)

References DEBUG_ENTRY, integrate::Romberg< T >::sum(), and integrate::Romberg< T >::update().

Referenced by RT_continuum_shield_fcn_point().

Here is the call graph for this function:

double fitted ( double  t)
inline

Referenced by conpmp().

double RT_continuum_shield_fcn ( const TransitionProxy t,
bool  lgShieldThisZone,
double  dTau 
)

rt_continuum_shield_fcn computing continuum shielding due to single line

Parameters
t

References avg_shield(), chLineLbl(), DEBUG_ENTRY, TransitionProxy::Emis(), fprintf(), ioQQQ, TransitionProxy::ipCont(), nzone, RT_continuum_shield_fcn_point(), and EmissionProxy::TauCon().

Referenced by RT_line_pumping().

Here is the call graph for this function:

STATIC double shieldFederman ( double  tau,
double  damp,
bool  lgBug 
)

References DEBUG_ENTRY, MAX2, MIN2, pow(), POW2, SDIV(), and sexp().

Referenced by RT_continuum_shield_fcn_point().

Here is the call graph for this function:

STATIC double shieldRodgers ( double  tau,
double  damp 
)

References shieldRodgersDoppler(), and shieldRodgersLorentz().

Referenced by RT_continuum_shield_fcn_point().

Here is the call graph for this function:

STATIC void shieldRodgersDoppler ( double  tau,
double &  w,
double &  dw 
)

Referenced by shieldRodgers().

STATIC void shieldRodgersLorentz ( double  tau,
double  damp,
double &  w,
double &  dw 
)

Referenced by shieldRodgers().