cloudy trunk
Loading...
Searching...
No Matches
cont_gammas.cpp File Reference
#include "cddefines.h"
#include "physconst.h"
#include "iso.h"
#include "thermal.h"
#include "secondaries.h"
#include "opacity.h"
#include "rfield.h"
#include "ionbal.h"
#include "atmdat.h"
#include "heavy.h"
#include "gammas.h"
Include dependency graph for cont_gammas.cpp:

Go to the source code of this file.

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

◆ GammaBn()

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

Parameters
n1
n2
ip
thresh
*ainduc
*rcool
*photoHeat

Definition at line 35 of file cont_gammas.cpp.

References ASSERT, DEBUG_ENTRY, EN1RYD, g, t_phoHeat::HeatHiEnr, t_phoHeat::HeatLowEnr, t_phoHeat::HeatNet, MAX2, MIN2, opac, rfield, and secondaries.

Referenced by iso_photo(), and mole_h_reactions().

◆ GammaK()

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 359 of file cont_gammas.cpp.

References ASSERT, DEBUG_ENTRY, EN1RYD, t_phoHeat::HeatHiEnr, t_phoHeat::HeatLowEnr, t_phoHeat::HeatNet, MAX2, MIN2, opac, rfield, and secondaries.

Referenced by diatomics::CalcPhotoionizationRate(), GammaPrtShells(), highen(), ion_photo(), iso_photo(), and mole_effects().

◆ GammaPrt()

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

Definition at line 253 of file cont_gammas.cpp.

References DEBUG_ENTRY, fnzone, MIN2, opac, PrintEfmt, rfield, and SDIV().

Referenced by GammaPrtRate(), ion_photo(), iso_photo(), mole_h_reactions(), and SaveDo().

Here is the call graph for this function:

◆ GammaPrtRate()

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

Definition at line 475 of file cont_gammas.cpp.

References DEBUG_ENTRY, GammaPrt(), Heavy, ionbal, and opac.

Here is the call graph for this function:

◆ GammaPrtShells()

void GammaPrtShells ( long nelem,
long ion )

Definition at line 201 of file cont_gammas.cpp.

References DEBUG_ENTRY, fnzone, GammaK(), Heavy, Singleton< t_yield >::Inst(), ionbal, ioQQQ, and opac.

Here is the call graph for this function: