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_Potatoes.h File Reference

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

Go to the source code of this file.

Classes

class  FR_Potatoes
 FR_Potatoes class
. More...
 

Macros

#define FR_P_PLOUGH   a_field->m_user[1]
 
#define FR_P_SLURRY   a_field->m_user[2]
 
#define FR_P_BASE   191200
 

Enumerations

enum  FR_PotatoesToDo {
  fr_p_start = 1, fr_p_sleep_all_day = FR_P_BASE, fr_p_stubble_harrow, fr_p_stubble_plough,
  fr_p_pk, fr_p_herbicide1, fr_p_fertilizer, fr_p_subsoiler,
  fr_p_spring_plough, fr_p_sow, fr_p_n1, fr_p_strigling_hill1,
  fr_p_n2, fr_p_strigling_hill2, fr_p_herbicide2, fr_p_herbicide3,
  fr_p_fungicide1, fr_p_fungicide2, fr_p_fungicide3, fr_p_fungicide4,
  fr_p_fungicide5, fr_p_fungicide6, fr_p_fungicide7, fr_p_fungicide8,
  fr_p_fungicide9, fr_p_fungicide10, fr_p_fungicide11, fr_p_fungicide12,
  fr_p_insecticide1, fr_p_insecticide1b, fr_p_insecticide2, fr_p_herbicide4,
  fr_p_swathing, fr_p_harvest, fr_p_foobar
}
 A flag used to indicate autumn ploughing status. More...
 

Detailed Description

FR_Potatoes.h This file contains the headers for the FR_Potatoes 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_P_BASE

#define FR_P_BASE   191200

◆ FR_P_PLOUGH

#define FR_P_PLOUGH   a_field->m_user[1]

◆ FR_P_SLURRY

#define FR_P_SLURRY   a_field->m_user[2]

Enumeration Type Documentation

◆ FR_PotatoesToDo

A flag used to indicate autumn ploughing status.

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_p_start 
fr_p_sleep_all_day 
fr_p_stubble_harrow 
fr_p_stubble_plough 
fr_p_pk 
fr_p_herbicide1 
fr_p_fertilizer 
fr_p_subsoiler 
fr_p_spring_plough 
fr_p_sow 
fr_p_n1 
fr_p_strigling_hill1 
fr_p_n2 
fr_p_strigling_hill2 
fr_p_herbicide2 
fr_p_herbicide3 
fr_p_fungicide1 
fr_p_fungicide2 
fr_p_fungicide3 
fr_p_fungicide4 
fr_p_fungicide5 
fr_p_fungicide6 
fr_p_fungicide7 
fr_p_fungicide8 
fr_p_fungicide9 
fr_p_fungicide10 
fr_p_fungicide11 
fr_p_fungicide12 
fr_p_insecticide1 
fr_p_insecticide1b 
fr_p_insecticide2 
fr_p_herbicide4 
fr_p_swathing 
fr_p_harvest 
fr_p_foobar 
fr_p_fungicide6
Definition: FR_Potatoes.h:84
fr_p_fungicide2
Definition: FR_Potatoes.h:80
fr_p_pk
Definition: FR_Potatoes.h:67
fr_p_fungicide3
Definition: FR_Potatoes.h:81
fr_p_fungicide5
Definition: FR_Potatoes.h:83
fr_p_subsoiler
Definition: FR_Potatoes.h:70
fr_p_harvest
Definition: FR_Potatoes.h:96
fr_p_start
Definition: FR_Potatoes.h:63
fr_p_foobar
Definition: FR_Potatoes.h:97
fr_p_fungicide8
Definition: FR_Potatoes.h:86
fr_p_sow
Definition: FR_Potatoes.h:72
fr_p_fungicide4
Definition: FR_Potatoes.h:82
fr_p_fungicide7
Definition: FR_Potatoes.h:85
fr_p_fertilizer
Definition: FR_Potatoes.h:69
fr_p_herbicide1
Definition: FR_Potatoes.h:68
fr_p_n2
Definition: FR_Potatoes.h:75
fr_p_fungicide1
Definition: FR_Potatoes.h:79
fr_p_fungicide12
Definition: FR_Potatoes.h:90
fr_p_stubble_plough
Definition: FR_Potatoes.h:66
fr_p_n1
Definition: FR_Potatoes.h:73
fr_p_fungicide9
Definition: FR_Potatoes.h:87
fr_p_strigling_hill1
Definition: FR_Potatoes.h:74
fr_p_fungicide11
Definition: FR_Potatoes.h:89
fr_p_insecticide2
Definition: FR_Potatoes.h:93
fr_p_herbicide4
Definition: FR_Potatoes.h:94
fr_p_herbicide3
Definition: FR_Potatoes.h:78
fr_p_fungicide10
Definition: FR_Potatoes.h:88
FR_PotatoesToDo
FR_PotatoesToDo
A flag used to indicate autumn ploughing status.
Definition: FR_Potatoes.h:62
fr_p_insecticide1
Definition: FR_Potatoes.h:91
fr_p_insecticide1b
Definition: FR_Potatoes.h:92
fr_p_strigling_hill2
Definition: FR_Potatoes.h:76
fr_p_swathing
Definition: FR_Potatoes.h:95
fr_p_stubble_harrow
Definition: FR_Potatoes.h:65
fr_p_sleep_all_day
Definition: FR_Potatoes.h:64
fr_p_spring_plough
Definition: FR_Potatoes.h:71
FR_P_BASE
#define FR_P_BASE
Definition: FR_Potatoes.h:52
fr_p_herbicide2
Definition: FR_Potatoes.h:77