ALMaSS Hare ODDox  1.1
The hare model description following ODdox protocol
PLPotatoes.h File Reference

PLPotatoes.h This file contains the headers for the Potatoes class
More...

Go to the source code of this file.

Classes

class  PLPotatoes
 PLPotatoes class
. More...
 

Macros

#define PL_POT_DID_DESS   a_field->m_user[9]
 
#define PL_POT_DID_HILL   a_field->m_user[8]
 
#define PL_POT_DID_STRIG1   a_field->m_user[4]
 
#define PL_POT_DID_STRIG2   a_field->m_user[5]
 
#define PL_POT_DID_STRIG3   a_field->m_user[6]
 
#define PL_POT_FERTI_P1   a_field->m_user[1]
 A flag used to indicate autumn ploughing status. More...
 
#define PL_POT_FERTI_S1   a_field->m_user[2]
 
#define PL_POT_HILL_DATE   a_field->m_user[7]
 
#define PL_POT_STUBBLE_PLOUGH   a_field->m_user[3]
 
#define PLPOTATOES_BASE   20900
 

Enumerations

enum  PLPotatoesToDo {
  pl_pot_start = 1, pl_pot_sleep_all_day = PLPOTATOES_BASE, pl_pot_ferti_s1, pl_pot_ferti_p1,
  pl_pot_stubble_plough, pl_pot_autumn_harrow1, pl_pot_autumn_harrow2, pl_pot_stubble_harrow,
  pl_pot_ferti_p2, pl_pot_ferti_s2, pl_pot_ferti_p3, pl_pot_ferti_s3,
  pl_pot_winter_plough, pl_pot_spring_harrow, pl_pot_ferti_p4, pl_pot_ferti_s4,
  pl_pot_spring_harrow2, pl_pot_ferti_p5, pl_pot_ferti_s5, pl_pot_spring_plough,
  pl_pot_bed_forming, pl_pot_spring_planting, pl_pot_hilling1, pl_pot_hilling2,
  pl_pot_hilling3, pl_pot_herbicide1, pl_pot_hilling4, pl_pot_hilling5,
  pl_pot_hilling6, pl_pot_herbicide2, pl_pot_ferti_p6, pl_pot_ferti_s6,
  pl_pot_ferti_p7, pl_pot_ferti_s7, pl_pot_fungicide1, pl_pot_fungicide2,
  pl_pot_fungicide3, pl_pot_fungicide4, pl_pot_insecticide, pl_pot_dessication1,
  pl_pot_dessication2, pl_pot_harvest, pl_pot_ferti_p8, pl_pot_ferti_s8
}
 

Detailed Description

PLPotatoes.h This file contains the headers for the Potatoes class

by Chris J. Topping
modified by Elzbieta Ziolkowska
Version of October 2017
All rights reserved.

With additions as noted in:
Doxygen formatted comments in July 2008

Definition in file PLPotatoes.h.

Macro Definition Documentation

◆ PL_POT_DID_DESS

#define PL_POT_DID_DESS   a_field->m_user[9]

Definition at line 36 of file PLPotatoes.h.

◆ PL_POT_DID_HILL

#define PL_POT_DID_HILL   a_field->m_user[8]

Definition at line 35 of file PLPotatoes.h.

◆ PL_POT_DID_STRIG1

#define PL_POT_DID_STRIG1   a_field->m_user[4]

Definition at line 31 of file PLPotatoes.h.

◆ PL_POT_DID_STRIG2

#define PL_POT_DID_STRIG2   a_field->m_user[5]

Definition at line 32 of file PLPotatoes.h.

◆ PL_POT_DID_STRIG3

#define PL_POT_DID_STRIG3   a_field->m_user[6]

Definition at line 33 of file PLPotatoes.h.

◆ PL_POT_FERTI_P1

#define PL_POT_FERTI_P1   a_field->m_user[1]

A flag used to indicate autumn ploughing status.

Definition at line 28 of file PLPotatoes.h.

◆ PL_POT_FERTI_S1

#define PL_POT_FERTI_S1   a_field->m_user[2]

Definition at line 29 of file PLPotatoes.h.

◆ PL_POT_HILL_DATE

#define PL_POT_HILL_DATE   a_field->m_user[7]

Definition at line 34 of file PLPotatoes.h.

◆ PL_POT_STUBBLE_PLOUGH

#define PL_POT_STUBBLE_PLOUGH   a_field->m_user[3]

Definition at line 30 of file PLPotatoes.h.

◆ PLPOTATOES_BASE

#define PLPOTATOES_BASE   20900

Definition at line 24 of file PLPotatoes.h.

Enumeration Type Documentation

◆ PLPotatoesToDo

