/home66/gary/public_html/cloudy/c10_branch/source/atmdat_2photon.cpp File Reference

#include "cddefines.h"
#include "taulines.h"
#include "thirdparty.h"
#include "trace.h"
#include "rfield.h"
#include "iso.h"
#include "atmdat.h"
Include dependency graph for atmdat_2photon.cpp:

Go to the source code of this file.

Functions

double atmdat_2phot_shapefunction (double EbyE2nu, long ipISO, long nelem)
void atmdat_2phot_rate (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 lgFirstCall = true

Function Documentation

void atmdat_2phot_rate ( long  ipISO,
long  nelem 
)
Todo:
2 change the name of this routine to reflect the fact that it is entirely induced.

Todo:
2 How should these affect locally emitted continuum calculated in rtdiffuse? Just subtract these rates from the emitted ones?

Definition at line 305 of file atmdat_2photon.cpp.

References t_rfield::anu, t_iso::As2nu, ASSERT, DEBUG_ENTRY, ioQQQ, ipH_LIKE, t_iso::ipHalfTwoPhoE, ipHE_LIKE, t_iso::ipSym2nu, t_iso::ipTwoPhoE, iso, t_trace::lgBug2nu, t_rfield::lgInducProcess, t_trace::lgTrace, t_rfield::OccNumbIncidCont, rfield, t_rfield::SummedOcc, trace, Transitions, t_iso::TwoNu_induc_dn, t_iso::TwoNu_induc_dn_max, and t_iso::TwoNu_induc_up.

Referenced by RT_line_all().

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 

Definition at line 214 of file atmdat_2photon.cpp.

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

Referenced by ContCreatePointers().

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}

Definition at line 57 of file atmdat_2photon.cpp.

Referenced by atmdat_2phot_shapefunction().

double He2NuShapeFunc[29][NCRS_HE] [static]

Definition at line 64 of file atmdat_2photon.cpp.

Referenced by atmdat_2phot_shapefunction().

double He2NuShapeFuncY2[LIMELM-1][NCRS_HE] [static]

Definition at line 210 of file atmdat_2photon.cpp.

Referenced by atmdat_2phot_shapefunction().

double Hydro2NuEnergies[NCRS_H] [static]
Initial value:
 {  0., 0.0625, 0.125, 0.1875, 
        0.25, 0.3125, 0.375, 0.4375, 0.5}

Definition at line 17 of file atmdat_2photon.cpp.

Referenced by atmdat_2phot_shapefunction().

double Hydro2NuShapeFunc[30][NCRS_H] [static]

Definition at line 23 of file atmdat_2photon.cpp.

Referenced by atmdat_2phot_shapefunction().

double Hydro2NuShapeFuncY2[30][NCRS_H] [static]

Definition at line 54 of file atmdat_2photon.cpp.

Referenced by atmdat_2phot_shapefunction().

bool lgFirstCall = true [static]
const int NCRS_H = 9 [static]

Definition at line 13 of file atmdat_2photon.cpp.

Referenced by atmdat_2phot_shapefunction().

const int NCRS_HE = 51 [static]

Definition at line 14 of file atmdat_2photon.cpp.

Referenced by atmdat_2phot_shapefunction().

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Nov 2012 for cloudy by  doxygen 1.6.1