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

PTFodderMix.h This file contains the headers for the FodderMix class
More...

Go to the source code of this file.

Classes

class  PTFodderMix
 PTFodderMix class
. More...
 

Macros

#define PTFODDERMIX_BASE   30400
 
#define PT_FM1_CATTLEOUT_DATE   a_field->m_user[1]
 A flag used to indicate cattle out dates. More...
 

Enumerations

enum  PTFodderMixToDo {
  pt_fm_start = 1, pt_fm_sleep_all_day = PTFODDERMIX_BASE, pt_fm_stubble_harrow1, pt_fm_autumn_plough,
  pt_fm_ferti_p1, pt_fm_ferti_s1, pt_fm_ferti_p2, pt_fm_ferti_s2,
  pt_fm_stubble_harrow2, pt_fm_autumn_sow, pt_fm_cut_to_silage, pt_fm_harvest,
  pt_fm_hay_bailing, pt_fm_cattle_out, pt_fm_cattle_is_out, pt_fm_wait,
  pt_fm_foobar
}
 

Detailed Description

PTFodderMix.h This file contains the headers for the FodderMix 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_FM1_CATTLEOUT_DATE

#define PT_FM1_CATTLEOUT_DATE   a_field->m_user[1]

A flag used to indicate cattle out dates.

◆ PTFODDERMIX_BASE

#define PTFODDERMIX_BASE   30400

Enumeration Type Documentation

◆ PTFodderMixToDo

Below is the list of things that a farmer can do if he is growing fodder lucerne in the first year, 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_fm_start 
pt_fm_sleep_all_day 
pt_fm_stubble_harrow1 
pt_fm_autumn_plough 
pt_fm_ferti_p1 
pt_fm_ferti_s1 
pt_fm_ferti_p2 
pt_fm_ferti_s2 
pt_fm_stubble_harrow2 
pt_fm_autumn_sow 
pt_fm_cut_to_silage 
pt_fm_harvest 
pt_fm_hay_bailing 
pt_fm_cattle_out 
pt_fm_cattle_is_out 
pt_fm_wait 
pt_fm_foobar 
57  {
58  pt_fm_start = 1, // Compulsory, must always be 1 (one).
62  pt_fm_ferti_p1,//NPK
64  pt_fm_ferti_p2,//Calcium
73  pt_fm_wait,
75 
pt_fm_start
Definition: PTFodderMix.h:58
PTFodderMixToDo
PTFodderMixToDo
Definition: PTFodderMix.h:57
pt_fm_stubble_harrow2
Definition: PTFodderMix.h:66
pt_fm_autumn_plough
Definition: PTFodderMix.h:61
pt_fm_ferti_s1
Definition: PTFodderMix.h:63
pt_fm_cattle_out
Definition: PTFodderMix.h:71
pt_fm_wait
Definition: PTFodderMix.h:73
pt_fm_sleep_all_day
Definition: PTFodderMix.h:59
pt_fm_stubble_harrow1
Definition: PTFodderMix.h:60
pt_fm_harvest
Definition: PTFodderMix.h:69
pt_fm_hay_bailing
Definition: PTFodderMix.h:70
pt_fm_ferti_p1
Definition: PTFodderMix.h:62
pt_fm_foobar
Definition: PTFodderMix.h:74
pt_fm_cut_to_silage
Definition: PTFodderMix.h:68
pt_fm_ferti_s2
Definition: PTFodderMix.h:65
pt_fm_ferti_p2
Definition: PTFodderMix.h:64
pt_fm_autumn_sow
Definition: PTFodderMix.h:67
pt_fm_cattle_is_out
Definition: PTFodderMix.h:72
PTFODDERMIX_BASE
#define PTFODDERMIX_BASE
Definition: PTFodderMix.h:45