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