Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
cont_gammas.cpp File Reference
#include "cddefines.h"
#include "gammas.h"
#include "thermal.h"
#include "secondaries.h"
#include "opacity.h"
#include "rfield.h"
#include "ionbal.h"
#include "heavy.h"
#include "phycon.h"
#include "vectorize.h"
#include "dense.h"
Include dependency graph for cont_gammas.cpp:

Functions

double GammaBn (long int ipLoEnr, long int ipHiEnr, long int ipOpac, double thresh, double *ainduc, double *rcool, t_phoHeat *photoHeat)
 
void GammaPrtShells (long nelem, long ion)
 
void GammaPrt (long int ipLoEnr, long int ipHiEnr, long int ipOpac, FILE *ioFILE, double total, double threshold)
 
double GammaK (long int ipLoEnr, long int ipHiEnr, long int ipOpac, double yield1, t_phoHeat *photoHeat)
 
void GammaPrtRate (FILE *ioFILE, long int ion, long int nelem, bool lgPRT)
 

Function Documentation

double GammaBn ( long int  n1,
long int  n2,
long int  ip,
double  thresh,
double *  ainduc,
double *  rcool,
t_phoHeat photoHeat 
)
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
ioio unit we will write to
total
threshold

References t_mesh::anu(), t_rfield::chContLabel, t_rfield::chLineLabel, t_rfield::ConInterOut, t_rfield::ConOTS_local_OTS_rate, DEBUG_ENTRY, t_rfield::flux, fnzone, fprintf(), 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(), ion_photo(), iso_photo(), mole_h_reactions(), and SaveDo().

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
*ioFILEio unit we will write to
ionstage of ionization on C scale, 0 for atom
ipZ0 for H, etc
lgPRTtrue - then print photo sources for valence shell

References DEBUG_ENTRY, dense, fprintf(), GammaPrt(), Heavy, ionbal, t_opac::ipElement, t_dense::lgElmtOn, 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

References DEBUG_ENTRY, dense, fnzone, fprintf(), GammaK(), Heavy, Singleton< t_yield >::Inst(), ionbal, ioQQQ, t_opac::ipElement, t_dense::lgElmtOn, t_ionbal::lgPhotoIoniz_On, t_opac::lgRedoStatic, t_Heavy::nsShells, opac, and t_ionbal::PhotoRate_Shell.

Here is the call graph for this function: