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
dynamics.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 _DYNAMICS_H_
5
#define _DYNAMICS_H_
6
8
void
DynaEndIter
(
void
);
9
11
void
DynaStartZone
(
void
);
12
14
void
DynaEndZone
(
void
);
15
17
void
DynaIonize
(
void
);
18
22
double
DynaPresChngFactor
(
void
);
23
25
void
DynaZero
(
void
);
26
28
void
DynaCreateArrays
(
void
);
29
33
void
ParseDynaWind
(
char
*chCard );
34
38
void
ParseDynaTime
(
char
*chCard );
39
41
void
DynaPrtZone
(
void
);
42
47
void
DynaPunch
(FILE* ipPnunit ,
char
chJob );
48
53
void
DynaPunchTimeDep
( FILE* ipPnunit ,
const
char
*chJob );
54
55
realnum
DynaFlux
(
double
depth);
56
58
EXTERN
struct
t_dynamics
59
{
61
bool
lgAdvection
;
62
64
double
Cool
,
Heat
,
dCooldT
,
dHeatdT
;
65
67
double
CoolMax
,
HeatMax
;
68
70
double
Rate
;
71
73
double
**
Source
/*[LIMELM][LIMELM+2]*/
;
74
76
double
*
H2_molec
;
77
double
*
CO_molec
;
78
80
bool
lgISO
[
NISO
];
81
83
bool
lgMETALS
;
84
86
bool
lgCoolHeat
;
87
90
bool
lg_coronal_time_init
;
91
93
bool
lgStatic
;
94
96
double
time_elapsed
;
97
99
bool
lgRecom
;
100
102
bool
lgStatic_completed
;
103
105
double
AdvecLengthInit
;
106
108
double
FluxCenter
;
109
111
char
chPresMode
[20];
112
114
double
ShockDepth
;
115
118
double
ShockMach
;
119
123
long
int
n_initial_relax
;
124
126
double
FluxScale
;
127
129
bool
lgFluxDScale
;
130
132
double
FluxIndex
;
133
135
double
dRad
;
136
138
double
oldFullDepth
;
139
149
/* the error from comparing this iteration with the previous one */
150
double
convergence_error
;
151
153
double
convergence_tolerance
;
154
156
double
discretization_error
;
157
159
double
error_scale1
,
error_scale2
;
160
163
bool
lgSetPresMode
;
164
166
realnum
dDensityDT
;
167
168
}
dynamics
;
169
170
#endif
/* _DYNAMICS_H_ */
Generated for cloudy by
1.8.1.1