Loading [MathJax]/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
ITGrassland.h File Reference

ITGrassland.h This file contains the headers for the ITGrassland class
More...

Go to the source code of this file.

Classes

class  ITGrassland
 ITGrassland class
. More...
 

Macros

#define IT_G_FERTI_S1   a_field->m_user[1]
 
#define IT_G_FERTI_P1   a_field->m_user[2]
 
#define IT_G_BASE   50000
 

Enumerations

enum  ITGrasslandToDo {
  it_g_start = 1, it_g_sleep_all_day = IT_G_BASE, it_g_cutting1, it_g_cutting2,
  it_g_manure_s1, it_g_manure_p1, it_g_manure_s2, it_g_manure_p2,
  it_g_foobar
}
 

Detailed Description

ITGrassland.h This file contains the headers for the ITGrassland class

by Chris J. Topping, modified by Luna Kondrup Marcussen
Version of March 2022
All rights reserved.

With additions as noted in:
Doxygen formatted comments in July 2008

Macro Definition Documentation

◆ IT_G_BASE

#define IT_G_BASE   50000

◆ IT_G_FERTI_P1

#define IT_G_FERTI_P1   a_field->m_user[2]

◆ IT_G_FERTI_S1

#define IT_G_FERTI_S1   a_field->m_user[1]

Enumeration Type Documentation

◆ ITGrasslandToDo

\ Below is the list of things that a farmer can do if he is growing ITGrassland, at least following this basic plan. So all we have to do is figure out when to do the different things. Once we have done some kind of management, then an event is triggered and the fact that this particular management is done is registered with the particular polygon. This information is available for any ALMaSS components to inspect - e.g. animals & birds

Enumerator
it_g_start 
it_g_sleep_all_day 
it_g_cutting1 
it_g_cutting2 
it_g_manure_s1 
it_g_manure_p1 
it_g_manure_s2 
it_g_manure_p2 
it_g_foobar 
66  {
67  it_g_start = 1, // Compulsory, must always be 1 (one).
IT_G_BASE
#define IT_G_BASE
Definition: ITGrassland.h:56
it_g_sleep_all_day
Definition: ITGrassland.h:68
it_g_manure_s2
Definition: ITGrassland.h:73
it_g_manure_s1
Definition: ITGrassland.h:71
it_g_manure_p2
Definition: ITGrassland.h:74
it_g_manure_p1
Definition: ITGrassland.h:72
it_g_cutting2
Definition: ITGrassland.h:70
it_g_cutting1
Definition: ITGrassland.h:69
it_g_foobar
Definition: ITGrassland.h:75
it_g_start
Definition: ITGrassland.h:67
ITGrasslandToDo
ITGrasslandToDo
Definition: ITGrassland.h:66