Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
prt_lines_helium.cpp File Reference
#include "cddefines.h"
#include "dense.h"
#include "prt.h"
#include "helike.h"
#include "iso.h"
#include "atmdat.h"
#include "lines.h"
#include "phycon.h"
#include "taulines.h"
#include "thirdparty.h"
#include "trace.h"
#include "freebound.h"
#include "two_photon.h"
#include "lines_service.h"
#include "parser.h"
#include "container_classes.h"
Include dependency graph for prt_lines_helium.cpp:

Functions

STATIC void GetStandardHeLines (void)
 
STATIC double TempInterp2 (double *TempArray, double *ValueArray, long NumElements, double Te)
 
STATIC void DoSatelliteLines (long nelem)
 
void setup_multiplet (LinSv *line, vector< long > &multiplet)
 
void randomize_inten (t_iso_sp *sp, long ipLo, long ipHi)
 
void lines_helium ()
 

Variables

static const int NUMTEMPS = 21
 
static const int NUMDENS = 14
 
static bool lgFirstRun = true
 
static double CaBDensities [NUMDENS]
 
static double CaBTemps [NUMTEMPS]
 
static long NumLines
 
static multi_arr< double, 3 > CaBIntensity
 

Function Documentation

void randomize_inten ( t_iso_sp sp,
long  ipLo,
long  ipHi 
)
inline

References TransitionProxy::Emis(), t_iso_sp::ex, IPRAD, t_iso_sp::trans(), EmissionProxy::xIntensity(), and EmissionProxy::xObsIntensity().

Referenced by lines_helium().

Here is the call graph for this function:

void setup_multiplet ( LinSv line,
vector< long > &  multiplet 
)
inline

References LinSv::addComponentID(), t_LineSave::ipass, LineSave, and LinSv::setBlendWavl().

Referenced by lines_helium().

Here is the call graph for this function:

STATIC double TempInterp2 ( double *  TempArray,
double *  ValueArray,
long  NumElements,
double  Te 
)
Todo:
there is a virtually identical routine in helike_recom.cpp -> combine

References ASSERT, DEBUG_ENTRY, hunt_bisect(), lagrange(), max(), and min().

Referenced by lines_helium().

Here is the call graph for this function:

Variable Documentation

double CaBDensities[NUMDENS]
static

Referenced by GetStandardHeLines(), and lines_helium().

multi_arr<double,3> CaBIntensity
static
double CaBTemps[NUMTEMPS]
static

Referenced by GetStandardHeLines(), and lines_helium().

bool lgFirstRun = true
static

Referenced by lines_helium().

const int NUMDENS = 14
static

Referenced by GetStandardHeLines(), and lines_helium().

long NumLines
static

Referenced by GetStandardHeLines(), and lines_helium().

const int NUMTEMPS = 21
static

Referenced by GetStandardHeLines(), and lines_helium().