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

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

Go to the source code of this file.

Classes

class  FR_Sorghum
 FR_Sorghum class
. More...
 

Macros

#define FR_S_EVERY_4_YEAR   a_field->m_user[1]
 
#define FR_S_BASE   191300
 

Enumerations

enum  FR_SorghumToDo {
  fr_s_start = 1, fr_s_sleep_all_day = FR_S_BASE, fr_s_autumn_plough, fr_s_fertilizer1,
  fr_s_stubble_harrow, fr_s_stubble_plough, fr_s_harrow1, fr_s_spring_plough,
  fr_s_false_seedbed1, fr_s_false_seedbed2, fr_s_false_seedbed3, fr_s_spring_harrow,
  fr_s_preseeding_sow, fr_s_n, fr_s_harrow2, fr_s_herbicide1,
  fr_s_herbicide2, fr_s_row_cultivation, fr_s_harvest, fr_s_foobar
}
 A flag used to indicate autumn ploughing status. More...
 

Detailed Description

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

#define FR_S_BASE   191300

◆ FR_S_EVERY_4_YEAR

#define FR_S_EVERY_4_YEAR   a_field->m_user[1]

Enumeration Type Documentation

◆ FR_SorghumToDo

A flag used to indicate autumn ploughing status.

Below is the list of things that a farmer can do if he is growing winter 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
fr_s_start 
fr_s_sleep_all_day 
fr_s_autumn_plough 
fr_s_fertilizer1 
fr_s_stubble_harrow 
fr_s_stubble_plough 
fr_s_harrow1 
fr_s_spring_plough 
fr_s_false_seedbed1 
fr_s_false_seedbed2 
fr_s_false_seedbed3 
fr_s_spring_harrow 
fr_s_preseeding_sow 
fr_s_n 
fr_s_harrow2 
fr_s_herbicide1 
fr_s_herbicide2 
fr_s_row_cultivation 
fr_s_harvest 
fr_s_foobar 
fr_s_harrow2
Definition: FR_Sorghum.h:76
fr_s_row_cultivation
Definition: FR_Sorghum.h:79
fr_s_false_seedbed2
Definition: FR_Sorghum.h:71
fr_s_herbicide1
Definition: FR_Sorghum.h:77
fr_s_sleep_all_day
Definition: FR_Sorghum.h:63
fr_s_preseeding_sow
Definition: FR_Sorghum.h:74
fr_s_harrow1
Definition: FR_Sorghum.h:68
fr_s_n
Definition: FR_Sorghum.h:75
fr_s_fertilizer1
Definition: FR_Sorghum.h:65
fr_s_stubble_plough
Definition: FR_Sorghum.h:67
fr_s_spring_plough
Definition: FR_Sorghum.h:69
fr_s_false_seedbed1
Definition: FR_Sorghum.h:70
fr_s_start
Definition: FR_Sorghum.h:62
fr_s_stubble_harrow
Definition: FR_Sorghum.h:66
FR_S_BASE
#define FR_S_BASE
Definition: FR_Sorghum.h:51
fr_s_herbicide2
Definition: FR_Sorghum.h:78
fr_s_foobar
Definition: FR_Sorghum.h:81
fr_s_autumn_plough
Definition: FR_Sorghum.h:64
fr_s_harvest
Definition: FR_Sorghum.h:80
fr_s_spring_harrow
Definition: FR_Sorghum.h:73
FR_SorghumToDo
FR_SorghumToDo
A flag used to indicate autumn ploughing status.
Definition: FR_Sorghum.h:61
fr_s_false_seedbed3
Definition: FR_Sorghum.h:72