/home66/gary/public_html/cloudy/c10_branch/source/opacity_add1subshell.cpp File Reference

#include "cddefines.h"
#include "rfield.h"
#include "hydrogenic.h"
#include "opacity.h"
Include dependency graph for opacity_add1subshell.cpp:

Go to the source code of this file.

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)

Function Documentation

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

Parameters:
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'

Definition at line 10 of file opacity_add1subshell.cpp.

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

Parameters:
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

Definition at line 65 of file opacity_add1subshell.cpp.

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().

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Nov 2012 for cloudy by  doxygen 1.6.1