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

PLWinterRape.h This file contains the headers for the WinterWheat class
More...

Go to the source code of this file.

Classes

class  PLWinterRape
 PLWinterRape class
. More...
 

Macros

#define PL_WR_DECIDE_TO_GR   a_field->m_user[4]
 
#define PL_WR_FERTI_P1   a_field->m_user[1]
 A flag used to indicate autumn ploughing status. More...
 
#define PL_WR_FERTI_S1   a_field->m_user[2]
 
#define PL_WR_STUBBLE_PLOUGH   a_field->m_user[3]
 
#define PLWinterRape_BASE   20100
 

Enumerations

enum  PLWinterRapeToDo {
  pl_wr_start = 1, pl_wr_sleep_all_day = PLWinterRape_BASE, pl_wr_ferti_p1, pl_wr_ferti_s1,
  pl_wr_stubble_plough, pl_wr_autumn_harrow1, pl_wr_autumn_harrow2, pl_wr_stubble_harrow,
  pl_wr_ferti_p2, pl_wr_ferti_s2, pl_wr_autumn_plough, pl_wr_autumn_roll,
  pl_wr_stubble_cultivator_heavy, pl_wr_ferti_p3, pl_wr_ferti_s3, pl_wr_preseeding_cultivator,
  pl_wr_autumn_harrow3, pl_wr_autumn_sow, pl_wr_herbicide1, pl_wr_herbicide2,
  pl_wr_fungicide1, pl_wr_insecticide1, pl_wr_insecticide2, pl_wr_insecticide3,
  pl_wr_molluscicide, pl_wr_ferti_p4, pl_wr_ferti_s4, pl_wr_ferti_p5,
  pl_wr_ferti_s5, pl_wr_ferti_p6, pl_wr_ferti_s6, pl_wr_ferti_p7,
  pl_wr_ferti_s7, pl_wr_ferti_p8, pl_wr_ferti_s8, pl_wr_herbicide3,
  pl_wr_fungicide2, pl_wr_fungicide3, pl_wr_fungicide4, pl_wr_insecticide4,
  pl_wr_insecticide5, pl_wr_insecticide6, pl_wr_herbicide4, pl_wr_harvest,
  pl_wr_straw_chopping, pl_wr_hay_bailing, pl_wr_ferti_p9, pl_wr_ferti_s9,
  pl_wr_ferti_p10, pl_wr_ferti_s10
}
 

Detailed Description

PLWinterRape.h This file contains the headers for the WinterWheat 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 PLWinterRape.h.

Macro Definition Documentation

◆ PL_WR_DECIDE_TO_GR

#define PL_WR_DECIDE_TO_GR   a_field->m_user[4]

Definition at line 31 of file PLWinterRape.h.

◆ PL_WR_FERTI_P1

#define PL_WR_FERTI_P1   a_field->m_user[1]

A flag used to indicate autumn ploughing status.

Definition at line 28 of file PLWinterRape.h.

◆ PL_WR_FERTI_S1

#define PL_WR_FERTI_S1   a_field->m_user[2]

Definition at line 29 of file PLWinterRape.h.

◆ PL_WR_STUBBLE_PLOUGH

#define PL_WR_STUBBLE_PLOUGH   a_field->m_user[3]

Definition at line 30 of file PLWinterRape.h.

◆ PLWinterRape_BASE

#define PLWinterRape_BASE   20100

Definition at line 24 of file PLWinterRape.h.

Enumeration Type Documentation

◆ PLWinterRapeToDo

Below is the list of things that a farmer can do if he is growing winter wheat, 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_wr_start 
pl_wr_sleep_all_day 
pl_wr_ferti_p1 
pl_wr_ferti_s1 
pl_wr_stubble_plough 
pl_wr_autumn_harrow1 
pl_wr_autumn_harrow2 
pl_wr_stubble_harrow 
pl_wr_ferti_p2 
pl_wr_ferti_s2 
pl_wr_autumn_plough 
pl_wr_autumn_roll 
pl_wr_stubble_cultivator_heavy 
pl_wr_ferti_p3 
pl_wr_ferti_s3 
pl_wr_preseeding_cultivator 
pl_wr_autumn_harrow3 
pl_wr_autumn_sow 
pl_wr_herbicide1 
pl_wr_herbicide2 
pl_wr_fungicide1 
pl_wr_insecticide1 
pl_wr_insecticide2 
pl_wr_insecticide3 
pl_wr_molluscicide 
pl_wr_ferti_p4 
pl_wr_ferti_s4 
pl_wr_ferti_p5 
pl_wr_ferti_s5 
pl_wr_ferti_p6 
pl_wr_ferti_s6 
pl_wr_ferti_p7 
pl_wr_ferti_s7 
pl_wr_ferti_p8 
pl_wr_ferti_s8 
pl_wr_herbicide3 
pl_wr_fungicide2 
pl_wr_fungicide3 
pl_wr_fungicide4 
pl_wr_insecticide4 
pl_wr_insecticide5 
pl_wr_insecticide6 
pl_wr_herbicide4 
pl_wr_harvest 
pl_wr_straw_chopping 
pl_wr_hay_bailing 
pl_wr_ferti_p9 
pl_wr_ferti_s9 
pl_wr_ferti_p10 
pl_wr_ferti_s10 

