Cloudy
Spectral Synthesis Code for Astrophysics
|
#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"
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) |
double GammaBn | ( | long int | n1, |
long int | n2, | ||
long int | ip, | ||
double | thresh, | ||
double * | ainduc, | ||
double * | rcool, | ||
t_phoHeat * | photoHeat ) |
GammaBn evaluate photoionization rate for single shell with induced recomb
n1 | |
n2 | |
ip | |
thresh | |
*ainduc | |
*rcool | |
*photoHeat |
References ASSERT, DEBUG_ENTRY, fp_equal(), t_phoHeat::HeatHiEnr, t_phoHeat::HeatLowEnr, t_phoHeat::HeatNet, MAX2, MIN2, opac, phycon, rfield, and secondaries.
Referenced by iso_photo(), and mole_h_reactions().
double GammaK | ( | long int | n1, |
long int | n2, | ||
long int | ipOpac, | ||
double | yield1, | ||
t_phoHeat * | photoHeat ) |
GammaK evaluate photoionization rate for single shell
References ASSERT, DEBUG_ENTRY, get_ptr(), t_phoHeat::HeatHiEnr, t_phoHeat::HeatLowEnr, t_phoHeat::HeatNet, MAX2, MIN2, opac, reduce_abc_ab(), rfield, and secondaries.
Referenced by diatomics::CalcPhotoionizationRate(), GammaPrtShells(), highen(), ion_photo(), 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
n1 | |
n2 | |
ip | |
io | io unit we will write to |
total | |
threshold |
References DEBUG_ENTRY, fnzone, fprintf(), MIN2, opac, PrintEfmt, rfield, and SDIV().
Referenced by GammaPrtRate(), ion_photo(), iso_photo(), mole_h_reactions(), and SaveDo().
void GammaPrtRate | ( | FILE * | ioFILE, |
long int | ion, | ||
long int | ipZ, | ||
bool | lgPRT ) |
GammaPrtRate will print resulting rates for ion and element
*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 |
References DEBUG_ENTRY, dense, fprintf(), GammaPrt(), Heavy, ionbal, and opac.
void GammaPrtShells | ( | long | nelem, |
long | ion ) |
References DEBUG_ENTRY, dense, fnzone, fprintf(), GammaK(), Heavy, Singleton< t_yield >::Inst(), ionbal, ioQQQ, and opac.