EQTIDE
options.h
1 /**************************************************************************
2  * options.h *
3  * *
4  * Written by Rory Barnes *
5  * *
6  * This file contains definitions for input options. *
7  * *
8  **************************************************************************/
9 
10 /*
11  * Input Options
12  *
13  * Add integer definition here
14  * Then add to
15  * 1) InitializeOptions
16  * 2) ReadInit
17  * 3) WriteLog
18  *
19  */
20 
21 /* UGH! This should really be done with enum! */
22 
23 #define OPT_AGE 10
24 
25 #define OPT_BACK 12
26 #define OPT_BACKFILE 14
27 #define OPT_BACKOUTPUTTIME 18
28 #define OPT_BACKSTOPTIME 20
29 #define OPT_BACKTIMESTEP 22
30 
31 #define OPT_DISCRETEROT 26
32 
33 #define OPT_FORW 28
34 #define OPT_FORWFILE 30
35 #define OPT_FORWOUTPUTTIME 34
36 #define OPT_FORWSTOPTIME 36
37 #define OPT_FORWTIMESTEP 38
38 
39 #define OPT_HALTDBLSYNC 42
40 #define OPT_HALTMAXECC 44
41 #define OPT_HALTMERGE 46
42 #define OPT_HALTMINECC 48
43 #define OPT_HALTMINPRIOBL 50
44 #define OPT_HALTMINSECOBL 52
45 #define OPT_HALTMINSEMI 54
46 #define OPT_HALTPOSDEDT 56
47 #define OPT_HALTPRILOCK 58
48 #define OPT_HALTSECLOCK 60
49 #define OPT_HALTSECSYNC 62
50 
51 #define OPT_INTEGRATION 63
52 
53 #define OPT_LOG 64
54 #define OPT_LOGFILE 66
55 
56 #define OPT_MINVALUE 68
57 
58 #define OPT_ORBECC 70
59 #define OPT_ORBMEANMOTION 72
60 #define OPT_ORBPER 74
61 #define OPT_ORBSEMI 76
62 
63 #define OPT_OUTDIGITS 78
64 #define OPT_OUTPUTORDER 80
65 #define OPT_OUTSCINOT 82
66 
67 #define OPT_PRIFORCEEQSPIN 84
68 #define OPT_PRIK2 86
69 #define OPT_PRIMASS 88
70 #define OPT_PRIMASSRAD 90
71 #define OPT_PRIMAXLOCKDIFF 92
72 #define OPT_PRIOBL 94
73 #define OPT_PRIQ 96
74 #define OPT_PRIRAD 98
75 #define OPT_PRIRG 100
76 #define OPT_PRISPINPER 102
77 #define OPT_PRISPINRATE 104
78 #define OPT_PRITAU 106
79 #define OPT_PRIVROT 108
80 
81 #define OPT_SECFORCEEQSPIN 110
82 #define OPT_SECK2 112
83 #define OPT_SECMASS 114
84 #define OPT_SECMASSRAD 116
85 #define OPT_SECMAXLOCKDIFF 118
86 #define OPT_SECOBL 120
87 #define OPT_SECQ 122
88 #define OPT_SECRAD 124
89 #define OPT_SECRG 126
90 #define OPT_SECSPINPER 128
91 #define OPT_SECSPINRATE 130
92 #define OPT_SECSYNCECC 132
93 #define OPT_SECTAU 134
94 #define OPT_SECVROT 136
95 
96 #define OPT_SYSTEMNAME 138
97 
98 #define OPT_TIDEMODEL 140
99 #define OPT_TIMESTEPCOEFF 141
100 
101 #define OPT_UNITANGLE 142
102 #define OPT_UNITLENGTH 144
103 #define OPT_UNITMASS 146
104 #define OPT_UNITTEMP 148
105 #define OPT_UNITTIME 150
106 
107 #define OPT_VARDT 151
108 #define OPT_VERBOSE 152
109 
110 /* This struct is for variable that store the line of redundant
111  options. */
112 
113 typedef struct {
114  int lPriSpinRate;
115  int lPriSpinPer;
116  int lPriVRot;
117  int lSecSpinRate;
118  int lSecSpinPer;
119  int lSecVRot;
120  int lSemi;
121  int lMeanMotion;
122  int lPeriod;
123 } LINE;
124 
125 /* This struct is for redundant variables */
126 
127 typedef struct {
128  double dPeriod;
129  double dPriSpinPer;
130  double dPriVRot;
131  double dSecSpinPer;
132  double dSecVRot;
133 } INPUT;
134 
135 
Definition: options.h:113
Definition: options.h:127