cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
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
ipOpacipOpac is opacity index within opac opacity offset for this species
ipLowLimlower freq limit to opacity range on energy mesh
ipUpLimupper limit to opacity range on energy mesh
abundanceabundance, we bail if zero
chStateither 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
ipOpacpointer to opacity offset with stack
lowlow energy limit to opacity bound
ihihigh-energy limit to opacity bound
athe abundance of the species in this level
bthe departure coefficient
chStateither '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().