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

PTPermanentGrassGrazed.h This file contains the headers for the PermanentGrassGrazed class
More...

Go to the source code of this file.

Classes

class  PTPermanentGrassGrazed
 PTPermanentGrassGrazed class
. More...
 

Macros

#define PTPERMANENTGRASSLANDGRAZED_BASE   30000
 
#define PT_PGG_YEARS_AFTER_SOW   a_field->m_user[1]
 A flag used to indicate cattle out dates. More...
 
#define PT_PGG1_CATTLEOUT_DATE   a_field->m_user[2]
 
#define PT_PGG2_CATTLEOUT_DATE   a_field->m_user[3]
 
#define PT_PGG3_CATTLEOUT_DATE   a_field->m_user[4]
 
#define PT_PGG4_CATTLEOUT_DATE   a_field->m_user[5]
 
#define PT_PGG5_CATTLEOUT_DATE   a_field->m_user[6]
 

Enumerations

enum  PTPermanentGrassGrazedToDo {
  pt_pgg_start = 1, pt_pgg_sleep_all_day = PTPERMANENTGRASSLANDGRAZED_BASE, pt_pgg_cattle_out1, pt_pgg_cattle_is_out1,
  pt_pgg_cattle_out2, pt_pgg_cattle_is_out2, pt_pgg_cattle_out3, pt_pgg_cattle_is_out3,
  pt_pgg_cattle_out4, pt_pgg_cattle_is_out4, pt_pgg_cattle_out5, pt_pgg_cattle_is_out5,
  pt_pgg_ferti_p1, pt_pgg_ferti_s1, pt_pgg_ferti_p2, pt_pgg_ferti_s2,
  pt_pgg_ferti_s3, pt_pgg_ferti_p3, pt_pgg_ferti_p4, pt_pgg_ferti_s4,
  pt_pgg_ferti_p5, pt_pgg_ferti_s5, pt_pgg_plough, pt_pgg_sow,
  pt_pgg_sow_psc, pt_pgg_wait, pt_pgg_foobar
}
 

Detailed Description

PTPermanentGrassGrazed.h This file contains the headers for the PermanentGrassGrazed 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_PGG1_CATTLEOUT_DATE

#define PT_PGG1_CATTLEOUT_DATE   a_field->m_user[2]

◆ PT_PGG2_CATTLEOUT_DATE

#define PT_PGG2_CATTLEOUT_DATE   a_field->m_user[3]

◆ PT_PGG3_CATTLEOUT_DATE

#define PT_PGG3_CATTLEOUT_DATE   a_field->m_user[4]

◆ PT_PGG4_CATTLEOUT_DATE

#define PT_PGG4_CATTLEOUT_DATE   a_field->m_user[5]

◆ PT_PGG5_CATTLEOUT_DATE

#define PT_PGG5_CATTLEOUT_DATE   a_field->m_user[6]

◆ PT_PGG_YEARS_AFTER_SOW

#define PT_PGG_YEARS_AFTER_SOW   a_field->m_user[1]

A flag used to indicate cattle out dates.

◆ PTPERMANENTGRASSLANDGRAZED_BASE

#define PTPERMANENTGRASSLANDGRAZED_BASE   30000

Enumeration Type Documentation

◆ PTPermanentGrassGrazedToDo

