#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"
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 chLine_LENGTH 1000 |
#define LIM 0.02 |
Referenced by tfidle().
#define N_PHOTON_GFF 145L |
#define N_TE_GFF 21L |
static void fhunt | ( | float * | xx, | |
long int | n, | |||
float | x, | |||
long int * | j | |||
) | [static] |
static void FillGFF | ( | void | ) | [static] |
Definition at line 516 of file tfidle.cpp.
References t_phycon::alogte, cdEXIT(), chDataPath, chLine_LENGTH, cont_gaunt_calc(), FFmtRead(), FILENAME_PATH_LENGTH_2, GauntFF, GauntFF_T, INPUT_LINE_LENGTH, InterpolateGff(), ioQQQ, t_rfield::lgCompileGauntFF, lgDataPathSet, lgGffNotFilled, t_trace::lgTrace, LIMELM, MALLOC, N_PHOTON_GFF, N_TE_GFF, PhoGFF, phycon, rfield, t_phycon::te, TE1RYD, TeGFF, and trace.
Referenced by tfidle().
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().
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().
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] |
Definition at line 375 of file tfidle.cpp.
References t_rfield::anu, DEBUG_ENTRY, DEBUG_EXIT, dense, t_dense::eden, t_rfield::EnergyBremsThin, t_rfield::ipEnergyBremsThin, t_rfield::ipPlasma, lgOpacMalloced, t_rfield::lgPlasNu, MAX2, t_rfield::nflux, opac, t_rfield::plsfrq, t_rfield::plsfrqmax, rfield, t_opac::TauAbsGeo, and t_rfield::widflx.
Referenced by tfidle().
void tfidle | ( | bool | lgForceUpdate | ) |
tfidle update some temperature dependent variables
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().
static void velset | ( | void | ) | [static] |
Definition at line 447 of file tfidle.cpp.
References ATOMIC_MASS_UNIT, t_dense::AtomicWeight, t_DoppVel::AveVel, BOLTZMANN, DEBUG_ENTRY, DEBUG_EXIT, dense, t_radius::depth, t_DoppVel::DispScale, t_DoppVel::doppler, DoppVel, LIMELM, phycon, PI, POW2, radius, sexp(), t_phycon::te, t_DoppVel::TurbVel, wind, and t_wind::windv0.
Referenced by tfidle().
float*** GauntFF [static] |
float** GauntFF_T [static] |
long lgGffNotFilled = true [static] |
float PhoGFF[N_PHOTON_GFF] [static] |
float TeGFF[N_TE_GFF] [static] |