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
stars.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 _STARS_H_
5
#define _STARS_H_
6
7
9
#define MDIM 4
10
12
#define MNAM 6
13
16
typedef
enum
{
17
IM_ILLEGAL_MODE
=-1,
IM_RECT_GRID
,
IM_COSTAR_TEFF_MODID
,
18
IM_COSTAR_TEFF_LOGG
,
IM_COSTAR_MZAMS_AGE
,
IM_COSTAR_AGE_MZAMS
19
}
IntMode
;
20
21
typedef
enum
{
22
TL_BSTAR
,
TL_OSTAR
23
}
tl_grid
;
24
25
struct
process_counter
26
{
27
int
nFound
;
28
int
notProcessed
;
29
int
nOK
;
30
int
nFail
;
31
process_counter
() :
nFound
(0),
notProcessed
(0),
nOK
(0),
nFail
(0) {}
32
};
33
35
void
AtmospheresAvail
(
void
);
36
38
int
AtlasCompile
(
process_counter
& pc);
40
long
AtlasInterpolate
(
double
val[],
/* val[nval] */
41
long
*nval,
42
long
*ndim,
43
const
char
*chMetalicity,
44
const
char
*chODFNew,
45
bool
lgList,
46
double
*Tlow,
47
double
*Thigh);
48
50
int
CoStarCompile
(
process_counter
& pc);
52
long
CoStarInterpolate
(
double
val[],
/* requested model parameters */
53
long
*nval,
54
long
*ndim,
55
IntMode
imode,
/* which interpolation mode is requested */
56
bool
lgHalo,
/* flag indicating whether solar (==0) or halo (==1) abundances */
57
bool
lgList,
58
double
*val0_lo,
59
double
*val0_hi);
60
62
bool
GridCompile
(
const
char
*InName);
64
long
GridInterpolate
(
double
val[],
/* val[nval] */
65
long
*nval,
66
long
*ndim,
67
const
char
*FileName,
68
bool
lgList,
69
double
*Tlow,
70
double
*Thigh);
71
73
int
Kurucz79Compile
(
process_counter
& pc);
75
long
Kurucz79Interpolate
(
double
val[],
/* val[nval] */
76
long
*nval,
77
long
*ndim,
78
bool
lgList,
79
double
*Tlow,
80
double
*Thigh);
81
83
int
MihalasCompile
(
process_counter
& pc);
85
long
MihalasInterpolate
(
double
val[],
/* val[nval] */
86
long
*nval,
87
long
*ndim,
88
bool
lgList,
89
double
*Tlow,
90
double
*Thigh);
91
94
int
RauchCompile
(
process_counter
& pc);
96
long
RauchInterpolateHydr
(
double
val[],
/* val[nval] */
97
long
*nval,
98
long
*ndim,
99
bool
lgList,
100
double
*Tlow,
101
double
*Thigh);
103
long
RauchInterpolateHelium
(
double
val[],
/* val[nval] */
104
long
*nval,
105
long
*ndim,
106
bool
lgList,
107
double
*Tlow,
108
double
*Thigh);
110
long
RauchInterpolateHpHe
(
double
val[],
/* val[nval] */
111
long
*nval,
112
long
*ndim,
113
bool
lgList,
114
double
*Tlow,
115
double
*Thigh);
117
long
RauchInterpolatePG1159
(
double
val[],
/* val[nval] */
118
long
*nval,
119
long
*ndim,
120
bool
lgList,
121
double
*Tlow,
122
double
*Thigh);
124
long
RauchInterpolateHCa
(
double
val[],
/* val[nval] */
125
long
*nval,
126
long
*ndim,
127
bool
lgHalo,
128
bool
lgList,
129
double
*Tlow,
130
double
*Thigh);
132
long
RauchInterpolateHNi
(
double
val[],
/* val[nval] */
133
long
*nval,
134
long
*ndim,
135
bool
lgHalo,
136
bool
lgList,
137
double
*Tlow,
138
double
*Thigh);
139
141
bool
StarburstInitialize
(
const
char
chInName[],
142
const
char
chOutName[]);
144
bool
StarburstCompile
(
process_counter
& pc);
145
147
int
TlustyCompile
(
process_counter
& pc);
149
long
TlustyInterpolate
(
double
val[],
/* val[nval] */
150
long
*nval,
151
long
*ndim,
152
tl_grid
tlg,
153
const
char
*chMetalicity,
154
bool
lgList,
155
double
*Tlow,
156
double
*Thigh);
157
159
int
WernerCompile
(
process_counter
& pc);
161
long
WernerInterpolate
(
double
val[],
/* val[nval] */
162
long
*nval,
163
long
*ndim,
164
bool
lgList,
165
double
*Tlow,
166
double
*Thigh);
167
169
int
WMBASICCompile
(
process_counter
& pc);
171
long
WMBASICInterpolate
(
double
val[],
/* val[nval] */
172
long
*nval,
173
long
*ndim,
174
bool
lgList,
175
double
*Tlow,
176
double
*Thigh);
177
178
#endif
/* _STARS_H_ */
Generated for cloudy by
1.8.1.2