changa
3.5
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Friends
Macros
Groups
Pages
cooling.h
1
#ifndef COOLING_HINCLUDED
2
#define COOLING_HINCLUDED
3
4
/*
5
* Cooling includes initially from GASOLINE
6
*/
7
8
#ifdef COOLING_NONE
9
#include "param.h"
10
11
typedef
struct
CoolingParametersStruct
{
12
double
dParam1;
13
}
COOLPARAM
;
14
15
typedef
struct
CoolingPKDStruct
COOL
;
16
17
struct
CoolingPKDStruct
{
18
double
dTime;
19
};
20
21
inline
COOL
*CoolInit() {
return
NULL ;}
22
inline
void
CoolFinalize(
COOL
*cl ){};
23
inline
void
CoolAddParams(
COOLPARAM
*CoolParam,
PRM
) {};
24
#else
25
26
#ifdef COOLING_DISK
27
#include "cooling_disk.h"
28
#else
29
30
#ifdef COOLING_PLANET
31
#include "cooling_planet.h"
32
#else
33
34
#ifdef COOLING_COSMO
35
#include "cooling_cosmo.h"
36
#else
37
38
#ifdef COOLING_GRACKLE
39
#include "cooling_grackle.h"
40
#else
41
42
#ifdef COOLING_METAL
43
#include "cooling_metal.h"
44
#else
45
46
#ifdef COOLING_MOLECULARH
47
#include "cooling_metal_H2.h"
48
#else
49
50
#ifdef COOLING_BATE
51
#include "cooling_bate.h"
52
#else
53
54
#ifdef COOLING_BOLEY
55
#include "cooling_boley.h"
56
#else
57
58
#error "No valid cooling function specified"
59
60
#endif
61
#endif
62
#endif
63
#endif
64
#endif
65
#endif
66
#endif
67
#endif
68
69
#endif
70
71
#endif
CoolingParametersStruct
Input parameters for cooling.
Definition:
cooling_boley.h:56
prmContext
Object containing the parameter information.
Definition:
param.h:38
CoolingPKDStruct
Heating/Cooling context: parameters and tables.
Definition:
cooling_boley.h:83
Generated by
1.8.5