cloudy trunk
Data Fields

t_punch Struct Reference

#include <punch.h>

Collaboration diagram for t_punch:
Collaboration graph
[legend]

Data Fields

long int * nLineList
char *** chLineListLabel
realnum ** wlLineList
bool * lgLineListRatio
long int * nAverageList
char *** chAverageType
char *** chAverageSpeciesLabel
int ** nAverageIonList
int ** nAverage2ndPar
FILE * ipPnunit [LIMPUN]
bool lgRealPunch [LIMPUN]
long int npunch
char chPunch [LIMPUN][5]
char chOpcTyp [LIMPUN][5]
bool lgPunchToSeparateFiles [LIMPUN]
bool lg_separate_iterations [LIMPUN]
bool lgPunHeader
bool lgPunContinuum
realnum punarg [LIMPUN][3]
bool lgPunchEveryZone [LIMPUN]
long int nPunchEveryZone [LIMPUN]
char chPunchArgs [LIMPUN][5]
bool lgPunLstIter [LIMPUN]
bool lgFITS [LIMPUN]
bool lgPunchFits
char chConPunEnr [LIMPUN][5]
long int ipConPun
bool lgHashEndIter [LIMPUN]
char chHashString [INPUT_LINE_LENGTH]
bool lgFLUSH
char chFilenamePrefix [INPUT_LINE_LENGTH]
realnum cp_range_min [LIMPUN]
realnum cp_range_max [LIMPUN]
realnum cp_resolving_power [LIMPUN]
long int cp_npun
char chPunRltType [7]
FILE * ipPoint
bool lgPunPoint
bool lgPunConv
FILE * ipPunConv
FILE * ipDRout
bool lgDROn
bool lgDRPLst
bool lgDRHash
bool lgTraceConvergeBase
bool lgTraceConvergeBaseHash
FILE * ipTraceConvergeBase
FILE * ioRecom
bool lgioRecom
long int LinEvery
bool lgLinEvery
long int ncPunchSkip
realnum WeakHeatCool
realnum PunchLWidth

Detailed Description

Definition at line 123 of file punch.h.


Field Documentation

chAverageSpeciesLabel is label for species

Definition at line 141 of file punch.h.

Referenced by ParsePunch(), and punch_average().

chAverageType is label for type of average

Definition at line 139 of file punch.h.

Referenced by ParsePunch(), and punch_average().

char t_punch::chConPunEnr[LIMPUN][5]

chConPunEnr - units of continuum in punch output

Definition at line 204 of file punch.h.

Referenced by AnuUnit(), ChkUnits(), ParsePunch(), and pun1Line().

this is a prefix that will be set at the start of all punch file names set punch prefix command, normally a null string

Definition at line 222 of file punch.h.

Referenced by InitDefaultsPreparse(), main(), ParsePunch(), and ParseSet().

this is the hash string, normally a set of hash marks, can be reset with set punch hash command

Definition at line 215 of file punch.h.

Referenced by ConvBase(), InitDefaultsPreparse(), ParseSet(), PunchDo(), PunchLineStuff(), and radius_first().

chLineListLabel is label for line list

Definition at line 129 of file punch.h.

Referenced by ParsePunch(), and PunchDo().

char t_punch::chOpcTyp[LIMPUN][5]

which opacity to punch out

Definition at line 161 of file punch.h.

Referenced by ParsePunch(), and punch_opacity().

char t_punch::chPunch[LIMPUN][5]

chPunch - what is it we want to punch? set in GetPunch, used in DoPunch

Definition at line 158 of file punch.h.

Referenced by H2_ParsePunch(), ParsePunch(), and PunchDo().

char t_punch::chPunchArgs[LIMPUN][5]

set of optional arguments for punch command, but as a string

Definition at line 190 of file punch.h.

Referenced by ParsePunch(), and PunchDo().

set with punch line intensities and punch results commands, says whether results arrays produced by routine PunResults1Line should be column or array

Definition at line 240 of file punch.h.

Referenced by ParsePunch(), and PunResults1Line().

long int t_punch::cp_npun

number of new punch continuum commands

Definition at line 235 of file punch.h.

Referenced by InitDefaultsPreparse(), ParsePunch(), and ParseSet().

max range of punch new continuum command

Definition at line 226 of file punch.h.

Referenced by ParseSet(), PunchFilesInit(), and PunchNewContinuum().

these are initialized in parsepunch.c, in routine PunchFilesInit min and max range of punch new continuum command

Definition at line 226 of file punch.h.

Referenced by ParseSet(), PunchFilesInit(), and PunchNewContinuum().

the resolving power of the rebinned continuum, set with set cpunch resolving 100 command, if not specified then native resolution will be kept

Definition at line 232 of file punch.h.

Referenced by ParseSet(), PunchFilesInit(), and PunchNewContinuum().

option to punch recombination coefficients to external file

Definition at line 266 of file punch.h.

Referenced by atmdat_3body(), atmdat_DielSupres(), ClosePunchFiles(), ion_recomb(), IonCarbo(), iso_radiative_recomb(), ParsePunch(), and PunchFilesInit().

this global variable is index of punch command loop in dopunch

Definition at line 207 of file punch.h.

Referenced by AnuUnit(), pun1Line(), and PunchDo().

these control punching choice of dr - this is not really a punch command ipDRout is io unit, lgDROn says punching dr logic has been set, and lgDRPLst says to punch the last iteration

Definition at line 255 of file punch.h.

Referenced by ClosePunchFiles(), ConvBase(), ParsePunch(), PunchFilesInit(), radius_first(), and radius_next().

