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

PTTurnipGrazed.h This file contains the headers for the TurnipGrazed class
More...

Go to the source code of this file.

Classes

class  PTTurnipGrazed
 PTTurnipGrazed class
. More...
 

Macros

#define PTTURNIPGRAZED_BASE   30500
 
#define PT_TG1_CATTLEOUT_DATE   a_field->m_user[1]
 A flag used to indicate cattle out dates. More...
 

Enumerations

enum  PTTurnipGrazedToDo {
  pt_tg_start = 1, pt_tg_sleep_all_day = PTTURNIPGRAZED_BASE, pt_tg_stubble_harrow, pt_tg_autumn_plough,
  pt_tg_autumn_harrow, pt_tg_autumn_sow, pt_tg_cattle_out, pt_tg_cattle_is_out,
  pt_tg_foobar
}
 

Detailed Description

PTTurnipGrazed.h This file contains the headers for the TurnipGrazed 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_TG1_CATTLEOUT_DATE

#define PT_TG1_CATTLEOUT_DATE   a_field->m_user[1]

A flag used to indicate cattle out dates.

◆ PTTURNIPGRAZED_BASE

#define PTTURNIPGRAZED_BASE   30500

Enumeration Type Documentation

◆ PTTurnipGrazedToDo

Below is the list of things that a farmer can do if he is growing turnip grazed, 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_tg_start 
pt_tg_sleep_all_day 
pt_tg_stubble_harrow 
pt_tg_autumn_plough 
pt_tg_autumn_harrow 
pt_tg_autumn_sow 
pt_tg_cattle_out 
pt_tg_cattle_is_out 
pt_tg_foobar 
56  {
57  pt_tg_start = 1, // Compulsory, must always be 1 (one).
66 
pt_tg_foobar
Definition: PTTurnipGrazed.h:65
PTTURNIPGRAZED_BASE
#define PTTURNIPGRAZED_BASE
Definition: PTTurnipGrazed.h:45
pt_tg_cattle_is_out
Definition: PTTurnipGrazed.h:64
pt_tg_autumn_harrow
Definition: PTTurnipGrazed.h:61
pt_tg_sleep_all_day
Definition: PTTurnipGrazed.h:58
pt_tg_cattle_out
Definition: PTTurnipGrazed.h:63
PTTurnipGrazedToDo
PTTurnipGrazedToDo
Definition: PTTurnipGrazed.h:56
pt_tg_autumn_plough
Definition: PTTurnipGrazed.h:60
pt_tg_start
Definition: PTTurnipGrazed.h:57
pt_tg_autumn_sow
Definition: PTTurnipGrazed.h:62
pt_tg_stubble_harrow
Definition: PTTurnipGrazed.h:59