cloudy
trunk
Main Page
Related Pages
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
source
punch.h
Go to the documentation of this file.
1
/* This file is part of Cloudy and is copyright (C)1978-2008 by Gary J. Ferland and
2
* others. For conditions of distribution and use see copyright notice in license.txt */
3
4
#ifndef _PUNCH_H_
5
#define _PUNCH_H_
6
7
/* punch.h */
8
#define LIMPUN 100L
9
13
void
PunchDo
(
14
const
char
*chTime);
15
23
void
pun1Line
(
24
transition
* t ,
25
FILE * io ,
26
realnum
xLimit ,
27
long
index ,
28
double
population );
29
33
NORETURN
void
PunchLineData
(
34
FILE * io);
35
40
void
punch_opacity
(
41
FILE * io,
42
long
int
np);
43
48
void
PunchSpecial
(
49
FILE* io ,
50
const
char
*chTime);
51
58
void
Punch1LineData
(
59
transition
* t ,
60
FILE * io,
61
bool
lgCS_2 );
62
68
void
punch_line
(
69
FILE * ip,
70
const
char
*chDo,
71
/* true, return rel intensity, false, log of true intensity */
72
bool
lgLog3,
73
char
*chHeader);
74
79
void
punch_average
(
80
long
int
ipPun,
81
const
char
*chJob,
82
char
*chHeader );
83
89
void
punch_colden
(
90
/* the header for the file - the identification for the column densities */
91
char
header[] ,
92
/* the file we will write to */
93
FILE * ioPUN,
94
/* the job we shall do - one of */
95
const
char
*chDo );
96
101
void
Punch_Line_RT
(
102
FILE * ip,
103
const
char
*chJob );
104
109
void
punchFITSfile
(
110
FILE* io,
111
int
option );
112
116
void
HeatPunch
(FILE* io);
117
121
void
CoolPunch
(FILE * io);
122
123
EXTERN
struct
t_punch
{
124
127
long
int
*
nLineList
;
129
char
***
chLineListLabel
;
131
realnum
**
wlLineList
;
133
bool
*
lgLineListRatio
;
134
137
long
int
*
nAverageList
;
139
char
***
chAverageType
;
141
char
***
chAverageSpeciesLabel
;
143
int
**
nAverageIonList
;
145
int
**
nAverage2ndPar
;
146
148
FILE *
ipPnunit
[
LIMPUN
];
149
152
bool
lgRealPunch
[
LIMPUN
];
153
155
long
int
npunch
;
156
158
char
chPunch
[
LIMPUN
][5];
159
161
char
chOpcTyp
[
LIMPUN
][5];
162
166
bool
lgPunchToSeparateFiles
[
LIMPUN
];
167
170
bool
lg_separate_iterations
[
LIMPUN
];
171
174
bool
lgPunHeader
;
175
179
bool
lgPunContinuum
;
180
182
realnum
punarg
[
LIMPUN
][3];
183
186
bool
lgPunchEveryZone
[
LIMPUN
];
187
long
int
nPunchEveryZone
[
LIMPUN
];
188
190
char
chPunchArgs
[
LIMPUN
][5];
191
194
bool
lgPunLstIter
[
LIMPUN
];
195
197
bool
lgFITS
[
LIMPUN
];
198
201
bool
lgPunchFits
;
202
204
char
chConPunEnr
[
LIMPUN
][5];
205
207
long
int
ipConPun
;
208
211
bool
lgHashEndIter
[
LIMPUN
];
212
215
char
chHashString
[
INPUT_LINE_LENGTH
];
216
218
bool
lgFLUSH
;
219
222
char
chFilenamePrefix
[
INPUT_LINE_LENGTH
];
223
226
realnum
cp_range_min
[
LIMPUN
] ,
cp_range_max
[
LIMPUN
];
228
232
realnum
cp_resolving_power
[
LIMPUN
];
233
235
long
int
cp_npun
;
236
240
char
chPunRltType
[7];
241
245
FILE*
ipPoint
;
246
bool
lgPunPoint
;
247
249
bool
lgPunConv
;
250
FILE*
ipPunConv
;
251
255
FILE *
ipDRout
;
256
bool
lgDROn
,
257
lgDRPLst
,
258
lgDRHash
;
259
260
/* set true punch convergence base */
261
bool
lgTraceConvergeBase
,
262
lgTraceConvergeBaseHash
;
263
FILE *
ipTraceConvergeBase
;
264
266
FILE*
ioRecom
;
267
bool
lgioRecom
;
268
271
long
int
LinEvery
;
272
bool
lgLinEvery
;
273
275
long
int
ncPunchSkip
;
276
279
realnum
WeakHeatCool
;
280
284
realnum
PunchLWidth
;
285
286
}
punch
;
287
288
#endif
/* _PUNCH_H_ */
Generated for cloudy by
1.8.1.1