Below is the list of things that a farmer can do if he is growing PermanentGrassGrazed, 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_pgg_start 
pt_pgg_sleep_all_day 
pt_pgg_cattle_out1 
pt_pgg_cattle_is_out1 
pt_pgg_cattle_out2 
pt_pgg_cattle_is_out2 
pt_pgg_cattle_out3 
pt_pgg_cattle_is_out3 
pt_pgg_cattle_out4 
pt_pgg_cattle_is_out4 
pt_pgg_cattle_out5 
pt_pgg_cattle_is_out5 
pt_pgg_ferti_p1 
pt_pgg_ferti_s1 
pt_pgg_ferti_p2 
pt_pgg_ferti_s2 
pt_pgg_ferti_s3 
pt_pgg_ferti_p3 
pt_pgg_ferti_p4 
pt_pgg_ferti_s4 
pt_pgg_ferti_p5 
pt_pgg_ferti_s5 
pt_pgg_plough 
pt_pgg_sow 
pt_pgg_sow_psc 
pt_pgg_wait 
pt_pgg_foobar 
61  {
62  pt_pgg_start = 1, // Compulsory, must always be 1 (one).
64  pt_pgg_cattle_out1,//Out means outside the barns. Out in the field to eat grass.
65  pt_pgg_cattle_is_out1,//Time that the catle is in the field.
74  pt_pgg_ferti_p1,//NPK in non-sowing year
75  pt_pgg_ferti_s1,//NPK in non-sowing year
76  pt_pgg_ferti_p2,//Slurry in sowing year
77  pt_pgg_ferti_s2,//Slurry in sowing year
78  pt_pgg_ferti_s3,//NPK in sowing year
79  pt_pgg_ferti_p3,//NPK in sowing year
80  pt_pgg_ferti_p4,//Calcium
81  pt_pgg_ferti_s4,//Calcium
82  pt_pgg_ferti_p5,//NPK
83  pt_pgg_ferti_s5,//NPK
85  pt_pgg_sow,
86  pt_pgg_sow_psc,//Sow with preseeding cultivator
89 
pt_pgg_cattle_is_out2
Definition: PTPermanentGrassGrazed.h:67
pt_pgg_ferti_p1
Definition: PTPermanentGrassGrazed.h:74
pt_pgg_ferti_p3
Definition: PTPermanentGrassGrazed.h:79
pt_pgg_cattle_is_out4
Definition: PTPermanentGrassGrazed.h:71
pt_pgg_sow_psc
Definition: PTPermanentGrassGrazed.h:86
pt_pgg_cattle_out4
Definition: PTPermanentGrassGrazed.h:70
pt_pgg_ferti_p2
Definition: PTPermanentGrassGrazed.h:76
pt_pgg_cattle_is_out3
Definition: PTPermanentGrassGrazed.h:69
pt_pgg_ferti_s5
Definition: PTPermanentGrassGrazed.h:83
pt_pgg_ferti_s3
Definition: PTPermanentGrassGrazed.h:78
pt_pgg_ferti_s1
Definition: PTPermanentGrassGrazed.h:75
pt_pgg_cattle_is_out5
Definition: PTPermanentGrassGrazed.h:73
pt_pgg_ferti_s2
Definition: PTPermanentGrassGrazed.h:77
pt_pgg_cattle_out5
Definition: PTPermanentGrassGrazed.h:72
pt_pgg_ferti_s4
Definition: PTPermanentGrassGrazed.h:81
pt_pgg_sow
Definition: PTPermanentGrassGrazed.h:85
pt_pgg_plough
Definition: PTPermanentGrassGrazed.h:84
pt_pgg_cattle_is_out1
Definition: PTPermanentGrassGrazed.h:65
pt_pgg_cattle_out2
Definition: PTPermanentGrassGrazed.h:66
pt_pgg_cattle_out3
Definition: PTPermanentGrassGrazed.h:68
pt_pgg_foobar
Definition: PTPermanentGrassGrazed.h:88
PTPERMANENTGRASSLANDGRAZED_BASE
#define PTPERMANENTGRASSLANDGRAZED_BASE
Definition: PTPermanentGrassGrazed.h:45
PTPermanentGrassGrazedToDo
PTPermanentGrassGrazedToDo
Definition: PTPermanentGrassGrazed.h:61
pt_pgg_start
Definition: PTPermanentGrassGrazed.h:62
pt_pgg_ferti_p4
Definition: PTPermanentGrassGrazed.h:80
pt_pgg_cattle_out1
Definition: PTPermanentGrassGrazed.h:64
pt_pgg_sleep_all_day
Definition: PTPermanentGrassGrazed.h:63
pt_pgg_wait
Definition: PTPermanentGrassGrazed.h:87
pt_pgg_ferti_p5
Definition: PTPermanentGrassGrazed.h:82