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
conv.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 _CONV_H_
5
#define _CONV_H_
6
15
void
ConvIterCheck
(
void
);
16
18
bool
lgConvPres
(
void
);
19
21
bool
lgConvTemp
(
void
);
22
24
bool
lgConvEden
(
void
);
25
28
int
ConvInitSolution
(
void
);
29
34
int
ConvPresTempEdenIoniz
(
void
);
35
40
int
PressureChange
(
double
dP_chng_factor );
41
45
int
ConvTempEdenIoniz
(
void
);
46
50
int
ConvEdenIoniz
(
void
);
51
54
int
ConvIoniz
(
void
);
55
60
void
ConvFail
(
61
/* chMode is one of "pres", "eden", "ioni", "pops", "grai", "temp" */
62
const
char
chMode[],
63
/* chDetail - string giving details about the convergence failure */
64
const
char
chDetail[] );
65
73
int
ConvBase
(
long
loopi);
74
78
int
eden_sum
(
void
);
79
83
EXTERN
struct
t_conv
{
84
86
char
*
chConvEden
;
87
90
char
*
chConvIoniz
;
91
94
char
*
chNotConverged
;
95
97
bool
lgConvIoniz
;
98
100
bool
lgConvPops
;
101
104
double
BadConvIoniz
[2];
105
107
long
int
nPres2Ioniz
;
110
long
int
limPres2Ioniz
;
111
115
long
int
nTotalIoniz
;
116
120
long
int
nTotalIoniz_start
;
121
124
bool
lgSearch
;
125
127
realnum
AverEdenError
;
128
130
realnum
BigHeatCoolError
;
131
realnum
AverHeatCoolError
;
132
134
realnum
BigPressError
;
135
realnum
AverPressError
;
136
138
bool
lgIonStageTrimed
;
139
141
bool
lgCmHOsc
;
142
144
bool
lgTOscl
;
145
147
bool
lgEdenOscl
;
148
151
bool
lgOscilOTS
;
152
154
bool
lgConvTemp
;
155
157
bool
lgConvPres
;
158
160
bool
lgConvEden
;
161
163
bool
lgLevel2_OTS_Imp
;
164
166
bool
lgLevel2_Cool_Imp
;
167
169
long
int
nTotalFailures
;
170
172
long
int
nTeFail
;
173
175
realnum
failmx
;
176
178
long
int
nPreFail
;
179
181
long
int
nNeFail
;
182
184
realnum
BigEdenError
;
185
187
long
int
nIonFail
;
188
190
long
int
nPopFail
;
191
193
long
int
nConvIonizFails
;
194
196
long
int
nGrainFail
;
197
199
long
int
LimFail
;
200
202
bool
lgMap
;
203
205
long
int
ifailz
[12];
206
209
char
chSolverEden
[20];
210
213
char
chSolverTemp
[20];
214
217
bool
lgBadStop
;
218
220
bool
lgAutoIt
;
221
223
realnum
autocv
;
224
228
double
EdenErrorAllowed
;
229
233
realnum
PressureErrorAllowed
;
234
237
realnum
HeatCoolRelErrorAllowed
;
238
241
double
*
hist_pres_density
, *
hist_pres_current
, *
hist_pres_correct
;
242
long
int
hist_pres_npres
,
hist_pres_nzone
,
hist_pres_limit
;
243
246
double
*
hist_temp_temp
, *
hist_temp_heat
, *
hist_temp_cool
;
247
long
int
hist_temp_ntemp
,
hist_temp_nzone
,
hist_temp_limit
;
248
249
}
conv
;
250
251
#endif
/* _CONV_H_ */
Generated for cloudy by
1.8.1.2