#include "cddefines.h"
#include "phycon.h"
#include "elementnames.h"
#include "atmdat.h"
#include "iso.h"
#include "ionbal.h"
#include "dense.h"
Include dependency graph for ion_recomb_Badnell.cpp:
Go to the source code of this file.
Defines | |
#define | BIGGEST_INDEX_TO_USE 103 |
#define | DR2SMALL 1e-15 |
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 |
#define BIGGEST_INDEX_TO_USE 103 |
Referenced by Badnell_rec_init().
#define DR2SMALL 1e-15 |
Referenced by ion_recom_calculate().
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
z_val | atomic number on C scale - He is 1 | |
n_val | number of core electrons before capture of free electron |
Definition at line 59 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 ion_recom_calculate().
Here is the call graph for this function:
void Badnell_rec_init | ( | void | ) |
Badnell_rec_init This code is written by Terry Yun, 2005 * It reads rate coefficient fits into 3D arrays and output array.out for testing * The testing can be commented out
Definition at line 254 of file ion_recomb_Badnell.cpp.
References AS_LOCAL_ONLY, ASSERT, BIGGEST_INDEX_TO_USE, cdEXIT, DEBUG_ENTRY, dense, t_iso::DielecRecombVsTemp, FFmtRead(), INPUT_LINE_LENGTH, ioQQQ, ipHE_LIKE, ipHELIUM, iso, t_dense::lgElmtOn, LIMELM, MAX2, MAX_FIT_PAR_DR, MAX_FIT_PAR_RR, N, t_iso::n_HighestResolved_max, t_iso::nCollapsed_max, nMatch(), t_iso::numLevels_max, open_data(), t_iso::QuantumNumbers2Index, read_whole_line(), S, and TotalInsanity().
Referenced by cloudy(), and ParseCompile().
Here is the call graph for this function:
STATIC double Badnell_RR_rate_eval | ( | int | nAtomicNumberCScale, | |
int | n_core_e_before_recomb | |||
) |
Badnell_RR_rate_eval
z_val | atomic number on C scale - He - 1 | |
n_val | number of core electrons before capture of free electron |
Definition at line 165 of file ion_recomb_Badnell.cpp.
References ASSERT, DEBUG_ENTRY, ipIRON, lgRRBadnellDefined, LIMELM, phycon, RRFitPar, and t_phycon::te.
Referenced by ion_recom_calculate().
void ion_recom_calculate | ( | void | ) |
ion_recom_calculate called by conv_base to calculate radiative and dielectronic recombination rate coefficients
Definition at line 960 of file ion_recomb_Badnell.cpp.
References Badnell_DR_rate_eval(), Badnell_RR_rate_eval(), DEBUG_ENTRY, DR2SMALL, t_ionbal::DR_Badnell_rate_coef, t_ionbal::DR_Badnell_rate_coef_mean_ion, Singleton< T >::Inst(), ionbal, ipHYDROGEN, t_ionbal::lgDR_Badnell_rate_coef_exist, t_ionbal::lgRR_Badnell_rate_coef_exist, nsumrec, phycon, t_ionbal::RR_Badnell_rate_coef, t_ionbal::RR_Verner_rate_coef, and t_phycon::te.
Here is the call graph for this function:
double*** DRFitParPart1 [static] |
double*** DRFitParPart2 [static] |
bool** lgDRBadnellDefined [static] |
bool ** lgDRBadnellDefinedPart2 [static] |
Definition at line 33 of file ion_recomb_Badnell.cpp.
bool lgMustMallocRec = true [static] |
Definition at line 36 of file ion_recomb_Badnell.cpp.
bool ** lgRRBadnellDefined [static] |
const int MAX_FIT_PAR_DR = 9 [static] |
const int MAX_FIT_PAR_RR = 6 [static] |
int** nDRFitPar [static] |
long int* nsumrec [static] |
double*** RRFitPar [static] |