cloudy trunk
Loading...
Searching...
No Matches
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 "lines_service.h"
#include "phycon.h"
#include "physconst.h"
#include "taulines.h"
#include "thirdparty.h"
#include "trace.h"
Include dependency graph for prt_lines_helium.cpp:

Go to the source code of this file.

Data Structures

struct  stdLines

Macros

#define NUMTEMPS   21
#define NUMDENS   14
#define chLine_LENGTH   1000

Functions

STATIC void GetStandardHeLines (void)
STATIC double TempInterp2 (double *TempArray, double *ValueArray, long NumElements, double Te)
STATIC void DoSatelliteLines (long nelem)
void lines_helium (void)

Variables

static bool lgFirstRun = true
static double CaBDensities [NUMDENS]
static double CaBTemps [NUMTEMPS]
static long NumLines
static double **** CaBIntensity
static stdLines ** CaBLines

Macro Definition Documentation

◆ chLine_LENGTH

#define chLine_LENGTH   1000

◆ NUMDENS

#define NUMDENS   14

Definition at line 20 of file prt_lines_helium.cpp.

Referenced by GetStandardHeLines(), and lines_helium().

◆ NUMTEMPS

#define NUMTEMPS   21

Definition at line 19 of file prt_lines_helium.cpp.

Referenced by GetStandardHeLines(), and lines_helium().

Function Documentation

◆ DoSatelliteLines()

STATIC void DoSatelliteLines ( long nelem)

◆ GetStandardHeLines()

STATIC void GetStandardHeLines ( void )
Todo
2 - this structure is currently only used for helium itself... stuff numbers in for other elements, or drop the [nelem] dimension off of CaBLines

Definition at line 519 of file prt_lines_helium.cpp.

References ASSERT, atmdat, CaBDensities, CaBIntensity, CaBLines, CaBTemps, CASEBMAGIC, cdEXIT, chLine_LENGTH, DEBUG_ENTRY, dense, EXIT_FAILURE, FFmtRead(), ioQQQ, ipHE_LIKE, ipHELIUM, iso_sp, LIMELM, MALLOC, t_iso_sp::nCollapsed_max, NUMDENS, NumLines, NUMTEMPS, open_data(), read_whole_line(), STATIC, strchr_s(), trace, t_iso_sp::trans(), and TransitionProxy::WLAng().

Referenced by lines_helium().

Here is the call graph for this function:

◆ lines_helium()

◆ TempInterp2()

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

Definition at line 726 of file prt_lines_helium.cpp.

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

Referenced by lines_helium().

Here is the call graph for this function:

Variable Documentation

◆ CaBDensities

double CaBDensities[NUMDENS]
static

Definition at line 36 of file prt_lines_helium.cpp.

Referenced by GetStandardHeLines(), and lines_helium().

◆ CaBIntensity

double**** CaBIntensity
static

Definition at line 39 of file prt_lines_helium.cpp.

Referenced by GetStandardHeLines(), and lines_helium().

◆ CaBLines

stdLines** CaBLines
static

Definition at line 40 of file prt_lines_helium.cpp.

Referenced by GetStandardHeLines(), and lines_helium().

◆ CaBTemps

double CaBTemps[NUMTEMPS]
static

Definition at line 37 of file prt_lines_helium.cpp.

Referenced by GetStandardHeLines(), and lines_helium().

◆ lgFirstRun

bool lgFirstRun = true
static

Definition at line 35 of file prt_lines_helium.cpp.

Referenced by lines_helium().

◆ NumLines

long NumLines
static

Definition at line 38 of file prt_lines_helium.cpp.

Referenced by GetStandardHeLines(), and lines_helium().