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