#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 "parser.h"#include "save.h"#include "thirdparty.h"#include "continuum.h"Go to the source code of this file.
Functions | |
| STATIC void | ReadTable (const char *fnam) |
| STATIC void | ZeroContin (void) |
| STATIC void | read_hm05 (const char chFile[], double **tnuHM, double **fnuHM, long int *nhm, double redshift) |
| void | ParseTable (Parser &p) |
| 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] |
| const int | NCRAB = 10 |
| static double | tnucrb [NCRAB] |
| static double | fnucrb [NCRAB] |
| const int | NRUBIN = 56 |
| double | tnurbn [NRUBIN] |
| double | fnurbn [NRUBIN] |
| const int | NCFL = 40 |
| static double | cfle [NCFL] |
| static double | cflf [NCFL] |
| const int | NKN120 = 11 |
| static double | tnuakn [NKN120] |
| static double | fnuakn [NKN120] |
| const int | NISM = 23 |
| static double | tnuism [NISM] |
| static double | fnuism [NISM] |
| const int | NHM96 = 14 |
| static double | tnuHM96 [NHM96] |
| static double | fnuHM96 [NHM96] |
| const int | NAGN = 8 |
| static double | tnuagn [NAGN] |
| static double | tslagn [NAGN] |
| const int | NDRAINE = 15 |
| static double | tnudrn [NDRAINE] |
| static double | tsldrn [NDRAINE] |
| 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 1949 of file parse_table.cpp.
References cdLine(), chLabel, chLINE_LIST, DEBUG_ENTRY, ioQQQ, nLINE_TABLE, prt_wl(), and wl.
Referenced by lgCheckMonitors().
| void ParseTable | ( | Parser & | p | ) |
ParseTable parse the table read command
| *nqh | ||
| *chCard | ||
| *ar1 |
Definition at line 307 of file parse_table.cpp.
References ASSERT, AtlasInterpolate(), AtmospheresAvail(), BIGFLOAT, 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, Parser::FFmtRead(), FILENAME_PATH_LENGTH_2, fnuakn, fnucrb, fnuHM96, fnuism, fnurbn, Parser::GetQuote(), GridInterpolate(), HIONPOT, t_rfield::Illumination, IM_COSTAR_AGE_MZAMS, IM_COSTAR_MZAMS_AGE, IM_COSTAR_TEFF_LOGG, IM_COSTAR_TEFF_MODID, IM_ILLEGAL_MODE, input, ioQQQ, Kurucz79Interpolate(), t_rfield::lgBeamed, lgCalled, t_trace::lgConBug, t_rfield::lgContMalloc, Parser::lgEOL(), t_rfield::lgMustBlockHIon, t_radius::lgRadiusKnown, t_rfield::lgTimeVary, t_trace::lgTrace, t_optimize::lgVarOn, LIMEXT, LIMSPC, Parser::m_nqh, MDIM, MihalasInterpolate(), NAGN, NCELL, NCFL, t_rfield::ncont, NCRAB, NDRAINE, NHM96, NISM, NKN120, nLINE_TABLE, Parser::nMatch(), Parser::nMatchErase(), t_optimize::nparm, t_input::nRead, NRUBIN, t_rfield::nShape, t_rfield::nupper, t_optimize::nvarxt, t_optimize::nvfpnt, optimize, PI4, pow(), t_radius::Radius, radius, t_rfield::range, RauchInterpolateHCa(), RauchInterpolateHelium(), RauchInterpolateHNi(), RauchInterpolateHpHe(), RauchInterpolateHydr(), RauchInterpolatePG1159(), t_radius::rdfalt, read_hm05(), ReadTable(), rfield, RYDLAM, SDIV(), Illuminate::SYMMETRIC, t_rfield::tFluxLog, TL_BSTAR, TL_OBSTAR, TL_OSTAR, TlustyInterpolate(), t_rfield::tNu, tnuagn, tnuakn, tnucrb, tnudrn, tnuHM96, tnuism, tnurbn, 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 100 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 ReadTable | ( | const char * | fnam | ) |
Definition at line 1988 of file parse_table.cpp.
References AS_LOCAL_ONLY, t_cpu::big_endian(), cdEXIT, continuum, cpu, DEBUG_ENTRY, t_rfield::egamry, t_rfield::emm, fp_equal(), INPUT_LINE_LENGTH, ioQQQ, t_continuum::mesh_md5sum, NCELL, t_rfield::ncont, NMD5, t_rfield::nShape, open_data(), read_whole_line(), rfield, t_rfield::RSFCheck, strchr_s(), t_rfield::tFluxLog, t_rfield::tNu, and VERSION_TRNCON.
Referenced by ParseTable().
| STATIC void resetBltin | ( | double * | tnu, | |
| double * | fluxlog, | |||
| bool | lgLog | |||
| ) |
Definition at line 1648 of file parse_table.cpp.
References ASSERT, t_rfield::emm, pow(), and rfield.
Referenced by ZeroContin().
| STATIC void ZeroContin | ( | void | ) |
Definition at line 1682 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().
Definition at line 59 of file parse_table.cpp.
Referenced by ParseTable(), and ZeroContin().
Definition at line 59 of file parse_table.cpp.
Referenced by ParseTable(), and ZeroContin().
char** chLabel [static] |
Definition at line 32 of file parse_table.cpp.
Referenced by atmdat_CHIANTI_readin(), atmdat_LAMDA_readin(), CHIANTI_Upsilon(), CoolEvaluate(), database_readin(), dBase_solve(), iso_cool(), lines(), lines_continuum(), lines_general(), lines_helium(), lines_hydro(), lines_table(), map_do(), ParseMonitorResults(), ParseNorm(), ParseSave(), ParseStop(), ParseTable(), PutLine_base(), Save_Line_RT(), SaveDo(), SaveHeat(), states_nelemfill(), and states_propprint().
char chLINE_LIST[FILENAME_PATH_LENGTH] [static] |
Definition at line 35 of file parse_table.cpp.
Referenced by lines_table(), and ParseTable().
Definition at line 64 of file parse_table.cpp.
Referenced by ParseTable(), and ZeroContin().
Definition at line 40 of file parse_table.cpp.
Referenced by ParseTable(), and ZeroContin().
{-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 83 of file parse_table.cpp.
Referenced by ParseTable().
Definition at line 69 of file parse_table.cpp.
Referenced by ParseTable(), and ZeroContin().
{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 50 of file parse_table.cpp.
Referenced by ParseTable(), and ZeroContin().
| const int NAGN = 8 |
Definition at line 87 of file parse_table.cpp.
Referenced by ParseTable().
| const int NCFL = 40 |
Definition at line 58 of file parse_table.cpp.
Referenced by ParseTable().
| const int NCRAB = 10 |
Definition at line 39 of file parse_table.cpp.
Referenced by ParseTable().
| const int NDRAINE = 15 |
Definition at line 92 of file parse_table.cpp.
Referenced by ParseTable().
| const int NHM96 = 14 |
Definition at line 75 of file parse_table.cpp.
Referenced by ParseTable().
| const int NISM = 23 |
Definition at line 68 of file parse_table.cpp.
Referenced by ParseTable().
| const int NKN120 = 11 |
Definition at line 63 of file parse_table.cpp.
Referenced by ParseTable().
long int nLINE_TABLE = 0 [static] |
Definition at line 34 of file parse_table.cpp.
Referenced by lines_table(), and ParseTable().
| const int NRUBIN = 56 |
Definition at line 44 of file parse_table.cpp.
Referenced by ParseTable().
Definition at line 88 of file parse_table.cpp.
Referenced by ParseTable(), and ZeroContin().
Definition at line 64 of file parse_table.cpp.
Referenced by ParseTable(), and ZeroContin().
Definition at line 40 of file parse_table.cpp.
Referenced by ParseTable(), and ZeroContin().
Definition at line 93 of file parse_table.cpp.
Referenced by ParseTable(), and ZeroContin().
{-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 77 of file parse_table.cpp.
Referenced by ParseTable().
Definition at line 69 of file parse_table.cpp.
Referenced by ParseTable(), and ZeroContin().
{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 45 of file parse_table.cpp.
Referenced by ParseTable(), and ZeroContin().
Definition at line 88 of file parse_table.cpp.
Referenced by ParseTable(), and ZeroContin().
Definition at line 93 of file parse_table.cpp.
Referenced by ParseTable(), and ZeroContin().
Definition at line 33 of file parse_table.cpp.
Referenced by fndstr(), H2_PunchDo(), lgCheckMonitors(), lines_continuum(), lines_hydro(), lines_table(), map_do(), ParseTable(), PrtLinePres(), and RauchInitializeSub().
1.6.1