File failed to load: https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/extensions/ams.js
ALMaSS  1.2 (after EcoStack, March 2024)
The Animal, Landscape and Man Simulation System
All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Plants.h File Reference
#include <vector>
#include <algorithm>
#include <cstdio>
#include <fstream>

Go to the source code of this file.

Classes

class  CropGrowth
 
class  PlantGrowthData
 

Enumerations

enum  Growth_Phases {
  janfirst = 0, sow, marchfirst, harvest1,
  harvest2, vegphase_foobar
}
 Growth phase indicator. More...
 

Functions

PlantGrowthDataCreatePlantGrowthData ()
 

Variables

const unsigned int MaxNoInflections = 15
 
class PlantGrowthDatag_crops
 
class PollenNectarDevelopmentDatag_nectarpollen
 

Enumeration Type Documentation

◆ Growth_Phases

Growth phase indicator.

janfirst = from Jan 1st sow = after sowing marchfirst = after march 1st harvest1 = after first harvest/cut harvest2 = after 2nd harvest/cut and subsequent ones (if different veg behaviour to '3')

Enumerator
janfirst 
sow 
marchfirst 
harvest1 
harvest2 
vegphase_foobar 
51  {
52  janfirst = 0,
53  sow,
54  marchfirst,
55  harvest1,
56  harvest2,
58 }

Function Documentation

◆ CreatePlantGrowthData()

PlantGrowthData* CreatePlantGrowthData ( )
843 {
844  if (g_crops == NULL)
845  {
846  g_crops = new PlantGrowthData;
847  }
848 
849  return g_crops;
850 }

References g_crops.

Referenced by main().

Variable Documentation

◆ g_crops

◆ g_nectarpollen

class PollenNectarDevelopmentData* g_nectarpollen

◆ MaxNoInflections

const unsigned int MaxNoInflections = 15
harvest1
Definition: Plants.h:55
marchfirst
Definition: Plants.h:54
sow
Definition: Plants.h:53
vegphase_foobar
Definition: Plants.h:57
janfirst
Definition: Plants.h:52
PlantGrowthData
Definition: Plants.h:79
harvest2
Definition: Plants.h:56
g_crops
class PlantGrowthData * g_crops
Definition: Plants.cpp:40