GlobeEngine
HabitableZoneClassification.h
Go to the documentation of this file.
1 #ifndef ExoViewer_HabitableZoneClassfication_h
2 #define ExoViewer_HabitableZoneClassfication_h
3 
4 #include <ctype.h>
5 #include "OpenGL_Includes.h"
6 #include <math.h>
7 #include <vector>
8 #include <vmmlib/vmmlib.hpp>
9 
10 namespace geAstro{
11 
13  {
15  double recentVenus;
18  double earlyMars;
21  };
22 
24  {
25  public:
28  void clear();
29  void loadClassifications(std::string _habZonesPath);
30 
32  double getTemperaturInKelvinForClass(int _idx);
33  double getRecentVenusForClass(int _idx);
34  double getEarlyMarsForClass(int _idx);
35  double getRunawayGreenhouseForClass(int _idx);
36  double getMaximumGreenhouseForClass(int _idx);
37 
38  int getTemperatureFromSpectralType(std::string st);
39 
40  private:
41  std::vector<HabitableZoneClassificationInfo> classes;
42  };
43 
44 }
45 
46 #endif
~HabitableZoneClassification()
Definition: HabitableZoneClassification.cpp:15
double getTemperaturInKelvinForClass(int _idx)
Definition: HabitableZoneClassification.cpp:80
Definition: HabitableZoneClassification.h:12
double pointOneMERunawayGreenhouse
Definition: HabitableZoneClassification.h:20
HabitableZoneClassification()
Definition: HabitableZoneClassification.cpp:10
void clear()
Definition: HabitableZoneClassification.cpp:20
int getTemperatureFromSpectralType(std::string st)
Definition: HabitableZoneClassification.cpp:49
double getRecentVenusForClass(int _idx)
Definition: HabitableZoneClassification.cpp:84
double runawayGreenhouse
Definition: HabitableZoneClassification.h:16
double getMaximumGreenhouseForClass(int _idx)
Definition: HabitableZoneClassification.cpp:96
Definition: HabitableZoneClassification.h:23
int getClassificationCount()
Definition: HabitableZoneClassification.cpp:76
Definition: AstroCommon.h:18
double getRunawayGreenhouseForClass(int _idx)
Definition: HabitableZoneClassification.cpp:92
double maximumGreenhouse
Definition: HabitableZoneClassification.h:17
double recentVenus
Definition: HabitableZoneClassification.h:15
double effTemperaturInKelvin
Definition: HabitableZoneClassification.h:14
double fiveMERunawayGreenhouse
Definition: HabitableZoneClassification.h:19
double earlyMars
Definition: HabitableZoneClassification.h:18
void loadClassifications(std::string _habZonesPath)
Definition: HabitableZoneClassification.cpp:25
double getEarlyMarsForClass(int _idx)
Definition: HabitableZoneClassification.cpp:88