FILE* t_punch::ipPnunit[LIMPUN]

this is the file where we will direct the output

Definition at line 148 of file punch.h.

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

option to punch out pointers with punch pointers command ipPoint is punch file handle, lgPunPoint says whether we will do it

Definition at line 245 of file punch.h.

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

Definition at line 250 of file punch.h.

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

Definition at line 263 of file punch.h.

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

option to not insert end-of-iteration separator - used for punch files that create one line per iteration

Definition at line 170 of file punch.h.

Referenced by InitDefaultsPreparse(), ParsePunch(), and PunchDo().

Definition at line 256 of file punch.h.

Referenced by InitDefaultsPreparse(), ParsePunch(), and radius_first().

Definition at line 256 of file punch.h.

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

Definition at line 256 of file punch.h.

Referenced by InitDefaultsPreparse(), ParsePunch(), and radius_next().

bool t_punch::lgFITS[LIMPUN]

flag saying that this punch file is in FITS format

Definition at line 197 of file punch.h.

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

flush file after every iteration

Definition at line 218 of file punch.h.

Referenced by InitDefaultsPreparse(), ParseSet(), and PunchDo().

bool t_punch::lgHashEndIter[LIMPUN]

should hash marks be printed after every iteration? default is yes, set no with no hash option on punch command

Definition at line 211 of file punch.h.

Referenced by InitDefaultsPreparse(), ParsePunch(), and PunchDo().

flag saying whether to take ratio (true) of pairs

Definition at line 133 of file punch.h.

Referenced by ParsePunch(), and PunchDo().

Definition at line 272 of file punch.h.

Referenced by ParsePunch(), and PunchDo().

implement punch every option - lgPunchEveryZone true if want to punch every zone, nPunchEveryZone is number of zones to punch

Definition at line 186 of file punch.h.

Referenced by InitDefaultsPreparse(), ParsePunch(), and PunchDo().

option to say whether any FITS output should be punched, initialized to false, but turned to true after last grid exec.

Definition at line 201 of file punch.h.

this flag tells us whether to punch results of a grid to separate files for each grid point or all to the same file. Different for different punch commands

Definition at line 166 of file punch.h.

Referenced by ParsePunch().

flag saying whether any punch continuum commands were entered set true in parsecontinuum when punch continuum entered, used in PrtComment to warn if continuum punched with no iterations

Definition at line 179 of file punch.h.

Referenced by InitDefaultsPreparse(), ParsePunch(), and PrtComment().

unit number, and flag, for punching reason for continued iterations

Definition at line 249 of file punch.h.

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

flag saying whether we should punch headers. Used in grid punches so that the header only gets punched once.

Definition at line 174 of file punch.h.

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

bool t_punch::lgPunLstIter[LIMPUN]

lg flag lgPunLstIter for this punch option, do we only want to punch on last iteration?

Definition at line 194 of file punch.h.

Referenced by ParsePunch(), and PunchDo().

Definition at line 246 of file punch.h.

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

bool t_punch::lgRealPunch[LIMPUN]

is this a real punch command, or one of the similar options like punch dr, which is not done in punch files

Definition at line 152 of file punch.h.

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

Definition at line 261 of file punch.h.

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

Definition at line 261 of file punch.h.

Referenced by ConvBase(), InitDefaultsPreparse(), and ParsePunch().

option to punch line intensities every for every zone logical variable says whether LinEvery was set

Definition at line 271 of file punch.h.

Referenced by ParsePunch(), and PunchDo().

nAverage2ndPar is set of second parameters for averages

Definition at line 145 of file punch.h.

Referenced by ParsePunch(), and punch_average().

nAverageIonList is set of ions for averages

Definition at line 143 of file punch.h.

Referenced by ParsePunch(), and punch_average().

following are for punch averages option nAverageList is number of averages, -1 if not defined

Definition at line 137 of file punch.h.

Referenced by ParsePunch(), and punch_average().

set skip sets this variable, which says how many cells to skip in punch

Definition at line 275 of file punch.h.

Referenced by InitDefaultsPreparse(), ParseSet(), and PunchDo().

long int* t_punch::nLineList

following are for punch LineList option nLineList is number of em lines, -1 if not defined

Definition at line 127 of file punch.h.

Referenced by ParsePunch(), and PunchDo().

long int t_punch::npunch

number of punch commands entered

Definition at line 155 of file punch.h.

Referenced by ChkUnits(), ClosePunchFiles(), H2_ParsePunch(), InitDefaultsPreparse(), ParsePunch(), and PunchDo().

long int t_punch::nPunchEveryZone[LIMPUN]

Definition at line 187 of file punch.h.

Referenced by InitDefaultsPreparse(), ParsePunch(), and PunchDo().

punarg is set of optional arguments for the punch command

Definition at line 182 of file punch.h.

Referenced by H2_ParsePunch(), H2_PunchDo(), ParsePunch(), punch_opacity(), and PunchDo().

contrast factor for lines to continuum in punch output default is 1 (gives correct line intensities) and changed with set width command (enters width in km/sec)

Definition at line 284 of file punch.h.

Referenced by InitDefaultsPreparse(), ParseSet(), and PunchDo().

threshold for faintest cooling or heating to be punched default is set to 0.05 in scalar, can be reset with 'set weakheatcool'

Definition at line 279 of file punch.h.

Referenced by CoolPunch(), HeatPunch(), InitDefaultsPreparse(), and ParseSet().

wlLineList is set of emission lines for LineList

Definition at line 131 of file punch.h.

Referenced by ParsePunch(), and PunchDo().


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated for cloudy by doxygen 1.7.3