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

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

Go to the source code of this file.

Functions

double GammaBn (long int n1, long int n2, long int ip, double thresh, double *ainduc, double *rcool)
void GammaPrtShells (long nelem, long int)
void GammaPrt (long int n1, long int n2, long int ip, FILE *io, double total, double threshold)
double GammaK (long int n1, long int n2, long int ipOpac, double yield1)
double GammaBnPL (long int n, long int ipZ, double *ainduc, double *rcool)
void GammaPrtRate (FILE *ioFILE, long int ion, long int ipZ, bool lgPRT)


Detailed Description

gammas.h - all the routines to evaluate gamma functions
contains the following:

GammaBn evaluate photoionization rate for single shell with induced recomb
GammaBnPL evaluate photoionization rate for single shell with induced recomb
GammaPrt special version of gamma function to print strong contributors
GammaK evaluate photoionization rate for single shell
GammaPL evaluate photoionization rate for power law photo cross section

Definition in file gammas.h.


Function Documentation

double GammaBn ( long int  n1,
long int  n2,
long int  ip,
double  thresh,
double *  ainduc,
double *  rcool 
)

GammaBn evaluate photoionization rate for single shell with induced recomb

Parameters:
n1 
n2 
ip 
thresh 
*ainduc 
*rcool 

Definition at line 32 of file cont_gammas.cpp.

References t_rfield::anu, ASSERT, t_rfield::ConInterOut, t_rfield::ContBoltz, DEBUG_ENTRY, EN1RYD, t_rfield::flux, t_secondaries::HeatEfficPrimary, t_thermal::HeatHiEnr, t_thermal::HeatLowEnr, t_thermal::HeatNet, t_secondaries::ipSecIon, t_rfield::lgInducProcess, t_rfield::lgOutOnly, MAX2, MIN2, t_rfield::nflux, opac, t_opac::OpacStack, t_rfield::otslin, rfield, secondaries, t_rfield::SummedCon, and thermal.

Referenced by hmole_reactions(), and iso_photo().

double GammaBnPL ( long int  n,
long int  ipZ,
double *  ainduc,
double *  rcool 
)

GammaBnPL evaluate photoionization rate for single shell with induced recomb

Parameters:
ipZ 0 for H, etc
*ainduc 
*rcool 

Definition at line 583 of file cont_gammas.cpp.

References t_rfield::anu, t_rfield::anu3, ASSERT, t_rfield::ConInterOut, t_rfield::ContBoltz, DEBUG_ENTRY, EN1RYD, t_rfield::flux, t_secondaries::HeatEfficPrimary, t_thermal::HeatHiEnr, t_thermal::HeatLowEnr, t_thermal::HeatNet, Singleton< T >::Inst(), ipH1s, ipH_LIKE, t_iso::ipIsoLevNIonCon, t_secondaries::ipSecIon, iso, t_rfield::lgInducProcess, t_rfield::lgOutOnly, LIMELM, MAX2, MIN2, t_rfield::nflux, t_rfield::otslin, POW2, rfield, secondaries, t_rfield::SummedCon, thermal, and t_iso::xIsoLevNIonRyd.

Here is the call graph for this function:

double GammaK ( long int  n1,
long int  n2,
long int  ipOpac,
double  yield1 
)

GammaK evaluate photoionization rate for single shell

Definition at line 354 of file cont_gammas.cpp.

References t_rfield::anu, ASSERT, t_rfield::ConInterOut, DEBUG_ENTRY, EN1RYD, t_rfield::flux, t_secondaries::HeatEfficPrimary, t_thermal::HeatHiEnr, t_thermal::HeatLowEnr, t_thermal::HeatNet, t_secondaries::ipSecIon, t_rfield::lgOutOnly, MAX2, MIN2, t_rfield::nflux, opac, t_opac::OpacStack, t_rfield::otslin, rfield, secondaries, t_rfield::SummedCon, and thermal.

Referenced by GammaPrtShells(), ion_photo(), IonMagne(), IonNitro(), IonOxyge(), and iso_photo().

void GammaPrt ( long int  n1,
long int  n2,
long int  ip,
FILE *  io,
double  total,
double  threshold 
)

GammaPrt special version of gamma function to print strong contributors

Parameters:
n1 
n2 
ip 
io io unit we will write to
total 
threshold 

Definition at line 248 of file cont_gammas.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, fnzone, t_rfield::lgOutOnly, MIN2, t_rfield::nflux, opac, t_opac::OpacStack, t_rfield::otscon, t_rfield::otslin, t_rfield::outlin, t_rfield::outlin_noplot, PrintEfmt(), rfield, SDIV(), and t_rfield::SummedCon.

Referenced by GammaPrtRate(), hmole_reactions(), IonIron(), and iso_photo().

Here is the call graph for this function:

void GammaPrtRate ( FILE *  ioFILE,
long int  ion,
long int  ipZ,
bool  lgPRT 
)

GammaPrtRate will print resulting rates for ion and element

Parameters:
*ioFILE io unit we will write to
ion stage of ionization on C scale, 0 for atom
ipZ 0 for H, etc
lgPRT true - then print photo sources for valence shell

Definition at line 734 of file cont_gammas.cpp.

References DEBUG_ENTRY, GammaPrt(), Heavy, ionbal, t_opac::ipElement, t_Heavy::nsShells, opac, and t_ionbal::PhotoRate_Shell.

Here is the call graph for this function:

void GammaPrtShells ( long  nelem,
long  int 
)

GammaPrtShells for the element nelem and ion, print total photo rate, subshells, and call GamaPrt for important subshells

Parameters:
nelem 
ion 

Definition at line 197 of file cont_gammas.cpp.

References DEBUG_ENTRY, fnzone, GammaK(), Heavy, Singleton< T >::Inst(), ionbal, ioQQQ, t_opac::ipElement, iphi, t_ionbal::lgPhotoIoniz_On, t_opac::lgRedoStatic, t_Heavy::nsShells, opac, and t_ionbal::PhotoRate_Shell.

Here is the call graph for this function:


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