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

FI_TurnipRape.h This file contains the headers for the TurnipRape class
More...

Go to the source code of this file.

Classes

class  FI_SpringRape
 FI_SpringRape class
. More...
 

Macros

#define FI_SR_BASE   71100
 
#define FI_SR_AUTUMN_PLOUGH   a_field->m_user[1]
 A flag used to indicate autumn ploughing status. More...
 
#define FI_SR_DECIDE_TO_HERB   a_field->m_user[2]
 
#define FI_SR_DECIDE_TO_FI   a_field->m_user[3]
 

Enumerations

enum  FI_SpringRapeToDo {
  fi_sr_start = 1, fi_sr_sleep_all_day = FI_SR_BASE, fi_sr_stubble_cultivator1, fi_sr_autumn_plough,
  fi_sr_slurry, fi_sr_spring_plough, fi_sr_preseeding_cultivation, fi_sr_preseeding_sow,
  fi_sr_sow, fi_sr_fertilizer, fi_sr_herbicide1, fi_sr_insecticide1,
  fi_sr_insecticide1b, fi_sr_insecticide2, fi_sr_insecticide2b, fi_sr_fungicide,
  fi_sr_harvest, fi_sr_herbicide2, fi_sr_stubble_cultivator2, fi_sr_autumn_plough2,
  fi_sr_foobar
}
 

Detailed Description

FI_TurnipRape.h This file contains the headers for the TurnipRape class

by Chris J. Topping, modified by Luna Kondrup Marcussen
Version of June 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

◆ FI_SR_AUTUMN_PLOUGH

#define FI_SR_AUTUMN_PLOUGH   a_field->m_user[1]

A flag used to indicate autumn ploughing status.

◆ FI_SR_BASE

#define FI_SR_BASE   71100

◆ FI_SR_DECIDE_TO_FI

#define FI_SR_DECIDE_TO_FI   a_field->m_user[3]

◆ FI_SR_DECIDE_TO_HERB

#define FI_SR_DECIDE_TO_HERB   a_field->m_user[2]

Enumeration Type Documentation

◆ FI_SpringRapeToDo

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
fi_sr_start 
fi_sr_sleep_all_day 
fi_sr_stubble_cultivator1 
fi_sr_autumn_plough 
fi_sr_slurry 
fi_sr_spring_plough 
fi_sr_preseeding_cultivation 
fi_sr_preseeding_sow 
fi_sr_sow 
fi_sr_fertilizer 
fi_sr_herbicide1 
fi_sr_insecticide1 
fi_sr_insecticide1b 
fi_sr_insecticide2 
fi_sr_insecticide2b 
fi_sr_fungicide 
fi_sr_harvest 
fi_sr_herbicide2 
fi_sr_stubble_cultivator2 
fi_sr_autumn_plough2 
fi_sr_foobar 
fi_sr_fertilizer
Definition: FI_SpringRape.h:73
fi_sr_sleep_all_day
Definition: FI_SpringRape.h:65
fi_sr_harvest
Definition: FI_SpringRape.h:80
FI_SpringRapeToDo
FI_SpringRapeToDo
Definition: FI_SpringRape.h:63
fi_sr_stubble_cultivator2
Definition: FI_SpringRape.h:82
fi_sr_insecticide1
Definition: FI_SpringRape.h:75
fi_sr_autumn_plough
Definition: FI_SpringRape.h:67
fi_sr_slurry
Definition: FI_SpringRape.h:68
fi_sr_insecticide1b
Definition: FI_SpringRape.h:76
fi_sr_autumn_plough2
Definition: FI_SpringRape.h:83
FI_SR_BASE
#define FI_SR_BASE
Definition: FI_SpringRape.h:49
fi_sr_herbicide1
Definition: FI_SpringRape.h:74
fi_sr_preseeding_sow
Definition: FI_SpringRape.h:71
fi_sr_insecticide2
Definition: FI_SpringRape.h:77
fi_sr_stubble_cultivator1
Definition: FI_SpringRape.h:66
fi_sr_fungicide
Definition: FI_SpringRape.h:79
fi_sr_insecticide2b
Definition: FI_SpringRape.h:78
fi_sr_spring_plough
Definition: FI_SpringRape.h:69
fi_sr_herbicide2
Definition: FI_SpringRape.h:81
fi_sr_start
Definition: FI_SpringRape.h:64
fi_sr_foobar
Definition: FI_SpringRape.h:84
fi_sr_sow
Definition: FI_SpringRape.h:72
fi_sr_preseeding_cultivation
Definition: FI_SpringRape.h:70