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
PTSorghum.h File Reference

PTSorghum.h This file contains the headers for the Sorghum class
More...

Go to the source code of this file.

Classes

class  PTSorghum
 PTSorghum class
. More...
 

Macros

#define PTSORGHUM_BASE   30300
 
#define PT_S_START_FERTI   a_field->m_user[1]
 A flag used to indicate autumn ploughing status. More...
 

Enumerations

enum  PTSorghumToDo {
  pt_s_start = 1, pt_s_sleep_all_day = PTSORGHUM_BASE, pt_s_stubble_harrow, pt_s_ferti_p1,
  pt_s_ferti_s1, pt_s_spring_plough, pt_s_spring_harrow, pt_s_spring_sow,
  pt_s_irrigation_start1, pt_s_irrigation1, pt_s_harvest1, pt_s_hay_bailing1,
  pt_s_ferti_p2, pt_s_ferti_s2, pt_s_irrigation_start2, pt_s_irrigation2,
  pt_s_harvest2, pt_s_hay_bailing2, pt_s_foobar
}
 

Detailed Description

PTSorghum.h This file contains the headers for the Sorghum class

by Chris J. Topping, modified by Ant�nio Alves da Silva and reviewed by Elzbieta Ziolkowska.
The management plan information coded in this file was collaboratively created with input from Joana Alves and Jos� Paulo Sousa.
Version of March 2024.
All rights reserved.

Macro Definition Documentation

◆ PT_S_START_FERTI

#define PT_S_START_FERTI   a_field->m_user[1]

A flag used to indicate autumn ploughing status.

◆ PTSORGHUM_BASE

#define PTSORGHUM_BASE   30300

Enumeration Type Documentation

◆ PTSorghumToDo

Below is the list of things that a farmer can do if he is growing sorghum, 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
pt_s_start 
pt_s_sleep_all_day 
pt_s_stubble_harrow 
pt_s_ferti_p1 
pt_s_ferti_s1 
pt_s_spring_plough 
pt_s_spring_harrow 
pt_s_spring_sow 
pt_s_irrigation_start1 
pt_s_irrigation1 
pt_s_harvest1 
pt_s_hay_bailing1 
pt_s_ferti_p2 
pt_s_ferti_s2 
pt_s_irrigation_start2 
pt_s_irrigation2 
pt_s_harvest2 
pt_s_hay_bailing2 
pt_s_foobar 
pt_s_start
Definition: PTSorghum.h:57
pt_s_irrigation_start2
Definition: PTSorghum.h:71
pt_s_ferti_s1
Definition: PTSorghum.h:61
PTSorghumToDo
PTSorghumToDo
Definition: PTSorghum.h:56
pt_s_harvest1
Definition: PTSorghum.h:67
pt_s_hay_bailing2
Definition: PTSorghum.h:74
pt_s_foobar
Definition: PTSorghum.h:75
pt_s_spring_harrow
Definition: PTSorghum.h:63
pt_s_ferti_p1
Definition: PTSorghum.h:60
pt_s_irrigation1
Definition: PTSorghum.h:66
pt_s_irrigation2
Definition: PTSorghum.h:72
pt_s_ferti_s2
Definition: PTSorghum.h:70
PTSORGHUM_BASE
#define PTSORGHUM_BASE
Definition: PTSorghum.h:45
pt_s_stubble_harrow
Definition: PTSorghum.h:59
pt_s_sleep_all_day
Definition: PTSorghum.h:58
pt_s_ferti_p2
Definition: PTSorghum.h:69
pt_s_spring_sow
Definition: PTSorghum.h:64
pt_s_hay_bailing1
Definition: PTSorghum.h:68
pt_s_irrigation_start1
Definition: PTSorghum.h:65
pt_s_harvest2
Definition: PTSorghum.h:73
pt_s_spring_plough
Definition: PTSorghum.h:62