1 #ifndef COVIDSIM_CONSTANTS_H_INCLUDED_ 2 #define COVIDSIM_CONSTANTS_H_INCLUDED_ 14 constexpr
double PI = 3.1415926535;
23 constexpr
int NMI = 1852;
30 constexpr
int ARCMINUTES_PER_DEGREE = 60;
37 constexpr
int DEGREES_PER_TURN = 360;
45 constexpr
int EARTH_CIRCUMFERENCE = NMI * ARCMINUTES_PER_DEGREE * DEGREES_PER_TURN;
50 constexpr
double EARTH_DIAMETER = EARTH_CIRCUMFERENCE / PI;
64 constexpr
double EARTHRADIUS = EARTH_DIAMETER / 2;
66 const int OUTPUT_DIST_SCALE = 1000;
67 const int MAX_PLACE_SIZE = 20000;
68 const int MAX_NUM_SEED_LOCATIONS = 10000;
70 const int CDF_RES = 20;
71 const int INFPROF_RES = 56;
73 const int NUM_AGE_GROUPS = 17;
74 const int AGE_GROUP_WIDTH = 5;
75 const int DAYS_PER_YEAR = 364;
76 const int INFECT_TYPE_MASK = 16;
77 const int MAX_GEN_REC = 20;
78 const int MAX_SEC_REC = 500;
79 const int INF_QUEUE_SCALE = 5;
80 const int MAX_TRAVEL_TIME = 14;
82 const int MAX_INFECTIOUS_STEPS = 2550;
85 const int MAX_CONTACTS = 500;
87 const int MAX_DUR_IMPORT_PROFILE = 10245;
89 const int MAX_AIRPORTS = 5000;
92 #define MAX_DIST_AIRPORT_TO_HOTEL 200000.0 93 const int MIN_HOTELS_PER_AIRPORT = 20;
94 const int HOTELS_PER_1000PASSENGER = 10;
96 const int MAX_NUM_INTERVENTION_CHANGE_TIMES = 100;
98 #endif // COVIDSIM_CONSTANTS_H_INCLUDED_