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

PLSpringWheat.h This file contains the headers for the SpringWheat class
More...

Classes

class  PLSpringWheat
 PLSpringWheat class
. More...
 

Macros

#define PLSPRINGWHEAT_BASE   20500
 
#define PL_SW_FERTI_P1   a_field->m_user[1]
 A flag used to indicate autumn ploughing status. More...
 
#define PL_SW_FERTI_S1   a_field->m_user[2]
 
#define PL_SW_STUBBLE_PLOUGH   a_field->m_user[3]
 
#define PL_SW_FERTI_P4   a_field->m_user[4]
 
#define PL_SW_FERTI_S4   a_field->m_user[5]
 
#define PL_SW_SPRING_FERTI   a_field->m_user[6]
 
#define PL_SW_DECIDE_TO_GR   a_field->m_user[7]
 

Enumerations

enum  PLSpringWheatToDo {
  pl_sw_start = 1, pl_sw_sleep_all_day = PLSPRINGWHEAT_BASE, pl_sw_ferti_p1, pl_sw_ferti_s1,
  pl_sw_stubble_plough, pl_sw_autumn_harrow1, pl_sw_autumn_harrow2, pl_sw_stubble_harrow,
  pl_sw_ferti_p2, pl_sw_ferti_s2, pl_sw_ferti_p3, pl_sw_ferti_s3,
  pl_sw_winter_plough, pl_sw_ferti_p4, pl_sw_ferti_s4, pl_sw_spring_harrow,
  pl_sw_ferti_p5, pl_sw_ferti_s5, pl_sw_ferti_p6, pl_sw_ferti_s6,
  pl_sw_heavy_cultivator, pl_sw_preseeding_cultivator, pl_sw_preseeding_cultivator_sow, pl_sw_spring_sow,
  pl_sw_herbicide1, pl_sw_fungicide1, pl_sw_fungicide2, pl_sw_fungicide3,
  pl_sw_insecticide1, pl_sw_insecticide2, pl_sw_growth_regulator1, pl_sw_growth_regulator2,
  pl_sw_ferti_p7, pl_sw_ferti_s7, pl_sw_ferti_p8, pl_sw_ferti_s8,
  pl_sw_ferti_p9, pl_sw_ferti_s9, pl_sw_harvest, pl_sw_straw_chopping,
  pl_sw_hay_bailing, pl_sw_ferti_p10, pl_sw_ferti_s10, pl_sw_ferti_p11,
  pl_sw_ferti_s11
}
 

Detailed Description

PLSpringWheat.h This file contains the headers for the SpringWheat 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_SW_DECIDE_TO_GR

#define PL_SW_DECIDE_TO_GR   a_field->m_user[7]

◆ PL_SW_FERTI_P1

#define PL_SW_FERTI_P1   a_field->m_user[1]

A flag used to indicate autumn ploughing status.

◆ PL_SW_FERTI_P4

#define PL_SW_FERTI_P4   a_field->m_user[4]

◆ PL_SW_FERTI_S1

#define PL_SW_FERTI_S1   a_field->m_user[2]

◆ PL_SW_FERTI_S4

#define PL_SW_FERTI_S4   a_field->m_user[5]

◆ PL_SW_SPRING_FERTI

#define PL_SW_SPRING_FERTI   a_field->m_user[6]

◆ PL_SW_STUBBLE_PLOUGH

#define PL_SW_STUBBLE_PLOUGH   a_field->m_user[3]

◆ PLSPRINGWHEAT_BASE

#define PLSPRINGWHEAT_BASE   20500

Enumeration Type Documentation

◆ PLSpringWheatToDo

