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

PLSpringBarley.h This file contains the headers for the SpringBarley class
More...

Classes

class  PLSpringBarley
 PLSpringBarley class
. More...
 

Macros

#define PLSPRINGBARLEY_BASE   20600
 
#define PL_SB_FERTI_P1   a_field->m_user[1]
 A flag used to indicate autumn ploughing status. More...
 
#define PL_SB_FERTI_S1   a_field->m_user[2]
 
#define PL_SB_STUBBLE_PLOUGH   a_field->m_user[3]
 
#define PL_SB_FERTI_P4   a_field->m_user[4]
 
#define PL_SB_FERTI_S4   a_field->m_user[5]
 
#define PL_SB_SPRING_FERTI   a_field->m_user[6]
 
#define PL_SB_DECIDE_TO_GR   a_field->m_user[7]
 

Enumerations

enum  PLSpringBarleyToDo {
  pl_sb_start = 1, pl_sb_sleep_all_day = PLSPRINGBARLEY_BASE, pl_sb_ferti_p1, pl_sb_ferti_s1,
  pl_sb_stubble_plough, pl_sb_autumn_harrow1, pl_sb_autumn_harrow2, pl_sb_stubble_harrow,
  pl_sb_ferti_p2, pl_sb_ferti_s2, pl_sb_ferti_p3, pl_sb_ferti_s3,
  pl_sb_winter_plough, pl_sb_ferti_p4, pl_sb_ferti_s4, pl_sb_spring_harrow,
  pl_sb_ferti_p5, pl_sb_ferti_s5, pl_sb_heavy_cultivator, pl_sb_preseeding_cultivator,
  pl_sb_preseeding_cultivator_sow, pl_sb_spring_sow, pl_sb_herbicide1, pl_sb_fungicide1,
  pl_sb_fungicide2, pl_sb_fungicide3, pl_sb_insecticide1, pl_sb_insecticide2,
  pl_sb_ferti_p6, pl_sb_ferti_s6, pl_sb_ferti_p7, pl_sb_ferti_s7,
  pl_sb_ferti_p8, pl_sb_ferti_s8, pl_sb_harvest, pl_sb_straw_chopping,
  pl_sb_hay_bailing, pl_sb_ferti_p9, pl_sb_ferti_s9, pl_sb_ferti_p10,
  pl_sb_ferti_s10
}
 

Detailed Description

PLSpringBarley.h This file contains the headers for the SpringBarley 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_SB_DECIDE_TO_GR

#define PL_SB_DECIDE_TO_GR   a_field->m_user[7]

◆ PL_SB_FERTI_P1

#define PL_SB_FERTI_P1   a_field->m_user[1]

A flag used to indicate autumn ploughing status.

◆ PL_SB_FERTI_P4

#define PL_SB_FERTI_P4   a_field->m_user[4]

◆ PL_SB_FERTI_S1

#define PL_SB_FERTI_S1   a_field->m_user[2]

◆ PL_SB_FERTI_S4

#define PL_SB_FERTI_S4   a_field->m_user[5]

◆ PL_SB_SPRING_FERTI

#define PL_SB_SPRING_FERTI   a_field->m_user[6]

◆ PL_SB_STUBBLE_PLOUGH

#define PL_SB_STUBBLE_PLOUGH   a_field->m_user[3]

◆ PLSPRINGBARLEY_BASE

#define PLSPRINGBARLEY_BASE   20600

Enumeration Type Documentation

◆ PLSpringBarleyToDo

