ALMaSS Skylark ODDox  1.1
The skylark model description following ODdox protocol
PLWinterWheat.h File Reference

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

Classes

class  PLWinterWheat
 PLWinterWheat class
. More...
 

Macros

#define PLWINTERWHEAT_BASE   21800
 
#define PL_WW_FERTI_P1   a_field->m_user[1]
 A flag used to indicate autumn ploughing status. More...
 
#define PL_WW_FERTI_S1   a_field->m_user[2]
 
#define PL_WW_STUBBLE_PLOUGH   a_field->m_user[3]
 
#define PL_WW_DECIDE_TO_GR   a_field->m_user[4]
 

Enumerations

enum  PLWinterWheat1ToDo {
  pl_ww_start = 1, pl_ww_sleep_all_day = PLWINTERWHEAT_BASE, pl_ww_ferti_p1, pl_ww_ferti_s1,
  pl_ww_stubble_plough, pl_ww_autumn_harrow1, pl_ww_autumn_harrow2, pl_ww_stubble_harrow,
  pl_ww_ferti_p2, pl_ww_ferti_s2, pl_ww_autumn_plough, pl_ww_autumn_roll,
  pl_ww_stubble_cultivator_heavy, pl_ww_ferti_p3, pl_ww_ferti_s3, pl_ww_preseeding_cultivator,
  pl_ww_preseeding_cultivator_sow, pl_ww_autumn_sow, pl_ww_herbicide1, pl_ww_fungicide1,
  pl_ww_insecticide1, pl_ww_ferti_p4, pl_ww_ferti_s4, pl_ww_ferti_p5,
  pl_ww_ferti_s5, pl_ww_ferti_p6, pl_ww_ferti_s6, pl_ww_ferti_p7,
  pl_ww_ferti_s7, pl_ww_ferti_p8, pl_ww_ferti_s8, pl_ww_ferti_p9,
  pl_ww_ferti_s9, pl_ww_herbicide2, pl_ww_fungicide2, pl_ww_fungicide3,
  pl_ww_fungicide4, pl_ww_insecticide2, pl_ww_insecticide3, pl_ww_growth_regulator1,
  pl_ww_growth_regulator2, pl_ww_harvest, pl_ww_straw_chopping, pl_ww_hay_bailing,
  pl_ww_ferti_p10, pl_ww_ferti_s10, pl_ww_ferti_p11, pl_ww_ferti_s11
}
 

Detailed Description

PLWinterWheat.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

Macro Definition Documentation

◆ PL_WW_DECIDE_TO_GR

#define PL_WW_DECIDE_TO_GR   a_field->m_user[4]

◆ PL_WW_FERTI_P1

#define PL_WW_FERTI_P1   a_field->m_user[1]

A flag used to indicate autumn ploughing status.

◆ PL_WW_FERTI_S1

#define PL_WW_FERTI_S1   a_field->m_user[2]

◆ PL_WW_STUBBLE_PLOUGH

#define PL_WW_STUBBLE_PLOUGH   a_field->m_user[3]

◆ PLWINTERWHEAT_BASE

#define PLWINTERWHEAT_BASE   21800

Enumeration Type Documentation

