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

#include "cddefines.h"
#include "phycon.h"
#include "elementnames.h"
#include "atmdat.h"
#include "iso.h"
#include "ionbal.h"
#include "dense.h"
#include "taulines.h"
Include dependency graph for ion_recomb_Badnell.cpp:

Go to the source code of this file.

Functions

STATIC double Badnell_DR_rate_eval (int nAtomicNumberCScale, int n_core_e_before_recomb)
STATIC double Badnell_RR_rate_eval (int nAtomicNumberCScale, int n_core_e_before_recomb)
void Badnell_rec_init (void)
void ion_recom_calculate (void)

Variables

static const int MAX_FIT_PAR_DR = 9
static double *** DRFitParPart1
static double *** DRFitParPart2
static int ** nDRFitPar
static const int MAX_FIT_PAR_RR = 6
static double *** RRFitPar
static long int * nsumrec
static bool ** lgDRBadnellDefined
static bool ** lgDRBadnellDefinedPart2
static bool ** lgRRBadnellDefined
static bool lgMustMallocRec = true

Function Documentation

STATIC double Badnell_DR_rate_eval ( int  nAtomicNumberCScale,
int  n_core_e_before_recomb 
)
Badnell_DR_rate_eval This code is written by Terry Yun, 2005 
It interpolates the rate coefficients in a given temperature.
It receives atomic number on Physics scale, with H = 1, 
and the number of core electrons before recombination, and returns the rate coefficient*
It returns
'-2': initial <= final
init < 0 or init >302 or final < 0 or final > 302
'-1': the transition is not defined
'99': unknown invalid entries                         
Parameters:
z_val atomic number on C scale - He is 1
n_val number of core electrons before capture of free electron

Definition at line 60 of file ion_recomb_Badnell.cpp.

References ASSERT, DEBUG_ENTRY, DRFitParPart1, DRFitParPart2, ipIRON, lgDRBadnellDefined, LIMELM, nDRFitPar, phycon, sexp(), t_phycon::te, and t_phycon::te32.

Referenced by Badnell_rec_init(), and ion_recom_calculate().

Here is the call graph for this function:

void Badnell_rec_init ( void   ) 
STATIC double Badnell_RR_rate_eval ( int  nAtomicNumberCScale,
int  n_core_e_before_recomb 
)

Badnell_RR_rate_eval

Parameters:
z_val atomic number on C scale - He - 1
n_val number of core electrons before capture of free electron

Definition at line 166 of file ion_recomb_Badnell.cpp.

References ASSERT, DEBUG_ENTRY, ipIRON, lgRRBadnellDefined, LIMELM, phycon, pow(), RRFitPar, and t_phycon::te.

Referenced by Badnell_rec_init(), and ion_recom_calculate().

Here is the call graph for this function:

void ion_recom_calculate ( void   ) 

Variable Documentation

double*** DRFitParPart1 [static]

Definition at line 25 of file ion_recomb_Badnell.cpp.

Referenced by Badnell_DR_rate_eval(), and Badnell_rec_init().

double*** DRFitParPart2 [static]

Definition at line 26 of file ion_recomb_Badnell.cpp.

Referenced by Badnell_DR_rate_eval(), and Badnell_rec_init().

bool** lgDRBadnellDefined [static]

Definition at line 34 of file ion_recomb_Badnell.cpp.

Referenced by Badnell_DR_rate_eval(), and Badnell_rec_init().

bool ** lgDRBadnellDefinedPart2 [static]

Definition at line 34 of file ion_recomb_Badnell.cpp.

Referenced by Badnell_rec_init().

bool lgMustMallocRec = true [static]

Definition at line 37 of file ion_recomb_Badnell.cpp.

Referenced by Badnell_rec_init().

bool ** lgRRBadnellDefined [static]

Definition at line 34 of file ion_recomb_Badnell.cpp.

Referenced by Badnell_rec_init(), and Badnell_RR_rate_eval().

const int MAX_FIT_PAR_DR = 9 [static]

Definition at line 24 of file ion_recomb_Badnell.cpp.

Referenced by Badnell_rec_init().

const int MAX_FIT_PAR_RR = 6 [static]

Definition at line 29 of file ion_recomb_Badnell.cpp.

Referenced by Badnell_rec_init().

int** nDRFitPar [static]

Definition at line 27 of file ion_recomb_Badnell.cpp.

Referenced by Badnell_DR_rate_eval(), and Badnell_rec_init().

long int* nsumrec [static]

Definition at line 31 of file ion_recomb_Badnell.cpp.

Referenced by Badnell_rec_init(), and ion_recom_calculate().

double*** RRFitPar [static]

Definition at line 30 of file ion_recomb_Badnell.cpp.

Referenced by Badnell_rec_init(), and Badnell_RR_rate_eval().

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

Generated on 15 Nov 2012 for cloudy by  doxygen 1.6.1