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
thermal.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 _THERMAL_H_
5
#define _THERMAL_H_
6
7
/* thermal.h */
8
9
#define NCOLNT 10000L
10
13
void
TempChange
(
14
double
TempNew ,
15
/* option to force update of all variables */
16
bool
lgForceUpdate);
17
21
void
TempChange
(
22
double
TempNew );
23
24
EXTERN
struct
t_thermal
{
25
27
double
dTemper
;
28
31
bool
lgPredNextTe
;
32
35
bool
lgTemperatureConstant
;
36
41
bool
lgTemperatureConstantCommandParsed
;
42
47
realnum
ConstTemp
;
48
50
realnum
ConstGrainTemp
;
51
55
long
int
nUnstable
;
56
bool
lgUnstable
;
57
59
realnum
thist
,
60
tlowst
;
61
63
bool
lgTeHigh
;
64
68
bool
lgEdnGTcm
;
69
71
bool
lgTLaw
;
72
75
bool
lgTeBD96
;
77
realnum
T0BD96
,
79
SigmaBD96
;
80
82
realnum
T0SN99
;
83
bool
lgTeSN99
;
84
90
realnum
collam
[
NCOLNT
];
91
double
cooling
[
NCOLNT
],
92
heatnt
[
NCOLNT
];
93
long
int
ncltot
;
94
# define NCOLNT_LAB_LEN 15
95
char
chClntLab
[
NCOLNT
][
NCOLNT_LAB_LEN
+1];
96
99
bool
lgCNegChk
;
100
102
realnum
CoolHeatMax
;
103
realnum
wlCoolHeatMax
;
104
char
chCoolHeatMax
[
NCOLNT_LAB_LEN
+1];
105
107
double
totcol
,
109
ctot
,
111
heatl
,
113
coolheat
;
114
116
double
dCooldT
;
117
119
double
tsq1
,
120
halfte
;
121
125
double
te_update
;
126
128
bool
lgCExtraOn
;
129
realnum
CoolExtra
,
130
cextpw
;
131
136
bool
lgCoolEvalOK
;
137
139
realnum
GBarMax
;
140
long
int
ipMaxExtra
;
141
143
double
char_tran_heat
,
char_tran_cool
;
144
146
double
HeatNet
,
147
149
HeatLowEnr
,
150
152
HeatHiEnr
,
153
155
htot
,
156
158
power
,
159
161
dHeatdT
;
162
164
double
heating
[
LIMELM
][
LIMELM
];
165
167
double
FreeFreeTotHeat
;
168
170
realnum
HeatLineMax
;
171
long
int
levlmax
,
172
ipHeatlmax
;
173
175
# define NGRID 100
176
177
realnum
TeGrid
[
NGRID
],
178
HtGrid
[
NGRID
],
179
ClGrid
[
NGRID
];
180
181
long
int
ipGrid
,
182
nZonGrid
[
NGRID
];
183
184
}
thermal
;
185
186
#endif
/* _THERMAL_H_ */
Generated for cloudy by
1.8.1.2