Below is the list of things that a farmer can do if he is growing spring 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_sw_start 
pl_sw_sleep_all_day 
pl_sw_ferti_p1 
pl_sw_ferti_s1 
pl_sw_stubble_plough 
pl_sw_autumn_harrow1 
pl_sw_autumn_harrow2 
pl_sw_stubble_harrow 
pl_sw_ferti_p2 
pl_sw_ferti_s2 
pl_sw_ferti_p3 
pl_sw_ferti_s3 
pl_sw_winter_plough 
pl_sw_ferti_p4 
pl_sw_ferti_s4 
pl_sw_spring_harrow 
pl_sw_ferti_p5 
pl_sw_ferti_s5 
pl_sw_ferti_p6 
pl_sw_ferti_s6 
pl_sw_heavy_cultivator 
pl_sw_preseeding_cultivator 
pl_sw_preseeding_cultivator_sow 
pl_sw_spring_sow 
pl_sw_herbicide1 
pl_sw_fungicide1 
pl_sw_fungicide2 
pl_sw_fungicide3 
pl_sw_insecticide1 
pl_sw_insecticide2 
pl_sw_growth_regulator1 
pl_sw_growth_regulator2 
pl_sw_ferti_p7 
pl_sw_ferti_s7 
pl_sw_ferti_p8 
pl_sw_ferti_s8 
pl_sw_ferti_p9 
pl_sw_ferti_s9 
pl_sw_harvest 
pl_sw_straw_chopping 
pl_sw_hay_bailing 
pl_sw_ferti_p10 
pl_sw_ferti_s10 
pl_sw_ferti_p11 
pl_sw_ferti_s11 
pl_sw_preseeding_cultivator
Definition: PLSpringWheat.h:63
PLSPRINGWHEAT_BASE
#define PLSPRINGWHEAT_BASE
Definition: PLSpringWheat.h:24
pl_sw_ferti_p11
Definition: PLSpringWheat.h:85
pl_sw_heavy_cultivator
Definition: PLSpringWheat.h:62
pl_sw_sleep_all_day
Definition: PLSpringWheat.h:43
pl_sw_ferti_p10
Definition: PLSpringWheat.h:83
pl_sw_ferti_s1
Definition: PLSpringWheat.h:45
pl_sw_ferti_p8
Definition: PLSpringWheat.h:76
pl_sw_growth_regulator2
Definition: PLSpringWheat.h:73
pl_sw_spring_sow
Definition: PLSpringWheat.h:65
pl_sw_straw_chopping
Definition: PLSpringWheat.h:81
pl_sw_harvest
Definition: PLSpringWheat.h:80
PLSpringWheatToDo
PLSpringWheatToDo
Definition: PLSpringWheat.h:41
pl_sw_ferti_p3
Definition: PLSpringWheat.h:52
pl_sw_hay_bailing
Definition: PLSpringWheat.h:82
pl_sw_herbicide1
Definition: PLSpringWheat.h:66
pl_sw_ferti_s11
Definition: PLSpringWheat.h:86
pl_sw_ferti_p6
Definition: PLSpringWheat.h:60
pl_sw_ferti_s5
Definition: PLSpringWheat.h:59
pl_sw_ferti_s9
Definition: PLSpringWheat.h:79
pl_sw_ferti_p4
Definition: PLSpringWheat.h:55
pl_sw_ferti_s4
Definition: PLSpringWheat.h:56
pl_sw_spring_harrow
Definition: PLSpringWheat.h:57
pl_sw_winter_plough
Definition: PLSpringWheat.h:54
pl_sw_ferti_s3
Definition: PLSpringWheat.h:53
pl_sw_insecticide1
Definition: PLSpringWheat.h:70
pl_sw_fungicide3
Definition: PLSpringWheat.h:69
pl_sw_ferti_p5
Definition: PLSpringWheat.h:58
pl_sw_autumn_harrow2
Definition: PLSpringWheat.h:48
pl_sw_ferti_p7
Definition: PLSpringWheat.h:74
pl_sw_growth_regulator1
Definition: PLSpringWheat.h:72
pl_sw_stubble_plough
Definition: PLSpringWheat.h:46
pl_sw_ferti_p1
Definition: PLSpringWheat.h:44
pl_sw_fungicide1
Definition: PLSpringWheat.h:67
pl_sw_preseeding_cultivator_sow
Definition: PLSpringWheat.h:64
pl_sw_ferti_s7
Definition: PLSpringWheat.h:75
pl_sw_fungicide2
Definition: PLSpringWheat.h:68
pl_sw_ferti_s8
Definition: PLSpringWheat.h:77
pl_sw_stubble_harrow
Definition: PLSpringWheat.h:49
pl_sw_ferti_p9
Definition: PLSpringWheat.h:78
pl_sw_ferti_p2
Definition: PLSpringWheat.h:50
pl_sw_ferti_s10
Definition: PLSpringWheat.h:84
pl_sw_insecticide2
Definition: PLSpringWheat.h:71
pl_sw_autumn_harrow1
Definition: PLSpringWheat.h:47
pl_sw_start
Definition: PLSpringWheat.h:42
pl_sw_ferti_s6
Definition: PLSpringWheat.h:61
pl_sw_ferti_s2
Definition: PLSpringWheat.h:51