#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"
Include dependency graph for parse_table.cpp:
Go to the source code of this file.
Defines | |
#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 |
#define NCFL 40 |
#define NCRAB 10 |
#define NDRAINE 15 |
Definition at line 86 of file parse_table.cpp.
#define NHM96 14 |
#define NISM 23 |
Definition at line 62 of file parse_table.cpp.
#define NKN120 11 |
#define NRUBIN 56 |
Definition at line 38 of file parse_table.cpp.
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().
Here is the call graph for this function:
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, CALLOC, cdEXIT, cfle, cflf, t_rfield::chRSpec, t_rfield::chSpNorm, t_rfield::chSpType, DEBUG_ENTRY, t_rfield::emm, FFmtRead(), FILENAME_PATH_LENGTH_2, fnuakn, fnucrb, fnuHM96, GetQuote(), IM_ILLEGAL_MODE, INPUT_LINE_LENGTH, ioQQQ, t_rfield::lgBeamed, lgCalled, t_rfield::lgContMalloc, t_radius::lgRadiusKnown, LIMSPC, NAGN, NCELL, NCFL, NCRAB, NHM96, NKN120, nMatch(), t_rfield::nspec, PI4, t_radius::Radius, radius, t_rfield::range, t_radius::rdfalt, read_hm05(), rfield, SDIV(), t_rfield::tFluxLog, tnuagn, tnuakn, tnucrb, tnuHM96, t_rfield::tNuRyd, TotalInsanity(), t_rfield::totpow, tslagn, t_rfield::tslop, and ZeroContin().
Referenced by ParseBackgrd(), and ParseTest().
Here is the call graph for this function:
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().
Here is the call graph for this function:
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().
Here is the call graph for this function:
double cfle[NCFL] [static] |
double cflf[NCFL] [static] |
char** chLabel [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(), Punch_Line_RT(), PutLine(), and states_propprint().
char chLINE_LIST[FILENAME_PATH_LENGTH] [static] |
double fnuakn[NKN120] [static] |
double fnucrb[NCRAB] [static] |
double fnuHM96[NHM96] [static] |
Initial value:
{-32.53342863,-19.9789,-20.4204,-20.4443,-20.5756,-20.7546, -21.2796,-21.6256,-21.8404,-21.4823,-22.2102,-22.9263,-23.32,-24.2865}
Definition at line 77 of file parse_table.cpp.
Referenced by ParseTable().
double fnuism[NISM] [static] |
double fnurbn[NRUBIN] |
Initial value:
{1.56E-20,1.55E-17,1.54E-14,1.53E-11,1.35E-08,1.34E-05,1.35E-02,3.62E-01,1.27E+01, 3.90E+01,1.48E+02,4.52E+02,1.02E+03,2.27E+03,8.69E+02,8.04E+02,6.58E+02,6.13E+02,6.49E+02,6.06E+02, 6.30E+02,5.53E+02,5.55E+02,5.24E+02,4.86E+02,4.49E+02,4.42E+02,3.82E+02,3.91E+02,2.91E+02,2.61E+02, 1.32E+02,1.20E+02,1.16E+02,9.56E+01,9.94E+01,9.10E+01,4.85E+01,7.53E+01,9.53E+01,8.52E+01,5.76E+01, 6.72E+01,5.20E+01,8.09E+00,3.75E+00,5.57E+00,3.80E+00,2.73E+00,2.22E+00,3.16E-01,1.26E-01,1.39E-01, 6.15E-02,3.22E-02,7.98E-03}
Definition at line 44 of file parse_table.cpp.
Referenced by ZeroContin().
long int nLINE_TABLE = 0 [static] |
double tnuagn[NAGN] [static] |
double tnuakn[NKN120] [static] |
double tnucrb[NCRAB] [static] |
double tnudrn[NDRAINE] [static] |
double tnuHM96[NHM96] [static] |
Initial value:
{-8,-1.722735683,-0.351545683,-0.222905683,-0.133385683, -0.127655683,-0.004575683,0.297544317,0.476753,0.476756,0.588704317, 0.661374317,1.500814317,2.245164317}
Definition at line 71 of file parse_table.cpp.
Referenced by ParseTable().
double tnuism[NISM] [static] |
double tnurbn[NRUBIN] |
Initial value:
{1.05E-08,1.05E-07,1.05E-06,1.04E-05,1.00E-04,1.00E-03,1.00E-02,3.01E-02,1.00E-01, 1.50E-01,2.50E-01,4.01E-01,6.01E-01,9.8E-01,9.96E-01,1.00E+00,1.02445,1.07266,1.12563,1.18411,1.23881, 1.29328,1.35881,1.42463,1.48981,1.55326,1.6166,1.68845,1.76698,1.8019,1.808,1.84567,1.9317,2.04891,2.14533, 2.19702,2.27941,2.37438,2.43137,2.49798,2.56113,2.59762,2.66597,2.80543,2.95069,3.02911,3.11182,3.22178, 3.3155,3.42768,3.50678,3.56157,3.61811,3.75211,3.89643,4.}
Definition at line 39 of file parse_table.cpp.
Referenced by ZeroContin().
double tslagn[NAGN] [static] |
double tsldrn[NDRAINE] [static] |
Definition at line 27 of file parse_table.cpp.
Referenced by fndstr(), lgCheckAsserts(), lines_table(), map_do(), PrtLinePres(), and RauchInitializeSub().