Loading [MathJax]/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
FR_SpringWheat.h File Reference

FR_SpringWheat.h This file contains the headers for the FR_SpringWheat class
More...

Go to the source code of this file.

Classes

class  FR_SpringWheat
 FR_SpringWheat class
. More...
 

Macros

#define FR_SW_BASE   191100
 
#define FR_SW_EVERY_4_YEAR   a_field->m_user[1]
 A flag used to indicate autumn ploughing status. More...
 
#define FR_SW_PRE_SOW   a_field->m_user[2]
 

Enumerations

enum  FR_SpringWheatToDo {
  fr_sw_start = 1, fr_sw_sleep_all_day = FR_SW_BASE, fr_sw_stubble_cultivation, fr_sw_stubble_plough,
  fr_sw_stubble_cultivation_y4, fr_sw_stubble_plough_y4, fr_sw_fertilizer_y4, fr_sw_mineral,
  fr_sw_shallow_harrow, fr_sw_herbicide1, fr_sw_fertilizer, fr_sw_spring_harrow,
  fr_sw_spring_plough, fr_sw_preseed_cultivation, fr_sw_sow, fr_sw_harrow,
  fr_sw_ammonium_sulphate1, fr_sw_ammonium_sulphate2, fr_sw_ammonium_sulphate3, fr_sw_herbicide2,
  fr_sw_herbicide3, fr_sw_fungicide1, fr_sw_fungicide2, fr_sw_insecticide,
  fr_sw_growth_regulator, fr_sw_harvest, fr_sw_straw_chopping, fr_sw_hay_bailing,
  fr_sw_wait, fr_sw_foobar
}
 

Detailed Description

FR_SpringWheat.h This file contains the headers for the FR_SpringWheat class

by Chris J. Topping, modified by Luna Kondrup Marcussen
Version of September 2021
All rights reserved.

With additions as noted in:
Doxygen formatted comments in July 2008

Copyright (c) 2021, Christopher John Topping, Aarhus University All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

) Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. ) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. ) Neither the name of the NERI nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Macro Definition Documentation

◆ FR_SW_BASE

#define FR_SW_BASE   191100

◆ FR_SW_EVERY_4_YEAR

#define FR_SW_EVERY_4_YEAR   a_field->m_user[1]

A flag used to indicate autumn ploughing status.

◆ FR_SW_PRE_SOW

#define FR_SW_PRE_SOW   a_field->m_user[2]

Enumeration Type Documentation

◆ FR_SpringWheatToDo

Below is the list of things that a farmer can do if he is growing, 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
fr_sw_start 
fr_sw_sleep_all_day 
fr_sw_stubble_cultivation 
fr_sw_stubble_plough 
fr_sw_stubble_cultivation_y4 
fr_sw_stubble_plough_y4 
fr_sw_fertilizer_y4 
fr_sw_mineral 
fr_sw_shallow_harrow 
fr_sw_herbicide1 
fr_sw_fertilizer 
fr_sw_spring_harrow 
fr_sw_spring_plough 
fr_sw_preseed_cultivation 
fr_sw_sow 
fr_sw_harrow 
fr_sw_ammonium_sulphate1 
fr_sw_ammonium_sulphate2 
fr_sw_ammonium_sulphate3 
fr_sw_herbicide2 
fr_sw_herbicide3 
fr_sw_fungicide1 
fr_sw_fungicide2 
fr_sw_insecticide 
fr_sw_growth_regulator 
fr_sw_harvest 
fr_sw_straw_chopping 
fr_sw_hay_bailing 
fr_sw_wait 
fr_sw_foobar 
fr_sw_stubble_plough_y4
Definition: FR_SpringWheat.h:66
fr_sw_straw_chopping
Definition: FR_SpringWheat.h:87
fr_sw_stubble_plough
Definition: FR_SpringWheat.h:64
fr_sw_insecticide
Definition: FR_SpringWheat.h:84
fr_sw_harvest
Definition: FR_SpringWheat.h:86
fr_sw_shallow_harrow
Definition: FR_SpringWheat.h:69
fr_sw_herbicide3
Definition: FR_SpringWheat.h:81
fr_sw_fungicide2
Definition: FR_SpringWheat.h:83
fr_sw_ammonium_sulphate3
Definition: FR_SpringWheat.h:79
fr_sw_hay_bailing
Definition: FR_SpringWheat.h:88
fr_sw_wait
Definition: FR_SpringWheat.h:89
fr_sw_foobar
Definition: FR_SpringWheat.h:90
fr_sw_herbicide2
Definition: FR_SpringWheat.h:80
fr_sw_stubble_cultivation_y4
Definition: FR_SpringWheat.h:65
FR_SpringWheatToDo
FR_SpringWheatToDo
Definition: FR_SpringWheat.h:60
fr_sw_stubble_cultivation
Definition: FR_SpringWheat.h:63
fr_sw_spring_plough
Definition: FR_SpringWheat.h:73
FR_SW_BASE
#define FR_SW_BASE
Definition: FR_SpringWheat.h:49
fr_sw_fungicide1
Definition: FR_SpringWheat.h:82
fr_sw_ammonium_sulphate1
Definition: FR_SpringWheat.h:77
fr_sw_harrow
Definition: FR_SpringWheat.h:76
fr_sw_sleep_all_day
Definition: FR_SpringWheat.h:62
fr_sw_herbicide1
Definition: FR_SpringWheat.h:70
fr_sw_start
Definition: FR_SpringWheat.h:61
fr_sw_ammonium_sulphate2
Definition: FR_SpringWheat.h:78
fr_sw_mineral
Definition: FR_SpringWheat.h:68
fr_sw_growth_regulator
Definition: FR_SpringWheat.h:85
fr_sw_preseed_cultivation
Definition: FR_SpringWheat.h:74
fr_sw_sow
Definition: FR_SpringWheat.h:75
fr_sw_fertilizer_y4
Definition: FR_SpringWheat.h:67
fr_sw_fertilizer
Definition: FR_SpringWheat.h:71
fr_sw_spring_harrow
Definition: FR_SpringWheat.h:72