hydrobricks
Loading...
Searching...
No Matches
GlobVars.h
1#ifndef GLOB_VARS_H
2#define GLOB_VARS_H
3
4// Constants
5namespace constants {
6constexpr double pi = 3.1415926535897932384626433832795;
7constexpr double dayInSec = 86400.0;
8constexpr double iceDensity = 900.0; // kg/m3
9constexpr double snowDensity = 250.0; // kg/m3
10constexpr double waterDensity = 1000.0; // kg/m3
11constexpr int daysInMonth[12] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
12} // namespace constants
13
14#endif // GLOB_VARS_H