Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
atmdat_2photon.cpp File Reference
#include "cddefines.h"
#include "two_photon.h"
#include "thirdparty.h"
#include "iso.h"
Include dependency graph for atmdat_2photon.cpp:

Functions

void atmdat_2phot_setSplineCoefs ()
 
double atmdat_2phot_shapefunction (double EbyE2nu, long ipISO, long nelem)
 

Variables

static const int NCRS_H = 9
 
static const int NCRS_HE = 51
 
static double Hydro2NuEnergies [NCRS_H]
 
static double Hydro2NuShapeFunc [30][NCRS_H]
 
static double Hydro2NuShapeFuncY2 [30][NCRS_H]
 
static double He2NuEnergies [NCRS_HE]
 
static double He2NuShapeFunc [29][NCRS_HE]
 
static double He2NuShapeFuncY2 [LIMELM-1][NCRS_HE]
 
static bool lgSplinesSet =false
 

Function Documentation

void atmdat_2phot_setSplineCoefs ( )
double atmdat_2phot_shapefunction ( double  EbyE2nu,
long  ipISO,
long  nelem 
)

atmdat_2phot_shapefunction two photon emission function for all atomic and ionic species

Parameters
EbyE2nu
ipISO
nelem

References ASSERT, DEBUG_ENTRY, He2NuEnergies, He2NuShapeFunc, He2NuShapeFuncY2, Hydro2NuEnergies, Hydro2NuShapeFunc, Hydro2NuShapeFuncY2, ipH_LIKE, ipHE_LIKE, lgSplinesSet, NCRS_H, NCRS_HE, and splint().

Referenced by ContCreatePointers(), and TwoPhotonSetup().

Here is the call graph for this function:

Variable Documentation

double He2NuEnergies[NCRS_HE]
static
Initial value:
= { 0., 0.01, 0.02, 0.03, 0.04, 0.05, 0.06, 0.07, 0.08, 0.09, 0.1,
0.11, 0.12, 0.13, 0.14, 0.15, 0.16, 0.17, 0.18, 0.19, 0.2, 0.21, 0.22, 0.23, 0.24, 0.25,
0.26, 0.27, 0.28, 0.29, 0.3, 0.31, 0.32, 0.33, 0.34, 0.35, 0.36, 0.37, 0.38, 0.39, 0.4,
0.41, 0.42, 0.43, 0.44, 0.45, 0.46, 0.47, 0.48, 0.49, 0.5}

Referenced by atmdat_2phot_setSplineCoefs(), and atmdat_2phot_shapefunction().

double He2NuShapeFunc[29][NCRS_HE]
static
double He2NuShapeFuncY2[LIMELM-1][NCRS_HE]
static
double Hydro2NuEnergies[NCRS_H]
static
Initial value:
= { 0., 0.0625, 0.125, 0.1875,
0.25, 0.3125, 0.375, 0.4375, 0.5}

Referenced by atmdat_2phot_setSplineCoefs(), and atmdat_2phot_shapefunction().

double Hydro2NuShapeFunc[30][NCRS_H]
static
double Hydro2NuShapeFuncY2[30][NCRS_H]
static
bool lgSplinesSet =false
static
const int NCRS_H = 9
static
const int NCRS_HE = 51
static