cloudy
trunk
|
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, t_phoHeat *photoHeat) |
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, t_phoHeat *photoHeat) |
void | GammaPrtRate (FILE *ioFILE, long int ion, long int ipZ, bool lgPRT) |
gammas.h - all the routines to evaluate gamma functions
contains the following:
GammaBn 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
Definition in file gammas.h.
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 |
Definition at line 34 of file cont_gammas.cpp.
References t_mesh::anu(), t_mesh::anumax(), t_mesh::anumin(), ASSERT, t_rfield::ConInterOut, t_rfield::ContBoltzAvg, DEBUG_ENTRY, t_rfield::flux, fp_equal(), t_secondaries::HeatEfficPrimary, t_phoHeat::HeatHiEnr, t_phoHeat::HeatLowEnr, t_phoHeat::HeatNet, t_secondaries::ipSecIon, t_rfield::lgInducProcess, t_rfield::lgOutOnly, MAX2, MIN2, t_rfield::nflux, t_rfield::nPositive, opac, t_opac::OpacStack, t_rfield::otslin, phycon, rfield, secondaries, t_rfield::SummedCon, t_phycon::te_ryd, and t_mesh::widflx().
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
Definition at line 350 of file cont_gammas.cpp.
References t_mesh::anu(), t_mesh::anuptr(), ASSERT, t_rfield::ConInterOut, DEBUG_ENTRY, t_rfield::flux, t_secondaries::HeatEfficPrimary, t_phoHeat::HeatHiEnr, t_phoHeat::HeatLowEnr, t_phoHeat::HeatNet, t_secondaries::ipSecIon, t_rfield::lgOutOnly, MAX2, MIN2, t_rfield::nflux, t_rfield::nPositive, opac, t_opac::OpacStack, t_rfield::otslin, reduce_abc_ab(), rfield, secondaries, and t_rfield::SummedCon.
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 |
Definition at line 244 of file cont_gammas.cpp.
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().
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 |
Definition at line 447 of file cont_gammas.cpp.
References DEBUG_ENTRY, fprintf(), GammaPrt(), Heavy, ionbal, t_opac::ipElement, t_Heavy::nsShells, opac, and t_ionbal::PhotoRate_Shell.
void GammaPrtShells | ( | long | nelem, |
long | int | ||
) |
GammaPrtShells for the element nelem and ion, print total photo rate, subshells, and call GamaPrt for important subshells
nelem | |
ion |
Definition at line 192 of file cont_gammas.cpp.
References DEBUG_ENTRY, fnzone, fprintf(), GammaK(), Heavy, Singleton< t_yield >::Inst(), ionbal, ioQQQ, t_opac::ipElement, t_ionbal::lgPhotoIoniz_On, t_opac::lgRedoStatic, t_Heavy::nsShells, opac, and t_ionbal::PhotoRate_Shell.