File failed to load: https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/extensions/ams.js
ALMaSS  1.2 (after EcoStack, March 2024)
The Animal, Landscape and Man Simulation System
All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TestCrop.h File Reference

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

Go to the source code of this file.

Classes

class  TestCrop
 

Macros

#define TESTCROP_BASE   1
 
#define TC_WW_FERTI_P1   a_field->m_user[1]
 A flag used to indicate autumn ploughing status. More...
 
#define TC_WW_FERTI_S1   a_field->m_user[2]
 
#define TC_WW_STUBBLE_PLOUGH   a_field->m_user[3]
 
#define TC_WW_DECIDE_TO_GR   a_field->m_user[4]
 

Enumerations

enum  TestCropToDo {
  testcrop_ww_start = 1, testcrop_ww_sleep_all_day = TESTCROP_BASE, testcrop_ww_ferti_p1, testcrop_ww_ferti_s1,
  testcrop_ww_stubble_plough, testcrop_ww_autumn_harrow1, testcrop_ww_autumn_harrow2, testcrop_ww_stubble_harrow,
  testcrop_ww_ferti_p2, testcrop_ww_ferti_s2, testcrop_ww_autumn_plough, testcrop_ww_autumn_roll,
  testcrop_ww_stubble_cultivator_heavy, testcrop_ww_ferti_p3, testcrop_ww_ferti_s3, testcrop_ww_preseeding_cultivator,
  testcrop_ww_preseeding_cultivator_sow, testcrop_ww_autumn_sow, testcrop_ww_herbicide1, testcrop_ww_fungicide1,
  testcrop_ww_insecticide1, testcrop_ww_ferti_p4, testcrop_ww_ferti_s4, testcrop_ww_ferti_p5,
  testcrop_ww_ferti_s5, testcrop_ww_ferti_p6, testcrop_ww_ferti_s6, testcrop_ww_ferti_p7,
  testcrop_ww_ferti_s7, testcrop_ww_ferti_p8, testcrop_ww_ferti_s8, testcrop_ww_ferti_p9,
  testcrop_ww_ferti_s9, testcrop_ww_herbicide2, testcrop_ww_fungicide2, testcrop_ww_fungicide3,
  testcrop_ww_fungicide4, testcrop_ww_insecticide2, testcrop_ww_insecticide3, testcrop_ww_growth_regulator1,
  testcrop_ww_growth_regulator2, testcrop_ww_harvest, testcrop_ww_straw_chopping, testcrop_ww_hay_bailing,
  testcrop_ww_ferti_p10, testcrop_ww_ferti_s10, testcrop_ww_ferti_p11, testcrop_ww_ferti_s11,
  testcrop_ww_foobar
}
 

Detailed Description

TestCrop.h This file contains the headers for the WinterWheat class

Macro Definition Documentation

◆ TC_WW_DECIDE_TO_GR

#define TC_WW_DECIDE_TO_GR   a_field->m_user[4]

◆ TC_WW_FERTI_P1

#define TC_WW_FERTI_P1   a_field->m_user[1]

A flag used to indicate autumn ploughing status.

◆ TC_WW_FERTI_S1

#define TC_WW_FERTI_S1   a_field->m_user[2]

◆ TC_WW_STUBBLE_PLOUGH

#define TC_WW_STUBBLE_PLOUGH   a_field->m_user[3]

◆ TESTCROP_BASE

#define TESTCROP_BASE   1

Enumeration Type Documentation

◆ TestCropToDo