◆ PLWinterWheat1ToDo

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_ww_start 
pl_ww_sleep_all_day 
pl_ww_ferti_p1 
pl_ww_ferti_s1 
pl_ww_stubble_plough 
pl_ww_autumn_harrow1 
pl_ww_autumn_harrow2 
pl_ww_stubble_harrow 
pl_ww_ferti_p2 
pl_ww_ferti_s2 
pl_ww_autumn_plough 
pl_ww_autumn_roll 
pl_ww_stubble_cultivator_heavy 
pl_ww_ferti_p3 
pl_ww_ferti_s3 
pl_ww_preseeding_cultivator 
pl_ww_preseeding_cultivator_sow 
pl_ww_autumn_sow 
pl_ww_herbicide1 
pl_ww_fungicide1 
pl_ww_insecticide1 
pl_ww_ferti_p4 
pl_ww_ferti_s4 
pl_ww_ferti_p5 
pl_ww_ferti_s5 
pl_ww_ferti_p6 
pl_ww_ferti_s6 
pl_ww_ferti_p7 
pl_ww_ferti_s7 
pl_ww_ferti_p8 
pl_ww_ferti_s8 
pl_ww_ferti_p9 
pl_ww_ferti_s9 
pl_ww_herbicide2 
pl_ww_fungicide2 
pl_ww_fungicide3 
pl_ww_fungicide4 
pl_ww_insecticide2 
pl_ww_insecticide3 
pl_ww_growth_regulator1 
pl_ww_growth_regulator2 
pl_ww_harvest 
pl_ww_straw_chopping 
pl_ww_hay_bailing 
pl_ww_ferti_p10 
pl_ww_ferti_s10 
pl_ww_ferti_p11 
pl_ww_ferti_s11 
pl_ww_ferti_s2
Definition: PLWinterWheat.h:48
pl_ww_hay_bailing
Definition: PLWinterWheat.h:82
pl_ww_ferti_p6
Definition: PLWinterWheat.h:64
pl_ww_ferti_p2
Definition: PLWinterWheat.h:47
pl_ww_autumn_plough
Definition: PLWinterWheat.h:49
pl_ww_ferti_s8
Definition: PLWinterWheat.h:69
pl_ww_herbicide2
Definition: PLWinterWheat.h:72
pl_ww_ferti_s7
Definition: PLWinterWheat.h:67
pl_ww_ferti_s10
Definition: PLWinterWheat.h:84
pl_ww_ferti_p11
Definition: PLWinterWheat.h:85
pl_ww_ferti_p4
Definition: PLWinterWheat.h:60
pl_ww_ferti_s6
Definition: PLWinterWheat.h:65
pl_ww_fungicide3
Definition: PLWinterWheat.h:74
pl_ww_autumn_harrow2
Definition: PLWinterWheat.h:45
pl_ww_preseeding_cultivator_sow
Definition: PLWinterWheat.h:55
pl_ww_ferti_p9
Definition: PLWinterWheat.h:70
pl_ww_ferti_s5
Definition: PLWinterWheat.h:63
pl_ww_ferti_p3
Definition: PLWinterWheat.h:52
pl_ww_ferti_p10
Definition: PLWinterWheat.h:83
pl_ww_insecticide2
Definition: PLWinterWheat.h:76
pl_ww_insecticide3
Definition: PLWinterWheat.h:77
pl_ww_ferti_s4
Definition: PLWinterWheat.h:61
pl_ww_autumn_harrow1
Definition: PLWinterWheat.h:44
PLWinterWheat1ToDo
PLWinterWheat1ToDo
Definition: PLWinterWheat.h:38
pl_ww_start
Definition: PLWinterWheat.h:39
pl_ww_fungicide2
Definition: PLWinterWheat.h:73
pl_ww_fungicide4
Definition: PLWinterWheat.h:75
pl_ww_herbicide1
Definition: PLWinterWheat.h:57
pl_ww_autumn_roll
Definition: PLWinterWheat.h:50
pl_ww_stubble_harrow
Definition: PLWinterWheat.h:46
pl_ww_stubble_plough
Definition: PLWinterWheat.h:43
pl_ww_harvest
Definition: PLWinterWheat.h:80
PLWINTERWHEAT_BASE
#define PLWINTERWHEAT_BASE
Definition: PLWinterWheat.h:24
pl_ww_fungicide1
Definition: PLWinterWheat.h:58
pl_ww_ferti_p8
Definition: PLWinterWheat.h:68
pl_ww_ferti_s9
Definition: PLWinterWheat.h:71
pl_ww_sleep_all_day
Definition: PLWinterWheat.h:40
pl_ww_insecticide1
Definition: PLWinterWheat.h:59
pl_ww_growth_regulator1
Definition: PLWinterWheat.h:78
pl_ww_ferti_s3
Definition: PLWinterWheat.h:53
pl_ww_stubble_cultivator_heavy
Definition: PLWinterWheat.h:51
pl_ww_ferti_p5
Definition: PLWinterWheat.h:62
pl_ww_autumn_sow
Definition: PLWinterWheat.h:56
pl_ww_preseeding_cultivator
Definition: PLWinterWheat.h:54
pl_ww_ferti_p7
Definition: PLWinterWheat.h:66
pl_ww_straw_chopping
Definition: PLWinterWheat.h:81
pl_ww_ferti_s11
Definition: PLWinterWheat.h:86
pl_ww_ferti_p1
Definition: PLWinterWheat.h:41
pl_ww_growth_regulator2
Definition: PLWinterWheat.h:79
pl_ww_ferti_s1
Definition: PLWinterWheat.h:42