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

PTShrubPastures.h This file contains the headers for the ShrubPastures class
More...

Go to the source code of this file.

Classes

class  PTShrubPastures
 PTShrubPastures class
. More...
 

Macros

#define PTSHRUBPASTURES_BASE   31000
 
#define PT_SP1_CATTLEOUT_DATE   a_field->m_user[1]
 A flag used to indicate cattle out dates. More...
 
#define PT_SP2_CATTLEOUT_DATE   a_field->m_user[2]
 
#define PT_SP3_CATTLEOUT_DATE   a_field->m_user[3]
 
#define PT_SP_YEARS_AFTER_PLOUGH   a_field->m_user[4]
 

Enumerations

enum  PTShrubPasturesToDo {
  pt_sp_start = 1, pt_sp_sleep_all_day = PTSHRUBPASTURES_BASE, pt_sp_cattle_out1, pt_sp_cattle_is_out1,
  pt_sp_spring_plough, pt_sp_cattle_out2, pt_sp_cattle_is_out2, pt_sp_cattle_out3,
  pt_sp_cattle_is_out3, pt_sp_wait, pt_sp_foobar
}
 

Detailed Description

PTShrubPastures.h This file contains the headers for the ShrubPastures 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_SP1_CATTLEOUT_DATE

#define PT_SP1_CATTLEOUT_DATE   a_field->m_user[1]

A flag used to indicate cattle out dates.

◆ PT_SP2_CATTLEOUT_DATE

#define PT_SP2_CATTLEOUT_DATE   a_field->m_user[2]

◆ PT_SP3_CATTLEOUT_DATE

#define PT_SP3_CATTLEOUT_DATE   a_field->m_user[3]

◆ PT_SP_YEARS_AFTER_PLOUGH

#define PT_SP_YEARS_AFTER_PLOUGH   a_field->m_user[4]

◆ PTSHRUBPASTURES_BASE

#define PTSHRUBPASTURES_BASE   31000

Enumeration Type Documentation

◆ PTShrubPasturesToDo

Below is the list of things that a farmer can do if he is growing ShrubPastures, 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_sp_start 
pt_sp_sleep_all_day 
pt_sp_cattle_out1 
pt_sp_cattle_is_out1 
pt_sp_spring_plough 
pt_sp_cattle_out2 
pt_sp_cattle_is_out2 
pt_sp_cattle_out3 
pt_sp_cattle_is_out3 
pt_sp_wait 
pt_sp_foobar 
pt_sp_cattle_is_out2
Definition: PTShrubPastures.h:66
PTShrubPasturesToDo
PTShrubPasturesToDo
Definition: PTShrubPastures.h:59
pt_sp_start
Definition: PTShrubPastures.h:60
pt_sp_cattle_out3
Definition: PTShrubPastures.h:67
pt_sp_sleep_all_day
Definition: PTShrubPastures.h:61
pt_sp_cattle_out1
Definition: PTShrubPastures.h:62
pt_sp_cattle_is_out1
Definition: PTShrubPastures.h:63
pt_sp_spring_plough
Definition: PTShrubPastures.h:64
pt_sp_cattle_out2
Definition: PTShrubPastures.h:65
pt_sp_wait
Definition: PTShrubPastures.h:69
PTSHRUBPASTURES_BASE
#define PTSHRUBPASTURES_BASE
Definition: PTShrubPastures.h:45
pt_sp_cattle_is_out3
Definition: PTShrubPastures.h:68
pt_sp_foobar
Definition: PTShrubPastures.h:70