prt_lines_helium.cpp File Reference

#include "cddefines.h"
#include "taulines.h"
#include "dense.h"
#include "phycon.h"
#include "lines_service.h"
#include "iso.h"
#include "trace.h"
#include "lines.h"
#include "path.h"
#include "helike.h"
#include "thirdparty.h"
#include "physconst.h"

Include dependency graph for prt_lines_helium.cpp:

Go to the source code of this file.

Data Structures

struct  stdLines

Defines

#define NUMTEMPS   22
#define chLine_LENGTH   1000

Functions

static void GetStandardHeLines (void)
static double TempInterp (double *TempArray, double *ValueArray, long NumElements)
void lines_helium (void)

Variables

static bool lgFirstRun = true
static double CaABTemps [NUMTEMPS]
static long NumLines
static double *** CaABIntensity
static stdLines ** CaABLines


Define Documentation

#define chLine_LENGTH   1000

#define NUMTEMPS   22

Definition at line 23 of file prt_lines_helium.cpp.

Referenced by GetStandardHeLines(), and lines_helium().


Function Documentation

static void GetStandardHeLines ( void   )  [static]

Todo:
2 - this structure is currently only used for helium itself... stuff numbers in for other elements, or drop the [nelem] dimension off of CaABLines

Definition at line 744 of file prt_lines_helium.cpp.

References ASSERT, CaABIntensity, CaABTemps, CASEABMAGIC, cdEXIT(), chDataPath, chLine_LENGTH, dense, FFmtRead(), FILENAME_PATH_LENGTH_2, INPUT_LINE_LENGTH, ioQQQ, ipHELIUM, stdLines::ipHi, stdLines::ipLo, stdLines::label, lgDataPathSet, t_dense::lgElmtOn, t_trace::lgTrace, LIMELM, MALLOC, NumLines, NUMTEMPS, and trace.

Referenced by lines_helium().

Here is the call graph for this function:

void lines_helium ( void   ) 

enter all helium iso seq into emission line stack

Definition at line 45 of file prt_lines_helium.cpp.

References ASSERT, ATOMIC_MASS_UNIT, t_dense::AtomicWeight, EmLine::Aul, t_radius::BeamInIn, t_radius::BeamInOut, t_radius::BeamOutOut, t_iso::Boltzmann, t_helike::BranchRatio, CaABIntensity, CaABTemps, t_helike::CascadeProb, t_elementnames::chElementSym, chIonLbl(), chLabel, EmLine::ColUL, EmLine::cool, DEBUG_ENTRY, DEBUG_EXIT, dense, dsexp(), t_dense::eden, t_dense::EdenHCorr, ELECTRON_MASS, elementnames, EmisLines, EmLineZero(), EN1RYD, EmLine::EnergyErg, EmLine::EnergyK, EmLine::EnergyWN, ERG1CM, t_helike::ErrorFactor, EmLine::FracInwd, GetGF(), GetStandardHeLines(), EmLine::gf, EmLine::gHi, EmLine::gLo, EmLine::heat, helike, HION_LTE_POP, EmLine::IonStg, ioQQQ, t_LineSave::ipass, EmLine::ipCont, ipCRDW, EmLine::ipFine, ipFineCont(), ipH_LIKE, ipHe1s1S, ipHe2p3P0, ipHe2p3P1, ipHe2p3P2, ipHe2s1S, ipHe2s3S, ipHe3d3D, ipHe3p3P, ipHe3s3S, ipHe4d3D, ipHe4p3P, ipHe4s3S, ipHE_LIKE, ipHELIUM, stdLines::ipHi, ipHYDROGEN, t_iso::ipIsoLevNIonCon, ipLineEnergy(), stdLines::ipLo, ipOXYGEN, IPRAD, EmLine::iRedisFun, iso, Elevels::l, t_dense::lgElmtOn, lgFirstRun, t_helike::lgFSM, t_helike::lgRandErrGen, t_trace::lgTrace, LIMELM, linadd(), LineSave, MALLOC, Elevels::n, t_iso::n_HighestResolved_max, t_iso::nCollapsed_max, EmLine::nelem, nMatch(), t_iso::numLevels_max, NumLines, t_iso::numPrintLevels, NUMTEMPS, opac, t_rfield::outlin, EmLine::Pesc, EmLine::phots, phycon, t_iso::Pop2Ion, EmLine::PopHi, prt_wl(), PutLine(), t_helike::qTot2TripS, t_iso::quant_desig, radius, t_iso::RadRec_caseB, t_rfield::reflin, rfield, RYD_INF, RYDLAM, Elevels::s, sexp(), SMALLDOUBLE, t_phycon::sqrte, t_iso::stat_ion, StuffComment(), T1CM, t_phycon::te, t_phycon::te01, t_phycon::te03, t_phycon::te04, t_phycon::te05, t_phycon::te07, t_phycon::te10, t_phycon::te30, t_phycon::te32, t_phycon::te70, t_phycon::te_ryd, TempInterp(), t_opac::tmn, trace, t_iso::TwoNu_induc_dn, t_LineSave::WavLNorm, WAVNRYD, EmLine::WLAng, EmLine::xIntensity, and t_dense::xIonDense.

Referenced by lines().

Here is the call graph for this function:

static double TempInterp ( double *  TempArray,
double *  ValueArray,
long  NumElements 
) [static]

Todo:
there is a virtually identical routine in helike_recom.cpp -> combine


Variable Documentation

double*** CaABIntensity [static]

Definition at line 42 of file prt_lines_helium.cpp.

Referenced by GetStandardHeLines(), and lines_helium().

stdLines** CaABLines [static]

Definition at line 43 of file prt_lines_helium.cpp.

double CaABTemps[NUMTEMPS] [static]

Definition at line 40 of file prt_lines_helium.cpp.

Referenced by GetStandardHeLines(), and lines_helium().

bool lgFirstRun = true [static]

Definition at line 39 of file prt_lines_helium.cpp.

Referenced by lines_helium().

long NumLines [static]

Definition at line 41 of file prt_lines_helium.cpp.

Referenced by GetStandardHeLines(), and lines_helium().


Generated for cloudy by doxygen 1.5.9