Below is the list of things that a farmer can do if he is growing potatoes, 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
pl_pot_start 
pl_pot_sleep_all_day 
pl_pot_ferti_s1 
pl_pot_ferti_p1 
pl_pot_stubble_plough 
pl_pot_autumn_harrow1 
pl_pot_autumn_harrow2 
pl_pot_stubble_harrow 
pl_pot_ferti_p2 
pl_pot_ferti_s2 
pl_pot_ferti_p3 
pl_pot_ferti_s3 
pl_pot_winter_plough 
pl_pot_spring_harrow 
pl_pot_ferti_p4 
pl_pot_ferti_s4 
pl_pot_spring_harrow2 
pl_pot_ferti_p5 
pl_pot_ferti_s5 
pl_pot_spring_plough 
pl_pot_bed_forming 
pl_pot_spring_planting 
pl_pot_hilling1 
pl_pot_hilling2 
pl_pot_hilling3 
pl_pot_herbicide1 
pl_pot_hilling4 
pl_pot_hilling5 
pl_pot_hilling6 
pl_pot_herbicide2 
pl_pot_ferti_p6 
pl_pot_ferti_s6 
pl_pot_ferti_p7 
pl_pot_ferti_s7 
pl_pot_fungicide1 
pl_pot_fungicide2 
pl_pot_fungicide3 
pl_pot_fungicide4 
pl_pot_insecticide 
pl_pot_dessication1 
pl_pot_dessication2 
pl_pot_harvest 
pl_pot_ferti_p8 
pl_pot_ferti_s8 

Definition at line 43 of file PLPotatoes.h.

pl_pot_herbicide1
Definition: PLPotatoes.h:69
pl_pot_ferti_s6
Definition: PLPotatoes.h:75
pl_pot_fungicide2
Definition: PLPotatoes.h:79
pl_pot_hilling6
Definition: PLPotatoes.h:72
pl_pot_sleep_all_day
Definition: PLPotatoes.h:45
pl_pot_hilling2
Definition: PLPotatoes.h:67
pl_pot_dessication1
Definition: PLPotatoes.h:83
pl_pot_ferti_s5
Definition: PLPotatoes.h:62
pl_pot_harvest
Definition: PLPotatoes.h:85
pl_pot_bed_forming
Definition: PLPotatoes.h:64
pl_pot_autumn_harrow1
Definition: PLPotatoes.h:49
pl_pot_ferti_s4
Definition: PLPotatoes.h:59
pl_pot_ferti_p8
Definition: PLPotatoes.h:86
pl_pot_ferti_p3
Definition: PLPotatoes.h:54
pl_pot_spring_plough
Definition: PLPotatoes.h:63
pl_pot_ferti_s7
Definition: PLPotatoes.h:77
pl_pot_autumn_harrow2
Definition: PLPotatoes.h:50
pl_pot_stubble_harrow
Definition: PLPotatoes.h:51
pl_pot_ferti_p2
Definition: PLPotatoes.h:52
pl_pot_fungicide1
Definition: PLPotatoes.h:78
pl_pot_fungicide4
Definition: PLPotatoes.h:81
pl_pot_ferti_p7
Definition: PLPotatoes.h:76
pl_pot_ferti_s1
Definition: PLPotatoes.h:46
pl_pot_start
Definition: PLPotatoes.h:44
pl_pot_hilling1
Definition: PLPotatoes.h:66
pl_pot_insecticide
Definition: PLPotatoes.h:82
pl_pot_herbicide2
Definition: PLPotatoes.h:73
pl_pot_ferti_s8
Definition: PLPotatoes.h:87
pl_pot_ferti_p5
Definition: PLPotatoes.h:61
pl_pot_spring_harrow
Definition: PLPotatoes.h:57
pl_pot_hilling5
Definition: PLPotatoes.h:71
PLPOTATOES_BASE
#define PLPOTATOES_BASE
Definition: PLPotatoes.h:24
pl_pot_spring_planting
Definition: PLPotatoes.h:65
pl_pot_stubble_plough
Definition: PLPotatoes.h:48
pl_pot_ferti_p1
Definition: PLPotatoes.h:47
PLPotatoesToDo
PLPotatoesToDo
Definition: PLPotatoes.h:43
pl_pot_fungicide3
Definition: PLPotatoes.h:80
pl_pot_winter_plough
Definition: PLPotatoes.h:56
pl_pot_ferti_p4
Definition: PLPotatoes.h:58
pl_pot_ferti_s3
Definition: PLPotatoes.h:55
pl_pot_ferti_p6
Definition: PLPotatoes.h:74
pl_pot_hilling3
Definition: PLPotatoes.h:68
pl_pot_spring_harrow2
Definition: PLPotatoes.h:60
pl_pot_ferti_s2
Definition: PLPotatoes.h:53
pl_pot_hilling4
Definition: PLPotatoes.h:70
pl_pot_dessication2
Definition: PLPotatoes.h:84