iLand
globalsettings.h
Go to the documentation of this file.
1#ifndef GLOBALSETTINGS_H
2#define GLOBALSETTINGS_H
3
4
5const int cPxSize = 2; // size of light grid (m)
6const int cRUSize = 100; // size of resource unit (m)
7const double cRUArea = 10000.; // area of a resource unit (m2)
8const int cHeightSize = 10; // size of a height grid pixel (m)
9const int cPxPerHeight = 5; // 10 / 2 LIF pixels per height pixel
10const int cPxPerRU = 50; // 100/2
11const int cHeightPerRU = 10; // 100/10 height pixels per resource unit
12const int cPxPerHectare = 2500; // pixel/ha ( 10000 / (2*2) )
13const double cHeightPixelArea = 100.; // 100m2 area of a height pixel
14
15// make sure file save dialogs work
16#define ILAND_GUI
17
20};
21
22#endif // GLOBALS_H
General settings and globally available data.
Definition: globalsettings.h:18
const int cPxPerHeight
Definition: globalsettings.h:9
const double cRUArea
Definition: globalsettings.h:7
const int cRUSize
Definition: globalsettings.h:6
const int cPxPerRU
Definition: globalsettings.h:10
const int cHeightSize
Definition: globalsettings.h:8
const int cHeightPerRU
Definition: globalsettings.h:11
const int cPxPerHectare
Definition: globalsettings.h:12
const int cPxSize
Definition: globalsettings.h:5
const double cHeightPixelArea
Definition: globalsettings.h:13