#include "cddefines.h"
#include "cddrive.h"
#include "physconst.h"
#include "elementnames.h"
#include "input.h"
#include "geometry.h"
#include "prt.h"
#include "opacity.h"
#include "optimize.h"
#include "rfield.h"
#include "map.h"
#include "atomfeii.h"
#include "h2.h"
#include "mole.h"
#include "hmi.h"
#include "version.h"
#include "grainvar.h"
#include "parse.h"
#include "grid.h"
#include "punch.h"
Go to the source code of this file.
Defines | |
#define | MAX_HEADER_SIZE 2000 |
Functions | |
static void | ChkUnits (char *chCard) |
void | ParsePunch (char *chCard) |
void | PunchFilesInit (void) |
void | ClosePunchFiles (void) |
Variables | |
static bool | lgNoClobber [LIMPUN] |
static bool | lgPunConv_noclobber |
static bool | lgDROn_noclobber |
static bool | lgPunPoint_noclobber |
static bool | lgioRecom_noclobber |
static bool | lgQHPunchFile_noclobber |
#define MAX_HEADER_SIZE 2000 |
Referenced by ParsePunch().
static void ChkUnits | ( | char * | chCard | ) | [static] |
Definition at line 2516 of file parse_punch.cpp.
References cdEXIT(), t_punch::chConPunEnr, DEBUG_ENTRY, DEBUG_EXIT, ioQQQ, nMatch(), t_punch::npunch, and punch.
Referenced by ParsePunch().
void ClosePunchFiles | ( | void | ) |
close all open punch files
Definition at line 2458 of file parse_punch.cpp.
References DEBUG_ENTRY, DEBUG_EXIT, gv, ioMAP, t_punch::ioRecom, t_punch::ipDRout, t_punch::ipPnunit, t_punch::ipPoint, t_punch::ipPunConv, t_punch::lgDROn, lgDROn_noclobber, t_punch::lgioRecom, lgioRecom_noclobber, lgNoClobber, t_punch::lgPunConv, lgPunConv_noclobber, t_punch::lgPunPoint, lgPunPoint_noclobber, lgQHPunchFile_noclobber, t_punch::npunch, punch, and t_gv::QHPunchFile.
Referenced by cdClosePunchFiles(), cdEXIT(), and cloudy().
void ParsePunch | ( | char * | chCard | ) |
ParsePunch parse the punch command
*chCard |
Definition at line 53 of file parse_punch.cpp.
References ASSERT, cdEXIT(), cdGetLineList(), t_punch::chAverageSpeciesLabel, t_punch::chAverageType, t_punch::chConPunEnr, t_elementnames::chElementNameShort, t_elementnames::chElementSym, t_punch::chFilenamePrefix, ChkUnits(), t_hmi::chLab, chLabel, t_punch::chLineListLabel, t_punch::chOpcTyp, t_punch::chPunch, t_punch::chPunchArgs, t_punch::chPunRltType, t_input::chTitle, t_version::chVersion, COmole, t_punch::cp_npun, DEBUG_ENTRY, DEBUG_EXIT, elementnames, t_FeII::fe2ener, t_FeII::fe2thresh, FeII, FFmtRead(), fixit(), geometry, GetElem(), GetQuote(), grid, gv, H2_ParsePunch(), hmi, input, INPUT_LINE_LENGTH, ioMAP, ioQQQ, t_punch::ioRecom, ipCARBON, t_punch::ipDRout, ipHELIUM, ipHYDROGEN, ipOXYGEN, t_punch::ipPnunit, t_punch::ipPoint, t_punch::ipPunConv, t_punch::lg_separate_iterations, t_punch::lgDROn, lgDROn_noclobber, t_punch::lgDRPLst, t_punch::lgHashEndIter, t_punch::lgioRecom, lgioRecom_noclobber, t_punch::lgLinEvery, lgNoClobber, t_optimize::lgNoVary, t_punch::lgOpenUnits, t_optimize::lgOptimr, t_grid::lgOutputTypeOn, t_punch::lgPunchEveryZone, t_rfield::lgPunchOpacityFine, t_punch::lgPunchToSeparateFiles, t_punch::lgPunContinuum, t_punch::lgPunConv, lgPunConv_noclobber, t_punch::lgPunHeader, t_punch::lgPunLstIter, t_punch::lgPunPoint, lgPunPoint_noclobber, lgQHPunchFile_noclobber, t_gv::lgQHPunLast, t_FeII::lgShortFe2, LIMELM, LIMPUN, t_punch::LinEvery, MALLOC, map, t_map::MapZone, MAX2, MAX_HEADER_SIZE, mole, N_H_MOLEC, t_punch::nAverage2ndPar, t_punch::nAverageIonList, t_punch::nAverageList, t_geometry::nend, t_FeII::nFeIILevel, t_punch::nLineList, nMatch(), NoNumb(), t_optimize::nOptimiz, t_punch::npunch, t_punch::nPunchEveryZone, t_mole::num_comole_calc, optimize, t_punch::punarg, punch, punch_average(), punch_colden(), punch_line(), Punch_Line_RT(), t_gv::QHPunchFile, t_map::RangeMap, rfield, sprt_wl(), TotalInsanity(), version, WAVNRYD, and t_punch::wlLineList.
Referenced by ParseCommands().
void PunchFilesInit | ( | void | ) |
initialize punch file pointers
Definition at line 2375 of file parse_punch.cpp.
References t_punch::cp_range_max, t_punch::cp_range_min, t_punch::cp_resolving_power, DEBUG_ENTRY, DEBUG_EXIT, grid, gv, ioMAP, t_punch::ioRecom, t_punch::ipDRout, t_punch::ipPnunit, t_punch::ipPoint, t_punch::ipPunConv, t_punch::lgDROn, lgDROn_noclobber, t_grid::lgGrid, t_punch::lgioRecom, lgioRecom_noclobber, lgNoClobber, t_punch::lgPunConv, lgPunConv_noclobber, t_punch::lgPunPoint, lgPunPoint_noclobber, lgQHPunchFile_noclobber, LIMPUN, punch, and t_gv::QHPunchFile.
Referenced by cdDrive().
bool lgDROn_noclobber [static] |
Definition at line 36 of file parse_punch.cpp.
Referenced by ClosePunchFiles(), ParsePunch(), and PunchFilesInit().
bool lgioRecom_noclobber [static] |
Definition at line 36 of file parse_punch.cpp.
Referenced by ClosePunchFiles(), ParsePunch(), and PunchFilesInit().
bool lgNoClobber[LIMPUN] [static] |
Definition at line 33 of file parse_punch.cpp.
Referenced by ClosePunchFiles(), ParsePunch(), and PunchFilesInit().
bool lgPunConv_noclobber [static] |
Definition at line 36 of file parse_punch.cpp.
Referenced by ClosePunchFiles(), ParsePunch(), and PunchFilesInit().
bool lgPunPoint_noclobber [static] |
Definition at line 36 of file parse_punch.cpp.
Referenced by ClosePunchFiles(), ParsePunch(), and PunchFilesInit().
bool lgQHPunchFile_noclobber [static] |
Definition at line 36 of file parse_punch.cpp.
Referenced by ClosePunchFiles(), ParsePunch(), and PunchFilesInit().