/home66/gary/public_html/cloudy/c08_branch/source/atmdat_char_tran.cpp File Reference

#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"

Include dependency graph for atmdat_char_tran.cpp:

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 Documentation

#define FRAC   0.1


Function Documentation

void ChargTranEval ( double *  O_HIonRate  ) 

atmdat fill in the HCharExcIonOf and Rec arrays with Kingdon's fitted CT with H,

Parameters:
O_HIonRate 
Returns:
value is rate O ionizes H

Todo:
1 update ct to Kimura et al. (1996)

Todo:
1 above rate not intended for very low temperatures - find ref for low-T rate, probably is 1e-9 like above

Todo:
0 these should be values at 1e5 K

Todo:
2 not currently used - include as deexcitation process

Definition at line 43 of file atmdat_char_tran.cpp.

References atmdat, co, conv, DEBUG_ENTRY, t_atmdat::HCharExcIonOf, t_atmdat::HCharExcRecTo, HCTIon(), HCTRecom(), t_atmdat::HeCharExcIonOf, t_atmdat::HeCharExcRecTo, ipHELIUM, ipOXYGEN, t_co::lgUMISTrates, LIMELM, t_conv::nTotalIoniz, phycon, sexp(), and t_phycon::te.

Here is the call graph for this function:

void ChargTranPun ( FILE *  ipPnunit,
char *  chPunch 
)

punch charge transfer rate coefficients

Parameters:
ipPnunit 
chPunch 

Definition at line 1684 of file atmdat_char_tran.cpp.

References t_elementnames::chElementSym, DEBUG_ENTRY, elementnames, HCTIon(), HCTRecom(), phycon, and t_phycon::te.

Here is the call graph for this function:

double ChargTranSumHeat ( void   ) 

sum up the charge transfer heating

Returns:

Definition at line 570 of file atmdat_char_tran.cpp.

References ASSERT, atmdat, CTIonData, CTRecombData, DEBUG_ENTRY, dense, EN1EV, t_atmdat::HCharCoolMax, t_atmdat::HCharExcIonOf, t_atmdat::HCharExcRecTo, t_atmdat::HCharHeatMax, t_atmdat::HCharHeatOn, t_thermal::htot, ipH1s, ipH_LIKE, ipHELIUM, ipHYDROGEN, lgCTDataDefined, LIMELM, MAX2, MIN2, StatesElem, thermal, and t_dense::xIonDense.

STATIC double HCTIon ( long int  ion,
long int  nelem 
)

Definition at line 692 of file atmdat_char_tran.cpp.

References ASSERT, CTIonData, DEBUG_ENTRY, lgCTDataDefined, t_trace::lgTrace, MakeHCTData(), MAX2, MIN2, phycon, t_phycon::te, and trace.

Referenced by ChargTranEval(), and ChargTranPun().

Here is the call graph for this function:

STATIC double HCTRecom ( long int  ion,
long int  nelem 
)

Definition at line 760 of file atmdat_char_tran.cpp.

References ASSERT, atmdat, CTRecombData, DEBUG_ENTRY, t_atmdat::HCTAlex, lgCTDataDefined, t_trace::lgTrace, MakeHCTData(), MAX2, MIN2, phycon, sexp(), t_phycon::te, and trace.

Referenced by ChargTranEval(), and ChargTranPun().

Here is the call graph for this function:

STATIC void MakeHCTData ( void   ) 

Definition at line 852 of file atmdat_char_tran.cpp.

References CTIonData, CTRecombData, DEBUG_ENTRY, and e2().

Referenced by HCTIon(), and HCTRecom().

Here is the call graph for this function:


Variable Documentation

double CTIonData[LIMELM][4][8] [static]

Definition at line 36 of file atmdat_char_tran.cpp.

Referenced by ChargTranSumHeat(), HCTIon(), and MakeHCTData().

double CTRecombData[LIMELM][4][7] [static]

Definition at line 37 of file atmdat_char_tran.cpp.

Referenced by ChargTranSumHeat(), HCTRecom(), and MakeHCTData().

bool lgCTDataDefined = false [static]

Definition at line 40 of file atmdat_char_tran.cpp.

Referenced by ChargTranSumHeat(), HCTIon(), and HCTRecom().


Generated on Mon Feb 16 12:01:44 2009 for cloudy by  doxygen 1.4.7