/home66/gary/public_html/cloudy/c08_branch/source/parse_punch.cpp File Reference

#include "cddefines.h"
#include "cddrive.h"
#include "physconst.h"
#include "elementnames.h"
#include "input.h"
#include "geometry.h"
#include "prt.h"
#include "optimize.h"
#include "rfield.h"
#include "hcmap.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"

Include dependency graph for parse_punch.cpp:

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 (bool lgFinal)

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
static bool lgTraceConvergeBase_noclobber


Define Documentation

#define MAX_HEADER_SIZE   2000

Referenced by ParsePunch().


Function Documentation

STATIC void ChkUnits ( char *  chCard  ) 

Definition at line 2599 of file parse_punch.cpp.

References cdEXIT, t_punch::chConPunEnr, DEBUG_ENTRY, ioQQQ, nMatch(), t_punch::npunch, and punch.

Referenced by ParsePunch().

Here is the call graph for this function:

void ClosePunchFiles ( bool  lgFinal  ) 

close all open punch files

Parameters:
lgFinal - close ALL files, regardless of "no clobber" status when true

Definition at line 2518 of file parse_punch.cpp.

References DEBUG_ENTRY, ioQQQ, t_punch::ipPnunit, t_punch::lgFITS, lgNoClobber, t_punch::npunch, and punch.

Referenced by cdClosePunchFiles(), cdDrive(), cdExit(), and cloudy().

void ParsePunch ( char *  chCard  ) 

ParsePunch parse the punch command

Parameters:
*chCard 

Definition at line 58 of file parse_punch.cpp.

References AS_LOCAL_ONLY, ASSERT, cdEXIT, cdGetLineList(), t_punch::chAverageSpeciesLabel, t_punch::chAverageType, t_punch::chConPunEnr, t_elementnames::chElementNameShort, t_elementnames::chElementSym, t_punch::chFilenamePrefix, ChkUnits(), chLabel, t_punch::chLineListLabel, t_punch::chOpcTyp, t_punch::chPunch, t_punch::chPunchArgs, t_punch::chPunRltType, t_input::chTitle, t_punch::cp_npun, DEBUG_ENTRY, elementnames, t_FeII::fe2ener, t_FeII::fe2thresh, FeII, FFmtRead(), fixit(), geometry, GetElem(), GetQuote(), grid, gv, H2_ParsePunch(), hcmap, input, INPUT_LINE_LENGTH, Singleton< T >::Inst(), ioMAP, ioQQQ, t_punch::ioRecom, ipCARBON, t_punch::ipDRout, ipHELIUM, ipHYDROGEN, ipOXYGEN, t_punch::ipPnunit, t_punch::ipPoint, t_punch::ipPunConv, t_punch::ipTraceConvergeBase, is_odd(), t_punch::lg_separate_iterations, t_punch::lgDRHash, t_punch::lgDROn, lgDROn_noclobber, t_punch::lgDRPLst, t_punch::lgFITS, t_punch::lgHashEndIter, t_punch::lgioRecom, lgioRecom_noclobber, t_punch::lgLineListRatio, t_punch::lgLinEvery, lgNoClobber, 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_punch::lgRealPunch, t_FeII::lgShortFe2, t_punch::lgTraceConvergeBase, lgTraceConvergeBase_noclobber, t_punch::lgTraceConvergeBaseHash, LIMELM, LIMPUN, t_punch::LinEvery, MALLOC, t_hcmap::MapZone, MAX2, MAX_HEADER_SIZE, 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, nSimThisCoreload, open_data(), optimize, t_punch::punarg, punch, punch_average(), punch_colden(), punch_line(), Punch_Line_RT(), t_gv::QHPunchFile, t_hcmap::RangeMap, rfield, sprt_wl(), TotalInsanity(), WAVNRYD, and t_punch::wlLineList.

Here is the call graph for this function:

void PunchFilesInit ( void   ) 

initialize punch file pointers

Definition at line 2424 of file parse_punch.cpp.

References ASSERT, t_punch::cp_range_max, t_punch::cp_range_min, t_punch::cp_resolving_power, DEBUG_ENTRY, grid, gv, t_punch::ioRecom, t_punch::ipDRout, t_punch::ipPnunit, t_punch::ipPoint, t_punch::ipPunConv, t_punch::ipTraceConvergeBase, t_punch::lgDROn, lgDROn_noclobber, t_grid::lgGrid, t_punch::lgioRecom, lgioRecom_noclobber, lgNoClobber, t_punch::lgPunConv, lgPunConv_noclobber, t_punch::lgPunHeader, t_punch::lgPunPoint, lgPunPoint_noclobber, lgQHPunchFile_noclobber, t_punch::lgRealPunch, t_punch::lgTraceConvergeBase, lgTraceConvergeBase_noclobber, LIMPUN, punch, and t_gv::QHPunchFile.

Referenced by InitCoreload().


Variable Documentation

bool lgDROn_noclobber [static]

Definition at line 35 of file parse_punch.cpp.

Referenced by ParsePunch(), and PunchFilesInit().

bool lgioRecom_noclobber [static]

Definition at line 35 of file parse_punch.cpp.

Referenced by ParsePunch(), and PunchFilesInit().

bool lgNoClobber[LIMPUN] [static]

Definition at line 32 of file parse_punch.cpp.

Referenced by ClosePunchFiles(), ParsePunch(), and PunchFilesInit().

bool lgPunConv_noclobber [static]

Definition at line 35 of file parse_punch.cpp.

Referenced by ParsePunch(), and PunchFilesInit().

bool lgPunPoint_noclobber [static]

Definition at line 35 of file parse_punch.cpp.

Referenced by ParsePunch(), and PunchFilesInit().

bool lgQHPunchFile_noclobber [static]

Definition at line 35 of file parse_punch.cpp.

Referenced by ParsePunch(), and PunchFilesInit().

bool lgTraceConvergeBase_noclobber [static]

Definition at line 35 of file parse_punch.cpp.

Referenced by ParsePunch(), and PunchFilesInit().


Generated on Mon Feb 16 12:10:38 2009 for cloudy by  doxygen 1.4.7