cloudy  trunk
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 
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;
134 
137  long int *nAverageList;
139  char ***chAverageType;
146 
148  FILE *ipPnunit[LIMPUN];
149 
153 
155  long int npunch;
156 
158  char chPunch[LIMPUN][5];
159 
161  char chOpcTyp[LIMPUN][5];
162 
167 
171 
175 
180 
183 
188 
190  char chPunchArgs[LIMPUN][5];
191 
195 
197  bool lgFITS[LIMPUN];
198 
202 
204  char chConPunEnr[LIMPUN][5];
205 
207  long int ipConPun;
208 
212 
216 
218  bool lgFLUSH;
219 
223 
228 
233 
235  long int cp_npun;
236 
240  char chPunRltType[7];
241 
245  FILE* ipPoint;
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 */
264 
266  FILE* ioRecom;
267  bool lgioRecom;
268 
271  long int LinEvery;
273 
275  long int ncPunchSkip;
276 
280 
285 
286  } punch;
287 
288 #endif /* _PUNCH_H_ */

Generated for cloudy by doxygen 1.8.3.1