Below is the list of things that a farmer can do if he is growing test crop, 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
testcrop_ww_start 
testcrop_ww_sleep_all_day 
testcrop_ww_ferti_p1 
testcrop_ww_ferti_s1 
testcrop_ww_stubble_plough 
testcrop_ww_autumn_harrow1 
testcrop_ww_autumn_harrow2 
testcrop_ww_stubble_harrow 
testcrop_ww_ferti_p2 
testcrop_ww_ferti_s2 
testcrop_ww_autumn_plough 
testcrop_ww_autumn_roll 
testcrop_ww_stubble_cultivator_heavy 
testcrop_ww_ferti_p3 
testcrop_ww_ferti_s3 
testcrop_ww_preseeding_cultivator 
testcrop_ww_preseeding_cultivator_sow 
testcrop_ww_autumn_sow 
testcrop_ww_herbicide1 
testcrop_ww_fungicide1 
testcrop_ww_insecticide1 
testcrop_ww_ferti_p4 
testcrop_ww_ferti_s4 
testcrop_ww_ferti_p5 
testcrop_ww_ferti_s5 
testcrop_ww_ferti_p6 
testcrop_ww_ferti_s6 
testcrop_ww_ferti_p7 
testcrop_ww_ferti_s7 
testcrop_ww_ferti_p8 
testcrop_ww_ferti_s8 
testcrop_ww_ferti_p9 
testcrop_ww_ferti_s9 
testcrop_ww_herbicide2 
testcrop_ww_fungicide2 
testcrop_ww_fungicide3 
testcrop_ww_fungicide4 
testcrop_ww_insecticide2 
testcrop_ww_insecticide3 
testcrop_ww_growth_regulator1 
testcrop_ww_growth_regulator2 
testcrop_ww_harvest 
testcrop_ww_straw_chopping 
testcrop_ww_hay_bailing 
testcrop_ww_ferti_p10 
testcrop_ww_ferti_s10 
testcrop_ww_ferti_p11 
testcrop_ww_ferti_s11 
testcrop_ww_foobar 
24  {
25  testcrop_ww_start = 1, // Compulsory, must always be 1 (one).
74 } TestCropToDo;
testcrop_ww_fungicide2
Definition: TestCrop.h:59
testcrop_ww_preseeding_cultivator_sow
Definition: TestCrop.h:41
testcrop_ww_ferti_p9
Definition: TestCrop.h:56
TestCropToDo
TestCropToDo
Definition: TestCrop.h:24
testcrop_ww_fungicide3
Definition: TestCrop.h:60
testcrop_ww_ferti_p7
Definition: TestCrop.h:52
testcrop_ww_stubble_plough
Definition: TestCrop.h:29
testcrop_ww_ferti_p8
Definition: TestCrop.h:54
testcrop_ww_autumn_sow
Definition: TestCrop.h:42
testcrop_ww_straw_chopping
Definition: TestCrop.h:67
testcrop_ww_ferti_p10
Definition: TestCrop.h:69
testcrop_ww_ferti_s8
Definition: TestCrop.h:55
testcrop_ww_start
Definition: TestCrop.h:25
testcrop_ww_harvest
Definition: TestCrop.h:66
testcrop_ww_ferti_s7
Definition: TestCrop.h:53
testcrop_ww_ferti_p5
Definition: TestCrop.h:48
testcrop_ww_stubble_harrow
Definition: TestCrop.h:32
testcrop_ww_stubble_cultivator_heavy
Definition: TestCrop.h:37
testcrop_ww_herbicide1
Definition: TestCrop.h:43
testcrop_ww_preseeding_cultivator
Definition: TestCrop.h:40
testcrop_ww_growth_regulator1
Definition: TestCrop.h:64
testcrop_ww_ferti_s1
Definition: TestCrop.h:28
testcrop_ww_ferti_s10
Definition: TestCrop.h:70
testcrop_ww_autumn_harrow2
Definition: TestCrop.h:31
testcrop_ww_ferti_s4
Definition: TestCrop.h:47
testcrop_ww_ferti_p4
Definition: TestCrop.h:46
testcrop_ww_autumn_roll
Definition: TestCrop.h:36
testcrop_ww_herbicide2
Definition: TestCrop.h:58
testcrop_ww_autumn_harrow1
Definition: TestCrop.h:30
testcrop_ww_insecticide1
Definition: TestCrop.h:45
testcrop_ww_ferti_s11
Definition: TestCrop.h:72
testcrop_ww_ferti_s3
Definition: TestCrop.h:39
testcrop_ww_ferti_s2
Definition: TestCrop.h:34
testcrop_ww_autumn_plough
Definition: TestCrop.h:35
testcrop_ww_growth_regulator2
Definition: TestCrop.h:65
testcrop_ww_fungicide4
Definition: TestCrop.h:61
TESTCROP_BASE
#define TESTCROP_BASE
Definition: TestCrop.h:10
testcrop_ww_ferti_p11
Definition: TestCrop.h:71
testcrop_ww_insecticide3
Definition: TestCrop.h:63
testcrop_ww_sleep_all_day
Definition: TestCrop.h:26
testcrop_ww_hay_bailing
Definition: TestCrop.h:68
testcrop_ww_ferti_p1
Definition: TestCrop.h:27
testcrop_ww_ferti_s5
Definition: TestCrop.h:49
testcrop_ww_ferti_p2
Definition: TestCrop.h:33
testcrop_ww_insecticide2
Definition: TestCrop.h:62
testcrop_ww_ferti_p6
Definition: TestCrop.h:50
testcrop_ww_foobar
Definition: TestCrop.h:73
testcrop_ww_ferti_s9
Definition: TestCrop.h:57
testcrop_ww_ferti_p3
Definition: TestCrop.h:38
testcrop_ww_fungicide1
Definition: TestCrop.h:44
testcrop_ww_ferti_s6
Definition: TestCrop.h:51