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 "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 | resetBltin (double *tnu, double *fluxlog, bool lgLog) |
STATIC void | read_hm05 (const char chFile[], double **tnuHM, double **fnuHM, long int *nhm, double redshift) |
void | ParseTable (Parser &p) |
int | lines_table () |
Variables | |
static string | chLINE_LIST |
static const int | NCRAB = 10 |
static double | tnucrb [NCRAB] |
static double | fnucrb [NCRAB] |
static const int | NRUBIN = 56 |
static double | tnurbn [NRUBIN] |
static double | fnurbn [NRUBIN] |
static const int | NCFL = 40 |
static double | cfle [NCFL] |
static double | cflf [NCFL] |
static const int | NKN120 = 11 |
static double | tnuakn [NKN120] |
static double | fnuakn [NKN120] |
static const int | NISM = 23 |
static double | tnuism [NISM] |
static double | fnuism [NISM] |
static const int | NHM96 = 14 |
static const double | tnuHM96 [NHM96] |
static const double | fnuHM96 [NHM96] |
static const int | NAGN = 8 |
static double | tnuagn [NAGN] |
static double | tslagn [NAGN] |
static const int | NDRAINE = 15 |
static double | tnudrn [NDRAINE] |
static double | tsldrn [NDRAINE] |
int lines_table | ( | ) |
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 2042 of file parse_table.cpp.
References cdGetLineList(), cdLine(), chLINE_LIST, DEBUG_ENTRY, ioQQQ, and prt_wl().
Referenced by lgCheckMonitors().
void ParseTable | ( | Parser & | p | ) |
ParseTable parse the table read command
*nqh | |
*chCard | |
*ar1 |
Definition at line 340 of file parse_table.cpp.
References AS_LOCAL_DATA_TRY, ASSERT, AtlasInterpolate(), AtmospheresAvail(), BIGFLOAT, cdEXIT, cfle, cflf, chLINE_LIST, CoStarInterpolate(), DEBUG_ENTRY, EVRYD, EXIT_FAILURE, EXIT_SUCCESS, Parser::FFmtRead(), FILENAME_PATH_LENGTH_2, fnuakn, fnucrb, fnuHM96, fnuism, fnurbn, FR1RYD, Parser::GetQuote(), GridInterpolate(), HIONPOT, IM_COSTAR_AGE_MZAMS, IM_COSTAR_MZAMS_AGE, IM_COSTAR_TEFF_LOGG, IM_COSTAR_TEFF_MODID, IM_ILLEGAL_MODE, input, ioQQQ, Kurucz79Interpolate(), lgCalled, Parser::lgEOL(), LIMEXT, LIMSPC, Parser::m_nqh, MDIM, MihalasInterpolate(), NAGN, NCELL, NCFL, NCRAB, NDRAINE, NHM96, NISM, NKN120, Parser::nMatch(), Parser::nMatchErase(), NRUBIN, open_data(), optimize, PI4, radius, RauchInterpolateCOWD(), RauchInterpolateHCa(), RauchInterpolateHelium(), RauchInterpolateHNi(), RauchInterpolateHpHe(), RauchInterpolateHydr(), RauchInterpolatePG1159(), read_hm05(), ReadTable(), resetBltin(), rfield, RYDLAM, SDIV(), SMALLFLOAT, Illuminate::SYMMETRIC, TL_BSTAR, TL_OBSTAR, TL_OSTAR, TlustyInterpolate(), tnuagn, tnuakn, tnucrb, tnudrn, tnuHM96, tnuism, tnurbn, TotalInsanity(), trace, tslagn, tsldrn, WernerInterpolate(), 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 133 of file parse_table.cpp.
References AS_LOCAL_DATA, ASSERT, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, FFmtRead(), ioQQQ, MALLOC, open_data(), read_whole_line(), RYDLAM, STATIC, and TotalInsanity().
Referenced by ParseTable().
STATIC void ReadTable | ( | const char * | fnam | ) |
Definition at line 2092 of file parse_table.cpp.
References AS_LOCAL_ONLY, cdEXIT, continuum, cpu, DEBUG_ENTRY, EXIT_FAILURE, fp_equal(), INPUT_LINE_LENGTH, ioQQQ, NCELL, NMD5, open_data(), read_whole_line(), rfield, STATIC, strchr_s(), and VERSION_TRNCON.
Referenced by ParseTable().
Definition at line 98 of file parse_table.cpp.
References ASSERT, rfield, and STATIC.
Referenced by ParseTable(), and ZeroContin().
STATIC void ZeroContin | ( | void | ) |
Definition at line 1775 of file parse_table.cpp.
References cfle, cflf, DEBUG_ENTRY, fnuakn, fnucrb, fnuism, fnurbn, resetBltin(), STATIC, tnuagn, tnuakn, tnucrb, tnudrn, tnuism, tnurbn, tslagn, and tsldrn.
Referenced by ParseTable().
|
static |
Definition at line 54 of file parse_table.cpp.
Referenced by ParseTable(), and ZeroContin().
|
static |
Definition at line 55 of file parse_table.cpp.
Referenced by ParseTable(), and ZeroContin().
|
static |
Definition at line 30 of file parse_table.cpp.
Referenced by lines_table(), and ParseTable().
|
static |
Definition at line 60 of file parse_table.cpp.
Referenced by ParseTable(), and ZeroContin().
|
static |
Definition at line 36 of file parse_table.cpp.
Referenced by ParseTable(), and ZeroContin().
|
static |
Definition at line 78 of file parse_table.cpp.
Referenced by ParseTable().
|
static |
Definition at line 65 of file parse_table.cpp.
Referenced by ParseTable(), and ZeroContin().
|
static |
Definition at line 45 of file parse_table.cpp.
Referenced by ParseTable(), and ZeroContin().
|
static |
Definition at line 82 of file parse_table.cpp.
Referenced by ParseTable().
|
static |
Definition at line 53 of file parse_table.cpp.
Referenced by ParseTable().
|
static |
Definition at line 34 of file parse_table.cpp.
Referenced by ParseTable().
|
static |
Definition at line 87 of file parse_table.cpp.
Referenced by ParseTable().
|
static |
Definition at line 70 of file parse_table.cpp.
Referenced by ParseTable().
|
static |
Definition at line 63 of file parse_table.cpp.
Referenced by ParseTable().
|
static |
Definition at line 58 of file parse_table.cpp.
Referenced by ParseTable().
|
static |
Definition at line 39 of file parse_table.cpp.
Referenced by ParseTable().
|
static |
Definition at line 83 of file parse_table.cpp.
Referenced by ParseTable(), and ZeroContin().
|
static |
Definition at line 59 of file parse_table.cpp.
Referenced by ParseTable(), and ZeroContin().
|
static |
Definition at line 35 of file parse_table.cpp.
Referenced by ParseTable(), and ZeroContin().
|
static |
Definition at line 88 of file parse_table.cpp.
Referenced by ParseTable(), and ZeroContin().
|
static |
Definition at line 72 of file parse_table.cpp.
Referenced by ParseTable().
|
static |
Definition at line 64 of file parse_table.cpp.
Referenced by ParseTable(), and ZeroContin().
|
static |
Definition at line 40 of file parse_table.cpp.
Referenced by ParseTable(), and ZeroContin().
|
static |
Definition at line 84 of file parse_table.cpp.
Referenced by ParseTable(), and ZeroContin().
|
static |
Definition at line 88 of file parse_table.cpp.
Referenced by ParseTable(), and ZeroContin().