forked from omega13a/stargen
-
Notifications
You must be signed in to change notification settings - Fork 1
/
solstation.cpp
174 lines (172 loc) · 11.9 KB
/
solstation.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
#include "solstation.h"
#include "const.h"
#include "planets.h"
catalog solstation;
void initSolStation()
{
solstation.setArg("W");
// L Mass Eff_Temp Spec Type Mass2 Eccen. SMAxis inclination ascending node Planets Designation InCel Name
star sol( 1.0, 1.00, 5780, "G2V", 0, 0, 0, 0, 0, mercury, "Sol", true, "The Solar System");
star ALFCenA( 1.519, 1.10, 5790, "G2V", 0.907, 0.52, 23.7, 82.22, 67.3, nullptr, "ALF Cen A", true, "Alpha Centauri A");
star ALFCenB( 0.5, 0.907, 5260, "K1V", 1.10, 0.52, 23.7, 82.22, 67.3, alfcentbb, "ALF Cen B", true, "Alpha Centauri B");
star EPSEri( 0.34, 0.82, 5084, "K2V", 0, 0, 0, 0, 0, eriEpsI, "EPS Eri", true, "Epsilon Eridani");
star Cyg61A( 0.153, 0.70, 4536, "K5V", 0.63, .49, 86.4, 132, 165, nullptr, "61 Cyg A", true, "61 Cygni A");
star TAUCet( 0.52, 0.783, 5344, "G8V", 0, 0, 0, 0, 0, taucetb, "TAU Cet", true, "Tau Ceti");
star Eri40( 0.46, 0.84, 5300, "K1V", (0.2+0.5), 0, 418., 0, 0, nullptr, "40 Eri A", true, "40 Eridani A");
star Oph70( 0.43, 0.90, 5300, "K0V", 0.70, 0.499, 23.2, 0, 0, nullptr, "70 Oph A", true, "70 Ophiuchi A");
star SIGDra( 0.428, 0.87, 5299, "G9V", 0, 0, 0, 0, 0, nullptr, "SIG Dra", true, "Sigma Draconis");
star HR5568( 0.156, 0.76, 4597, "K4V", (0.55+0.35), 0.20, 190., 0, 0, nullptr, "KX Lib", true, "HR 5568");
star ETACas( 1.29, 0.972, 6087, "G0V", 0.57, 0.497, AVE(69.0,71.0), 0, 0, nullptr, "ETA Cas A", true, "Eta Cassiopeiae A");
star HD191408( 0.23, 0.82, 4900, "K2V", 0.2, .5, 43., 0, 0, nullptr, "HD 191408", true, "HR 7703 A");
star Eri82( 0.74, 0.70, 5401, "G8V", 0, 0, 0, 0, 0, HD20794b, "82 Eri", true, "82 Eridani");
star DELPav( 1.22, 0.991, 5604, "G8IV", 0, 0, 0, 0, 0, nullptr, "DEL Pav", true, "Delta Pavonis");
star HD219134( 0, 0.794, 4710, "K3V", 0, 0, 0, 0, 0, nullptr, "HD 219134", true, "HR 8832");
star XIBoo( 0.49, 0.90, 5551, "G8V", 0.66, 0.5117, 33.6, 0, 0, nullptr, "XI Boo A", true, "Xi Bootis A");
star HD16160( 0.21, 0.81, 4841, "K3V", (0.21 + 0.08), 0, 1200., 0, 0, nullptr, "HD 16160", true, "HR 753 A");
star HD4628( 0.28, 0.7, 5829, "K2V", 0, 0, 0, 0, 0, nullptr, "HD 4628", true, "BD+04 123 (HR 222)");
star BETHyi( 3.494, 1.08, 5872, "G2IV", 0, 0, 0, 0, 0, BETHyib, "BET Hyi", true, "Beta Hydri");
star Psc107( 0.46, 0.83, 5242, "K1V", 0, 0, 0, 0, 0, nullptr, "107 Psc", true, "107 Piscium");
star PI3Ori( 2.822, 1.236, 6516, "F6V", 0, 0, 0, 0, 0, nullptr, "PI3 Ori", true, "Pi3 Orionis A");
star RHO1Eri( 0.28, 0.88, 0, "K0V", 0.86, 0.5344, 63.7, 0, 0, nullptr, "RHO1 Eri", true, "Rho Eridani A");
star RHO2Eri( 0.25, 0.86, 0, "K5V", 0.88, 0.5344, 63.7, 0, 0, nullptr, "RHO2 Eri", true, "Rho Eridani B");
star BETCVn( 1.151, 1.025, 5653, "G0V", 0, 0, 0, 0, 0, nullptr, "BET CVn", true, "Chara");
star XIUMaA( 1.1, 1.05, 5900, "G0V", 0.9, 0.398, 21.2, 0, 0, nullptr, "XI UMa A", true, "Xi Ursae Majoris Aa");
star XIUMaB( 0.67, .90, 5900, "G0V", 1.05, 0.398, 21.2, 0, 0, xiumabb, "XI UMa B", true, "Xi Ursae Majoris Ba");
star Vir61( 0.85, 0.94, 5585, "G5V", 0, 0, 0, 0, 0, nullptr, "61 Vir", true, "61 Virginis");
star ZETTuc( 1.26, 0.99, 5970, "F9V", 0, 0, 0, 0, 0, nullptr, "ZET Tuc", true, "Zeta Tucanae");
star CHI1Ori( 1.081, 0.979, 5955, "G0V", .15, 0.45, 6.4, 0, 0, nullptr, "CHI1 Ori", true, "Chi1 Orionis A");
star CHI1OriB( 0, .15, 0, "M6V", 0.979, 0.45, 6.4, 0, 0, nullptr, "CHI1 Ori B", true, "Chi1 Orionis B");
star Ari41( 0.42, 0.81, 5305, "G8V", .6, 0.901, 210, 0, 0, nullptr, "41 Ara", true, "41 Arae A");
star HR1614( 0.21, 0.838, 4945, "K3V", 0, 0, 0, 0, 0, nullptr, "HD 32147", true, "BD-05 1123 (HR 1614) A");
star HR7722( 0.385, 0.78, 5069, "K2V", 0, 0, 0, 0, 0, nullptr, "HD 192310", false, "CD-27 14659 (HR 7722)");
star GAMLep( 2.6, 1.23, 6299, "F6V", .63, .5, 864., 0, 0, nullptr, "GAM Lep", true, "Gamma Leporis A");
star GAMLepB( 0.25, 0.63, 0, "K2V", 1.23, .5, 864., 0, 0, nullptr, "GAM Lep B", false, "Gamma Leporis B");
star BETCom( 1.357, 1.15, 5936, "G0V", 0, 0, 0, 0, 0, nullptr, "BET Com", true, "Beta Comae Berenices");
star KAP1Cet( 0.85, 1.037, 5708, "G5V", 0, 0, 0, 0, 0, nullptr, "KAP1 Cet", true, "Kappa Ceti");
star GAMPav( 1.52, 1.21, 6112, "F9V", 0, 0, 0, 0, 0, nullptr, "GAM Pav", true, "Gamma Pavonis");
star HD102365( 0.85, 0.889, 5643, "G2V", 0.07, 0.6, 235., 0, 0, nullptr, "HD 102365", true, "HR 4523");
star UMa61( 0.609, 0.85, 5270, "G8V", 0, 0, 0, 0, 0, nullptr, "61 UMa", true, "61 Ursae Majoris");
star HR4458( 0.31, 0.87, 5400, "K0V", 0.08, 0.5, 80.5, 0, 0, nullptr, "HD 100623", false, "CD-32 8179 (HR 4458)");
star Oph12( AVE(.39,.45), 0.91, 5300, "K2V", 0, 0, 0, 0, 0, nullptr, "12 Oph", true, "12 Ophiuchi");
star HR511( 0.516, 0.825, 5407, "K0V", 0, 0, 0, 0, 0, nullptr, "HD 10780", false, "BD+63 238 (HR 511)");
star ALFMen( 0.832, 0.96, 5587, "G5V", 0, 0, 0, 0, 0, nullptr, "ALF Men", true, "Alpha Mensae");
star ZET1Ret( 0.69, 0.958, 5746, "G3V", 0.985, 0.5, 9000., 0, 0, nullptr, "ZET1 Ret", true, "Zeta 1 Reticuli");
star ZET2Ret( 0.82, 0.985, 5859, "G2V", 0.958, 0.5, 9000., 0, 0, nullptr, "ZET2 Ret", true, "Zeta 2 Reticuli");
star Boo44( 1.2, 1.1, 5900, "G0V", (0.89 + 0.66), 0.55, 48.5, 0, 0, nullptr, "44 Boo", true, "44 Bootis A");
star UMa47( 1.54, 1.08, 5887, "G1V", 0, 0, 0, 0, 0, UMa47I, "47 UMa", true, "47 Ursae Majoris");
star IOTHor( 1.64, 1.25, 6080, "G0V", 0, 0, 0, 0, 0, horIotI, "IOT Hor", true, "Iota Horologii");
star EPSInd( 0.22, 0.762, 4630, "K5V", (0.066+0.047), 0, 1500, 0, 0, nullptr, "EPS Ind", true, "Epsilon Indi");
star Oph70B( AVE(.09,.13), 0.70, 4350, "K4V", 0.90, 0.499, 23.2, 0, 0, nullptr, "70 Oph B", true, "70 Ophiuchi B");
star Oph36( 0.28, 0.85, 4843, "K2V", 0.85, 0.922, 88., 0, 0, nullptr, "36 Oph A", true, "36 Ophiuchi A");
star Oph36B( 0.27, 0.85, 5100, "K1V", 0.85, 0.922, 88., 0, 0, nullptr, "36 Oph B", false, "36 Ophiuchi B");
star HR6426( 0.125, 0.73, 0, "K3V", 0.69, 0.58, 12.6, 0, 0, nullptr, "Gliese 667 A", false, "MLO 4 (HR 6426) A");
star BD051844A( 0.15, 0.80, 4712, "K3V", 0.50, 0.5, 500., 0, 0, nullptr, "HD 50281", false, "BD-05 1844 A");
star Peg51( 1.3, 1.11, 5571, "G5V", 0, 0, 0, 0, 0, Bellerophon, "51 Peg", true, "51 Pegasi");
star Can55A( 0.643, 0.95, 5373, "G8V", 0.13, 0, 1100, 0, 0, can55e, "55 Cnc A", true, "55 Cancri A");
star Can55B( 0.0076, 0.13, 0, "M3V", 0.95, 0, 1100, 0, 0, nullptr, "55 Cnc B", true, "55 Cancri B");
star UPSAndA( 3.57, 1.27, 6074, "F8V", mass(0.00163), 0, 750, 0, 0, UPSAndAb, "UPS And A", true, "Upsilon Andromedae A");
star UPSAndB( 0.00163, 0, 0, "M4V", 1.27, 0, 750, 0, 0, nullptr, "UPS And B", true, "Upsilon Andromedae B");
star ETACasB( 0.06, 0.57, 4036, "K7V", 0.972, 0.497, 71.4, 0, 0, nullptr, "ETA Cas B", true, "Eta Cassiopeiae B");
star HD10180( 1.49, 1.062, 5911, "G1V", 0, 0, 0, 0, 0, hd10180b, "HD 10180", true, "HIP 7599");
star Gliese581( 0.0135, 0.31, 3480, "M3V", 0, 0, 0, 0, 0, gliese581e, "Gliese 581", true, "Gliese 581");
star HD10647( 1.41, 1.11, 6218, "F9V", 0, 0, 0, 0, 0, hd10647b, "HD 10647", true, "HR 506");
star Leo83A( 0.66, 0.95, 5509, "K0IV", 0.83, 0, 515, 0, 0, nullptr, "83 Leo A", true, "83 Leonis A");
star Leo83B( 0.419, 0.83, 4740, "K2V", 0.95, 0, 515, 0, 0, leo83Ba, "83 Leo B", true, "83 Leonis B");
star MuAri( 1.90, 1.10, 5820, "G3V", 0, 0, 0, 0, 0, muaric, "MU Ari", true, "Mu Arae");
star HD28185( 0.8596, 0.99, 5482, "G5V", 0, 0, 0, 0, 0, hd28185b, "HD 28185", true, "HIP 20723");
star HD40307( 0.23, 0.75, 4977, "K2V", 0, 0, 0, 0, 0, hd40307b, "HD 40307", true, "HIP 27887");
star Kepler22( 0.797227, 0.97, 5518, "G5V", 0, 0, 0, 0, 0, kepler22b, "Kepler-22", true, "Kepler-22");
star HIP10( 2.6716, 0, 0, "F6V", 0, 0, 0, 0, 0, nullptr, "HIP 10", true, "HIP 10");
star HD197027( abs2luminosity(4.72), 0.97, 5723, "G3V", 0, 0, 0, 0, 0, nullptr, "HD 197027", true, "HIP 102152");
star Sco18( 1.058, 1.02, 5433, "G2V", 0, 0, 0, 0, 0, nullptr, "18 Sco", true, "18 Scorpii");
star deltri( 1.12609, 1.09, 5944, "G0V", 0, 0, 0, 0, 0, nullptr, "DEL Tri", true, "Delta Trianguli");
deltri.setIsCircumbinary(true);
deltri.setMass2(0.75);
deltri.setLuminosity2(0.178473);
deltri.setEffTemp2(4493);
deltri.setSpecType2("K3V");
deltri.setDistance(0.11146);
deltri.setEccentricity(0.011);
star sirius( 25.4, 2.02, 9940, "A1V", 0.978, 0.5923, 19.8, 136.53, 44.57, nullptr, "ALF CMa", true, "Sirius");
star kepler11( 1.129974, 0.95, 5680, "G6V", 0, 0, 0, 0, 0, kepler11b, "Kepler-11", true, "Kepler-11");
star gliese667C( 0.0137, 0.31, 3700, "M2V", (0.73 + 0.69), 0, 230, 0, 0, gliese667Cb, "Gliese 667 C", true, "Gliese 667 C");
star Kepler283( 0.1045, 0.596, 4351, "", 0, 0, 0, 0, 0, kepler283b, "Kepler-283", true, "Kepler-283");
solstation.addStar(sol);
solstation.addStar(ALFCenA);
solstation.addStar(ALFCenB);
solstation.addStar(EPSEri);
solstation.addStar(Cyg61A);
solstation.addStar(TAUCet);
solstation.addStar(Eri40);
solstation.addStar(Oph70);
solstation.addStar(SIGDra);
solstation.addStar(HR5568);
solstation.addStar(ETACas);
solstation.addStar(HD191408);
solstation.addStar(Eri82);
solstation.addStar(DELPav);
solstation.addStar(HD219134);
solstation.addStar(XIBoo);
solstation.addStar(HD16160);
solstation.addStar(HD4628);
solstation.addStar(BETHyi);
solstation.addStar(Psc107);
solstation.addStar(PI3Ori);
solstation.addStar(RHO1Eri);
solstation.addStar(RHO2Eri);
solstation.addStar(BETCVn);
solstation.addStar(XIUMaA);
solstation.addStar(XIUMaB);
solstation.addStar(Vir61);
solstation.addStar(ZETTuc);
solstation.addStar(CHI1Ori);
solstation.addStar(CHI1OriB);
solstation.addStar(Ari41);
solstation.addStar(HR1614);
solstation.addStar(HR7722);
solstation.addStar(GAMLep);
solstation.addStar(GAMLepB);
solstation.addStar(BETCom);
solstation.addStar(KAP1Cet);
solstation.addStar(GAMPav);
solstation.addStar(HD102365);
solstation.addStar(UMa61);
solstation.addStar(HR4458);
solstation.addStar(Oph12);
solstation.addStar(HR511);
solstation.addStar(ALFMen);
solstation.addStar(ZET1Ret);
solstation.addStar(ZET2Ret);
solstation.addStar(Boo44);
solstation.addStar(UMa47);
solstation.addStar(IOTHor);
solstation.addStar(EPSInd);
solstation.addStar(Oph70B);
solstation.addStar(Oph36);
solstation.addStar(Oph36B);
solstation.addStar(HR6426);
solstation.addStar(BD051844A);
solstation.addStar(Peg51);
solstation.addStar(Can55A);
solstation.addStar(Can55B);
solstation.addStar(UPSAndA);
solstation.addStar(UPSAndB);
solstation.addStar(ETACasB);
solstation.addStar(HD10180);
solstation.addStar(Gliese581);
solstation.addStar(HD10647);
solstation.addStar(Leo83A);
solstation.addStar(Leo83B);
solstation.addStar(MuAri);
solstation.addStar(HD28185);
solstation.addStar(HD40307);
solstation.addStar(Kepler22);
solstation.addStar(HIP10);
solstation.addStar(HD197027);
solstation.addStar(Sco18);
solstation.addStar(deltri);
solstation.addStar(sirius);
solstation.addStar(kepler11);
solstation.addStar(gliese667C);
solstation.addStar(Kepler283);
}