Vegetation¶
This page describes the class Vegetation
The Vegetation
class contains some vegetation-related data.
In earlier versions of QHG, different vegetation types (grass, shrub, tree) were estimated from climate data, and from them, the net primary production was then calculated.
Newer paleo simulations by Axel Timmermann directly provide Net Primary Production (NPP).
- Code:
Public Members¶
uint m_iNumCells;
Number of cells.
int m_iNumVegSpecies;
Number of vegetation species (currently unused).
double *m_adBaseANPP;
NPP (kg carbon per suare meter and year) as calculated from climate data.
double *m_adTotalANPP;
Modified NPP: increases due to water in the cell or closenes to the shore.
Public Methods¶
update
¶
int update(float fTime);
fTime
Current time.
Called for general update events (currently unused).
climateUpdate
¶
int climateUpdate(float fTime);
Called for climate updates (currently unused).