tfidle.cpp File Reference

#include "cddefines.h"
#include "physconst.h"
#include "opacity.h"
#include "iso.h"
#include "dense.h"
#include "phycon.h"
#include "continuum.h"
#include "trace.h"
#include "rfield.h"
#include "doppvel.h"
#include "radius.h"
#include "wind.h"
#include "path.h"
#include "thermal.h"

Include dependency graph for tfidle.cpp:

Go to the source code of this file.

Defines

#define N_TE_GFF   21L
#define N_PHOTON_GFF   145L
#define LIM   0.02
#define chLine_LENGTH   1000

Functions

static void tauff (void)
static void velset (void)
static void FillGFF (void)
static float InterpolateGff (long charge, double ERyd)
static int LinterpTable (float **t, float *v, long int lta, long int ltb, float x, float *a, long int *pipx)
static int LinterpVector (float **t, float *v, long lta, long ltb, float *yy, long ny, float **a)
static void fhunt (float *xx, long int n, float x, long int *j)
void tfidle (bool lgForceUpdate)

Variables

static long lgGffNotFilled = true
static float *** GauntFF
static float ** GauntFF_T
static float TeGFF [N_TE_GFF]
static float PhoGFF [N_PHOTON_GFF]


Define Documentation

#define chLine_LENGTH   1000

#define LIM   0.02

Referenced by tfidle().

#define N_PHOTON_GFF   145L

Definition at line 36 of file tfidle.cpp.

Referenced by FillGFF(), InterpolateGff(), and tfidle().

#define N_TE_GFF   21L

Definition at line 35 of file tfidle.cpp.

Referenced by FillGFF(), InterpolateGff(), and tfidle().


Function Documentation

static void fhunt ( float *  xx,
long int  n,
float  x,
long int *  j 
) [static]

Definition at line 1011 of file tfidle.cpp.

Referenced by LinterpTable().

static void FillGFF ( void   )  [static]

static float InterpolateGff ( long  charge,
double  ERyd 
) [static]

Definition at line 821 of file tfidle.cpp.

References t_phycon::alogte, ASSERT, cdEXIT(), DEBUG_ENTRY, DEBUG_EXIT, GauntFF, ioQQQ, MAX4, MIN4, N_PHOTON_GFF, N_TE_GFF, PhoGFF, phycon, and TeGFF.

Referenced by FillGFF().

Here is the call graph for this function:

static int LinterpTable ( float **  t,
float *  v,
long int  lta,
long int  ltb,
float  x,
float *  a,
long int *  pipx 
) [static]

Definition at line 944 of file tfidle.cpp.

References ASSERT, DEBUG_ENTRY, DEBUG_EXIT, and fhunt().

Referenced by tfidle().

Here is the call graph for this function:

static int LinterpVector ( float **  t,
float *  v,
long  lta,
long  ltb,
float *  yy,
long  ny,
float **  a 
) [static]

Definition at line 980 of file tfidle.cpp.

References ASSERT, DEBUG_ENTRY, and DEBUG_EXIT.

Referenced by tfidle().

static void tauff ( void   )  [static]

void tfidle ( bool  lgForceUpdate  ) 

tfidle update some temperature dependent variables

Parameters:
lgForceUpdate option to force update of all variables

Definition at line 44 of file tfidle.cpp.

References t_phycon::alnte, t_phycon::alogte, t_rfield::anu, t_rfield::anulog, ASSERT, cdEXIT(), t_dense::cdsqte, COLL_CONST, t_rfield::ContBoltz, DEBUG_ENTRY, DEBUG_EXIT, dense, t_dense::eden, t_dense::EdenHCorr, t_dense::EdenHontoHCorr, t_dense::edensqte, EVDEGK, FillGFF(), GauntFF, GauntFF_T, t_rfield::gff, t_thermal::halfte, t_dense::HCorrFac, t_dense::IonHigh, ioQQQ, ipH_LIKE, ipHYDROGEN, t_iso::ipIsoLevNIonCon, t_rfield::ipMaxBolt, iso, lgGffNotFilled, lgRfieldMalloced, t_trace::lgTrace, t_trace::lgTrGant, LIM, LIMELM, LinterpTable(), LinterpVector(), MAX2, N_PHOTON_GFF, N_TE_GFF, t_rfield::nflux, t_rfield::nupper, PhoGFF, phycon, POW2, rfield, SEXP_LIMIT, ShowMe(), t_phycon::sqlogz, t_phycon::sqrte, t_dense::SqrtEden, T1CM, tauff(), t_phycon::te, t_phycon::te0001, t_phycon::te0002, t_phycon::te0003, t_phycon::te0004, t_phycon::te0005, t_phycon::te0007, t_phycon::te001, t_phycon::te002, t_phycon::te003, t_phycon::te004, t_phycon::te005, t_phycon::te007, t_phycon::te01, t_phycon::te02, t_phycon::te03, t_phycon::te04, t_phycon::te05, t_phycon::te07, t_phycon::te10, TE1RYD, t_phycon::te20, t_phycon::te30, t_phycon::te32, t_phycon::te40, t_phycon::te70, t_phycon::te90, t_phycon::te_eV, t_phycon::te_ryd, t_thermal::te_update, t_phycon::te_wn, TeGFF, t_phycon::teinv, t_phycon::telogn, t_phycon::tesqrd, thermal, TorF(), trace, t_thermal::tsq1, velset(), and t_dense::xIonDense.

Referenced by AGN_He1_CS(), AGN_Hemis(), ChargTranPun(), ConvInitSolution(), ConvTempEdenIoniz(), CoolEvaluate(), CoolHeatError(), dgaunt(), HeCreate(), HelikeCheckRecomb(), HydroCollid(), ion_recombAGN(), IonCarbo(), iter_end_check(), map_do(), ParseConstant(), ParseTLaw(), PressureChange(), PresTotCurrent(), PunchDo(), PunchLineData(), RT_tau_init(), zero(), and ZoneStart().

Here is the call graph for this function:

static void velset ( void   )  [static]


Variable Documentation

float*** GauntFF [static]

Definition at line 37 of file tfidle.cpp.

Referenced by FillGFF(), InterpolateGff(), and tfidle().

float** GauntFF_T [static]

Definition at line 38 of file tfidle.cpp.

Referenced by FillGFF(), and tfidle().

long lgGffNotFilled = true [static]

Definition at line 33 of file tfidle.cpp.

Referenced by FillGFF(), and tfidle().

float PhoGFF[N_PHOTON_GFF] [static]

Definition at line 42 of file tfidle.cpp.

Referenced by FillGFF(), InterpolateGff(), and tfidle().

float TeGFF[N_TE_GFF] [static]

Definition at line 40 of file tfidle.cpp.

Referenced by FillGFF(), InterpolateGff(), and tfidle().


Generated for cloudy by doxygen 1.5.9