#include "cddefines.h"
#include "phycon.h"
#include "physconst.h"
#include "abund.h"
#include "dense.h"
#include "iso.h"
#include "thermal.h"
#include "mole.h"
#include "elementnames.h"
#include "heavy.h"
#include "trace.h"
#include "conv.h"
#include "atmdat.h"
Go to the source code of this file.
Defines | |
#define | FRAC 0.1 |
Functions | |
static double | HCTIon (long int ion, long int nelem) |
static double | HCTRecom (long int ion, long int nelem) |
static void | MakeHCTData (void) |
void | ChargTranEval (double *O_HIonRate) |
double | ChargTranSumHeat (void) |
void | ChargTranPun (FILE *ipPnunit, char *chPunch) |
Variables | |
static double | CTIonData [LIMELM][4][8] |
static double | CTRecombData [LIMELM][4][7] |
static bool | lgCTDataDefined = false |
#define FRAC 0.1 |
Referenced by ChargTranSumHeat(), H2_LevelPops(), and H2_PunchDo().
void ChargTranEval | ( | double * | O_HIonRate | ) |
atmdat fill in the HCharExcIonOf and Rec arrays with Kingdon's fitted CT with H,
O_HIonRate |
Definition at line 44 of file atmdat_char_tran.cpp.
References t_phycon::alnte, atmdat, co, conv, DEBUG_ENTRY, DEBUG_EXIT, dense, t_atmdat::HCharExcIonOf, t_atmdat::HCharExcRecTo, t_atmdat::HCharExcRecTo_N0_2D, HCTIon(), HCTRecom(), t_atmdat::HeCharExcIonOf, t_atmdat::HeCharExcRecTo, HMRATE, ipALUMINIUM, ipARGON, ipCARBON, ipCHLORINE, ipHELIUM, ipIRON, ipLITHIUM, ipMAGNESIUM, ipMANGANESE, ipNEON, ipNICKEL, ipNITROGEN, ipOXYGEN, ipPHOSPHORUS, ipPOTASSIUM, ipSILICON, ipSODIUM, ipSULPHUR, ipTITANIUM, t_atmdat::lgCTOn, t_co::lgUMISTrates, LIMELM, t_conv::nTotalIoniz, phycon, SDIV(), sexp(), t_phycon::sqrte, t_phycon::te, t_phycon::te01, t_phycon::te03, t_phycon::te05, t_phycon::te10, t_phycon::te20, t_phycon::te30, t_phycon::te_eV, t_phycon::tesqrd, and t_dense::xIonDense.
Referenced by ChargTranPun(), and ConvBase().
void ChargTranPun | ( | FILE * | ipPnunit, | |
char * | chPunch | |||
) |
punch charge transfer rate coefficients
ipPnunit | ||
chPunch |
Definition at line 1696 of file atmdat_char_tran.cpp.
References abund, atmdat, cdEXIT(), ChargTranEval(), t_elementnames::chElementSym, t_elementnames::chIonStage, DEBUG_ENTRY, DEBUG_EXIT, dense, elementnames, t_atmdat::HCharExcIonOf, t_atmdat::HCharExcRecTo, HCTIon(), HCTRecom(), Heavy, t_atmdat::HeCharExcIonOf, t_atmdat::HeCharExcRecTo, t_dense::IonHigh, t_dense::IonLow, ioQQQ, ipHELIUM, t_abund::lgAGN, LIMELM, phycon, t_phycon::te, tfidle(), and t_Heavy::Valence_IP_Ryd.
Referenced by PunchDo().
double ChargTranSumHeat | ( | void | ) |
sum up the charge transfer heating
Definition at line 568 of file atmdat_char_tran.cpp.
References ASSERT, atmdat, CTIonData, CTRecombData, DEBUG_ENTRY, DEBUG_EXIT, dense, EN1EV, FRAC, t_atmdat::HCharCoolMax, t_atmdat::HCharExcIonOf, t_atmdat::HCharExcRecTo, t_atmdat::HCharHeatMax, t_atmdat::HCharHeatOn, t_thermal::htot, ioQQQ, ipH1s, ipH_LIKE, ipHELIUM, ipHYDROGEN, iso, lgCTDataDefined, LIMELM, MAX2, MIN2, t_iso::Pop2Ion, thermal, and t_dense::xIonDense.
Referenced by ConvBase().
static double HCTIon | ( | long int | ion, | |
long int | nelem | |||
) | [static] |
Definition at line 692 of file atmdat_char_tran.cpp.
References ASSERT, CTIonData, DEBUG_ENTRY, DEBUG_EXIT, ioQQQ, lgCTDataDefined, t_trace::lgTrace, LIMELM, MakeHCTData(), MAX2, MIN2, phycon, t_phycon::te, and trace.
Referenced by ChargTranEval(), and ChargTranPun().
static double HCTRecom | ( | long int | ion, | |
long int | nelem | |||
) | [static] |
Definition at line 764 of file atmdat_char_tran.cpp.
References ASSERT, atmdat, CTRecombData, DEBUG_ENTRY, DEBUG_EXIT, t_atmdat::HCTAlex, ioQQQ, lgCTDataDefined, t_trace::lgTrace, LIMELM, MakeHCTData(), MAX2, MIN2, phycon, sexp(), t_phycon::te, and trace.
Referenced by ChargTranEval(), and ChargTranPun().
static void MakeHCTData | ( | void | ) | [static] |
Definition at line 862 of file atmdat_char_tran.cpp.
References CTIonData, CTRecombData, DEBUG_ENTRY, DEBUG_EXIT, e2(), and LIMELM.
Referenced by HCTIon(), and HCTRecom().
Definition at line 37 of file atmdat_char_tran.cpp.
Referenced by ChargTranSumHeat(), HCTIon(), and MakeHCTData().
double CTRecombData[LIMELM][4][7] [static] |
Definition at line 38 of file atmdat_char_tran.cpp.
Referenced by ChargTranSumHeat(), HCTRecom(), and MakeHCTData().
bool lgCTDataDefined = false [static] |
Definition at line 41 of file atmdat_char_tran.cpp.
Referenced by ChargTranSumHeat(), HCTIon(), and HCTRecom().