Definition at line 38 of file PLWinterRape.h.

pl_wr_fungicide2
Definition: PLWinterRape.h:75
pl_wr_autumn_roll
Definition: PLWinterRape.h:50
pl_wr_ferti_s1
Definition: PLWinterRape.h:42
pl_wr_autumn_harrow1
Definition: PLWinterRape.h:44
pl_wr_ferti_p1
Definition: PLWinterRape.h:41
pl_wr_ferti_p3
Definition: PLWinterRape.h:52
pl_wr_ferti_p7
Definition: PLWinterRape.h:70
pl_wr_ferti_s6
Definition: PLWinterRape.h:69
pl_wr_herbicide2
Definition: PLWinterRape.h:58
pl_wr_insecticide5
Definition: PLWinterRape.h:79
pl_wr_ferti_p6
Definition: PLWinterRape.h:68
pl_wr_ferti_p9
Definition: PLWinterRape.h:85
pl_wr_preseeding_cultivator
Definition: PLWinterRape.h:54
pl_wr_ferti_p5
Definition: PLWinterRape.h:66
pl_wr_insecticide4
Definition: PLWinterRape.h:78
pl_wr_start
Definition: PLWinterRape.h:39
pl_wr_ferti_p8
Definition: PLWinterRape.h:72
pl_wr_fungicide1
Definition: PLWinterRape.h:59
pl_wr_autumn_harrow3
Definition: PLWinterRape.h:55
pl_wr_molluscicide
Definition: PLWinterRape.h:63
PLWinterRapeToDo
PLWinterRapeToDo
Definition: PLWinterRape.h:38
pl_wr_insecticide1
Definition: PLWinterRape.h:60
pl_wr_insecticide2
Definition: PLWinterRape.h:61
pl_wr_ferti_p10
Definition: PLWinterRape.h:87
pl_wr_sleep_all_day
Definition: PLWinterRape.h:40
pl_wr_harvest
Definition: PLWinterRape.h:82
pl_wr_herbicide4
Definition: PLWinterRape.h:81
pl_wr_autumn_harrow2
Definition: PLWinterRape.h:45
pl_wr_insecticide6
Definition: PLWinterRape.h:80
pl_wr_ferti_s7
Definition: PLWinterRape.h:71
pl_wr_autumn_sow
Definition: PLWinterRape.h:56
pl_wr_fungicide3
Definition: PLWinterRape.h:76
pl_wr_ferti_s3
Definition: PLWinterRape.h:53
pl_wr_stubble_cultivator_heavy
Definition: PLWinterRape.h:51
pl_wr_herbicide3
Definition: PLWinterRape.h:74
pl_wr_ferti_s8
Definition: PLWinterRape.h:73
pl_wr_stubble_plough
Definition: PLWinterRape.h:43
pl_wr_stubble_harrow
Definition: PLWinterRape.h:46
pl_wr_ferti_s4
Definition: PLWinterRape.h:65
pl_wr_ferti_s10
Definition: PLWinterRape.h:88
pl_wr_ferti_p2
Definition: PLWinterRape.h:47
pl_wr_herbicide1
Definition: PLWinterRape.h:57
pl_wr_fungicide4
Definition: PLWinterRape.h:77
PLWinterRape_BASE
#define PLWinterRape_BASE
Definition: PLWinterRape.h:24
pl_wr_ferti_s5
Definition: PLWinterRape.h:67
pl_wr_straw_chopping
Definition: PLWinterRape.h:83
pl_wr_autumn_plough
Definition: PLWinterRape.h:49
pl_wr_ferti_p4
Definition: PLWinterRape.h:64
pl_wr_ferti_s2
Definition: PLWinterRape.h:48
pl_wr_hay_bailing
Definition: PLWinterRape.h:84
pl_wr_ferti_s9
Definition: PLWinterRape.h:86
pl_wr_insecticide3
Definition: PLWinterRape.h:62