Below is the list of things that a farmer can do if he is growing spring barley, 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_sb_start 
pl_sb_sleep_all_day 
pl_sb_ferti_p1 
pl_sb_ferti_s1 
pl_sb_stubble_plough 
pl_sb_autumn_harrow1 
pl_sb_autumn_harrow2 
pl_sb_stubble_harrow 
pl_sb_ferti_p2 
pl_sb_ferti_s2 
pl_sb_ferti_p3 
pl_sb_ferti_s3 
pl_sb_winter_plough 
pl_sb_ferti_p4 
pl_sb_ferti_s4 
pl_sb_spring_harrow 
pl_sb_ferti_p5 
pl_sb_ferti_s5 
pl_sb_heavy_cultivator 
pl_sb_preseeding_cultivator 
pl_sb_preseeding_cultivator_sow 
pl_sb_spring_sow 
pl_sb_herbicide1 
pl_sb_fungicide1 
pl_sb_fungicide2 
pl_sb_fungicide3 
pl_sb_insecticide1 
pl_sb_insecticide2 
pl_sb_ferti_p6 
pl_sb_ferti_s6 
pl_sb_ferti_p7 
pl_sb_ferti_s7 
pl_sb_ferti_p8 
pl_sb_ferti_s8 
pl_sb_harvest 
pl_sb_straw_chopping 
pl_sb_hay_bailing 
pl_sb_ferti_p9 
pl_sb_ferti_s9 
pl_sb_ferti_p10 
pl_sb_ferti_s10 
pl_sb_ferti_s5
Definition: PLSpringBarley.h:59
pl_sb_ferti_p10
Definition: PLSpringBarley.h:81
pl_sb_winter_plough
Definition: PLSpringBarley.h:54
pl_sb_ferti_p1
Definition: PLSpringBarley.h:44
pl_sb_spring_harrow
Definition: PLSpringBarley.h:57
pl_sb_harvest
Definition: PLSpringBarley.h:76
pl_sb_preseeding_cultivator
Definition: PLSpringBarley.h:61
pl_sb_ferti_s8
Definition: PLSpringBarley.h:75
pl_sb_ferti_p9
Definition: PLSpringBarley.h:79
pl_sb_preseeding_cultivator_sow
Definition: PLSpringBarley.h:62
pl_sb_ferti_p6
Definition: PLSpringBarley.h:70
pl_sb_ferti_p7
Definition: PLSpringBarley.h:72
pl_sb_autumn_harrow1
Definition: PLSpringBarley.h:47
pl_sb_ferti_s3
Definition: PLSpringBarley.h:53
pl_sb_fungicide2
Definition: PLSpringBarley.h:66
pl_sb_ferti_s1
Definition: PLSpringBarley.h:45
pl_sb_start
Definition: PLSpringBarley.h:42
pl_sb_ferti_p8
Definition: PLSpringBarley.h:74
pl_sb_herbicide1
Definition: PLSpringBarley.h:64
pl_sb_ferti_p3
Definition: PLSpringBarley.h:52
pl_sb_spring_sow
Definition: PLSpringBarley.h:63
pl_sb_ferti_p2
Definition: PLSpringBarley.h:50
pl_sb_stubble_harrow
Definition: PLSpringBarley.h:49
pl_sb_insecticide2
Definition: PLSpringBarley.h:69
pl_sb_stubble_plough
Definition: PLSpringBarley.h:46
pl_sb_fungicide3
Definition: PLSpringBarley.h:67
pl_sb_ferti_s2
Definition: PLSpringBarley.h:51
pl_sb_autumn_harrow2
Definition: PLSpringBarley.h:48
pl_sb_ferti_s7
Definition: PLSpringBarley.h:73
pl_sb_insecticide1
Definition: PLSpringBarley.h:68
PLSpringBarleyToDo
PLSpringBarleyToDo
Definition: PLSpringBarley.h:41
PLSPRINGBARLEY_BASE
#define PLSPRINGBARLEY_BASE
Definition: PLSpringBarley.h:24
pl_sb_fungicide1
Definition: PLSpringBarley.h:65
pl_sb_ferti_s6
Definition: PLSpringBarley.h:71
pl_sb_heavy_cultivator
Definition: PLSpringBarley.h:60
pl_sb_ferti_s4
Definition: PLSpringBarley.h:56
pl_sb_ferti_p5
Definition: PLSpringBarley.h:58
pl_sb_sleep_all_day
Definition: PLSpringBarley.h:43
pl_sb_hay_bailing
Definition: PLSpringBarley.h:78
pl_sb_ferti_p4
Definition: PLSpringBarley.h:55
pl_sb_straw_chopping
Definition: PLSpringBarley.h:77
pl_sb_ferti_s10
Definition: PLSpringBarley.h:82
pl_sb_ferti_s9
Definition: PLSpringBarley.h:80