cloudy
trunk
|
#include "cddefines.h"
#include "cddrive.h"
#include "physconst.h"
#include "optimize.h"
#include "rfield.h"
#include "trace.h"
#include "radius.h"
#include "input.h"
#include "stars.h"
#include "lines.h"
#include "prt.h"
#include "parse.h"
Go to the source code of this file.
Macros | |
#define | NCRAB 10 |
#define | NRUBIN 56 |
#define | NCFL 40 |
#define | NKN120 11 |
#define | NISM 23 |
#define | NHM96 14 |
#define | NAGN 8 |
#define | NDRAINE 15 |
Functions | |
STATIC void | ZeroContin (void) |
STATIC void | read_hm05 (const char chFile[], double **tnuHM, double **fnuHM, long int *nhm, double redshift) |
void | ParseTable (long int *nqh, char *chCard, realnum *ar1) |
STATIC void | resetBltin (double *tnu, double *fluxlog, bool lgLog) |
int | lines_table (void) |
Variables | |
static char ** | chLabel |
static realnum * | wl |
static long int | nLINE_TABLE = 0 |
static char | chLINE_LIST [FILENAME_PATH_LENGTH] |
static double | tnucrb [NCRAB] |
static double | fnucrb [NCRAB] |
double | tnurbn [NRUBIN] |
double | fnurbn [NRUBIN] |
static double | cfle [NCFL] |
static double | cflf [NCFL] |
static double | tnuakn [NKN120] |
static double | fnuakn [NKN120] |
static double | tnuism [NISM] |
static double | fnuism [NISM] |
static double | tnuHM96 [NHM96] |
static double | fnuHM96 [NHM96] |
static double | tnuagn [NAGN] |
static double | tslagn [NAGN] |
static double | tnudrn [NDRAINE] |
static double | tsldrn [NDRAINE] |
#define NAGN 8 |
Definition at line 81 of file parse_table.cpp.
Referenced by ParseTable().
#define NCFL 40 |
Definition at line 52 of file parse_table.cpp.
Referenced by ParseTable().
#define NCRAB 10 |
Definition at line 33 of file parse_table.cpp.
Referenced by ParseTable().
#define NDRAINE 15 |
Definition at line 86 of file parse_table.cpp.
Referenced by ParseTable().
#define NHM96 14 |
Definition at line 69 of file parse_table.cpp.
Referenced by ParseTable().
#define NISM 23 |
Definition at line 62 of file parse_table.cpp.
Referenced by ParseTable().
#define NKN120 11 |
Definition at line 57 of file parse_table.cpp.
Referenced by ParseTable().
#define NRUBIN 56 |
Definition at line 38 of file parse_table.cpp.
Referenced by ParseTable().
int lines_table | ( | void | ) |
lines_table invoked by table lines command, check if we can find all lines in a given list returns 0 if ok, n is n lines not found
Definition at line 1999 of file parse_table.cpp.
References cdLine(), chLabel, chLINE_LIST, DEBUG_ENTRY, ioQQQ, nLINE_TABLE, prt_wl(), and wl.
Referenced by lgCheckAsserts().
void ParseTable | ( | long int * | nqh, |
char * | chCard, | ||
realnum * | ar1 | ||
) |
ParseTable parse the table read command
*nqh | |
*chCard | |
*ar1 |
Definition at line 301 of file parse_table.cpp.
References ASSERT, AtlasInterpolate(), AtmospheresAvail(), CALLOC, cdEXIT, cdGetLineList(), cfle, cflf, chLabel, chLINE_LIST, t_rfield::chRSpec, t_rfield::chSpNorm, t_rfield::chSpType, t_optimize::chVarFmt, CoStarInterpolate(), DEBUG_ENTRY, t_rfield::egamry, t_rfield::emm, FFmtRead(), FILENAME_PATH_LENGTH_2, fnuakn, fnucrb, fnuHM96, fnuism, fnurbn, GetQuote(), GridInterpolate(), HIONPOT, IM_COSTAR_AGE_MZAMS, IM_COSTAR_MZAMS_AGE, IM_COSTAR_TEFF_LOGG, IM_COSTAR_TEFF_MODID, IM_ILLEGAL_MODE, input, INPUT_LINE_LENGTH, ioQQQ, t_rfield::ioTableRead, Kurucz79Interpolate(), t_rfield::lgBeamed, lgCalled, t_trace::lgConBug, t_rfield::lgContMalloc, t_rfield::lgMustBlockHIon, t_radius::lgRadiusKnown, t_rfield::lgTableRead, t_rfield::lgTimeVary, t_trace::lgTrace, t_optimize::lgVarOn, LIMEXT, LIMSPC, MDIM, MihalasInterpolate(), NAGN, NCELL, NCFL, NCRAB, NDRAINE, NHM96, NISM, NKN120, nLINE_TABLE, nMatch(), t_optimize::nparm, t_input::nRead, NRUBIN, t_rfield::nspec, t_rfield::nupper, t_optimize::nvarxt, t_optimize::nvfpnt, optimize, PI4, t_radius::Radius, radius, t_rfield::range, RauchInterpolateHCa(), RauchInterpolateHelium(), RauchInterpolateHNi(), RauchInterpolateHpHe(), RauchInterpolateHydr(), RauchInterpolatePG1159(), t_radius::rdfalt, read_hm05(), rfield, RYDLAM, SDIV(), t_rfield::tFluxLog, TL_BSTAR, TL_OSTAR, TlustyInterpolate(), tnuagn, tnuakn, tnucrb, tnudrn, tnuHM96, tnuism, tnurbn, t_rfield::tNuRyd, TotalInsanity(), t_rfield::totpow, trace, tslagn, tsldrn, t_rfield::tslop, t_optimize::varang, t_optimize::vincr, t_optimize::vparm, WernerInterpolate(), wl, WMBASICInterpolate(), and ZeroContin().
Referenced by ParseBackgrd(), ParseCommands(), and ParseTest().
STATIC void read_hm05 | ( | const char | chFile[], |
double ** | tnuHM, | ||
double ** | fnuHM, | ||
long int * | nhm, | ||
double | redshift | ||
) |
Definition at line 94 of file parse_table.cpp.
References AS_LOCAL_DATA, ASSERT, cdEXIT, DEBUG_ENTRY, FFmtRead(), ioQQQ, MALLOC, open_data(), read_whole_line(), RYDLAM, and TotalInsanity().
Referenced by ParseTable().
STATIC void resetBltin | ( | double * | tnu, |
double * | fluxlog, | ||
bool | lgLog | ||
) |
Definition at line 1698 of file parse_table.cpp.
References ASSERT, t_rfield::emm, and rfield.
Referenced by ZeroContin().
STATIC void ZeroContin | ( | void | ) |
Definition at line 1732 of file parse_table.cpp.
References cfle, cflf, DEBUG_ENTRY, fnuakn, fnucrb, fnuism, fnurbn, resetBltin(), tnuagn, tnuakn, tnucrb, tnudrn, tnuism, tnurbn, tslagn, and tsldrn.
Referenced by ParseTable().
|
static |
Definition at line 53 of file parse_table.cpp.
Referenced by ParseTable(), and ZeroContin().
|
static |
Definition at line 53 of file parse_table.cpp.
Referenced by ParseTable(), and ZeroContin().
|
static |
Definition at line 26 of file parse_table.cpp.
Referenced by atmdat_Chianti_readin(), atmdat_lamda_readin(), HeatPunch(), iso_cool(), lines(), lines_helium(), lines_hydro(), lines_table(), map_do(), ParseAssertResults(), ParseNorm(), ParsePunch(), ParseStop(), ParseTable(), Punch_Line_RT(), PunchDo(), PutLine(), and states_propprint().
|
static |
Definition at line 29 of file parse_table.cpp.
Referenced by lines_table(), and ParseTable().
|
static |
Definition at line 58 of file parse_table.cpp.
Referenced by ParseTable(), and ZeroContin().
|
static |
Definition at line 34 of file parse_table.cpp.
Referenced by ParseTable(), and ZeroContin().
|
static |
Definition at line 77 of file parse_table.cpp.
Referenced by ParseTable().
|
static |
Definition at line 63 of file parse_table.cpp.
Referenced by ParseTable(), and ZeroContin().
double fnurbn[NRUBIN] |
Definition at line 44 of file parse_table.cpp.
Referenced by ParseTable(), and ZeroContin().
|
static |
Definition at line 28 of file parse_table.cpp.
Referenced by lines_table(), and ParseTable().
|
static |
Definition at line 82 of file parse_table.cpp.
Referenced by ParseTable(), and ZeroContin().
|
static |
Definition at line 58 of file parse_table.cpp.
Referenced by ParseTable(), and ZeroContin().
|
static |
Definition at line 34 of file parse_table.cpp.
Referenced by ParseTable(), and ZeroContin().
|
static |
Definition at line 87 of file parse_table.cpp.
Referenced by ParseTable(), and ZeroContin().
|
static |
Definition at line 71 of file parse_table.cpp.
Referenced by ParseTable().
|
static |
Definition at line 63 of file parse_table.cpp.
Referenced by ParseTable(), and ZeroContin().
double tnurbn[NRUBIN] |
Definition at line 39 of file parse_table.cpp.
Referenced by ParseTable(), and ZeroContin().
|
static |
Definition at line 82 of file parse_table.cpp.
Referenced by ParseTable(), and ZeroContin().
|
static |
Definition at line 87 of file parse_table.cpp.
Referenced by ParseTable(), and ZeroContin().
|
static |
Definition at line 27 of file parse_table.cpp.
Referenced by fndstr(), H2_PunchDo(), lgCheckAsserts(), lines_hydro(), lines_table(), map_do(), ParseTable(), PrtLinePres(), PunResults1Line(), PutLine(), and RauchInitializeSub().