Cloudy
Spectral Synthesis Code for Astrophysics
|
Functions | |
void | OpacityAdd1Subshell (long int ipOpac, long int ipLowLim, long int ipUpLim, realnum abundance, char chStat) |
void | OpacityAdd1SubshellInduc (long int ipOpac, long int ipLowEnergy, long int ipHiEnergy, double abundance, double DepartCoef, char chStat) |
void OpacityAdd1Subshell | ( | long int | ipOpac, |
long int | ipLowLim, | ||
long int | ipUpLim, | ||
realnum | abundance, | ||
char | chStat | ||
) |
OpacityAdd1Subshell add opacity due to single species to main opacity array
ipOpac | ipOpac is opacity index within opac opacity offset for this species |
ipLowLim | lower freq limit to opacity range on energy mesh |
ipUpLim | upper limit to opacity range on energy mesh |
abundance | abundance, we bail if zero |
chStat | either static 's' or volitile 'v' |
References ASSERT, DEBUG_ENTRY, t_opac::lgRedoStatic, MIN2, t_rfield::nflux, opac, t_opac::opacity_abs, t_opac::OpacStack, t_opac::OpacStatic, and rfield.
Referenced by OpacityAdd1Element(), and OpacityAddTotal().
void OpacityAdd1SubshellInduc | ( | long int | ipOpac, |
long int | low, | ||
long int | ihi, | ||
double | a, | ||
double | b, | ||
char | chStat | ||
) |
OpacityAdd1SubshellInduc add opacity of individual species, including stimulated emission
ipOpac | pointer to opacity offset with stack |
low | low energy limit to opacity bound |
ihi | high-energy limit to opacity bound |
a | the abundance of the species in this level |
b | the departure coefficient |
chStat | either 's' for static opacities, or 'v' for volitile |
References ASSERT, t_rfield::ContBoltz, DEBUG_ENTRY, hydro, t_hydro::lgHInducImp, t_rfield::lgInducProcess, t_opac::lgRedoStatic, MAX2, MIN2, t_rfield::nflux, opac, t_opac::opacity_abs, t_opac::OpacStack, t_opac::OpacStatic, and rfield.
Referenced by OpacityAdd1Element(), and save_opacity().