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

DK_EnergyCrop_Perm.h This file contains the source for the DK_EnergyCrop_Perm class
More...

Go to the source code of this file.

Classes

class  DK_OEnergyCrop_Perm
 DK_OEnergyCrop_Perm class
. More...
 

Macros

#define DK_OEC_YEARS_AFTER_EST   a_field->m_user[1]
 
#define DK_OEC_BASE   64300
 

Enumerations

enum  DK_OEnergyCrop_PermToDo {
  dk_oec_start = 1, dk_oec_sleep_all_day = DK_OEC_BASE, dk_oec_deep_plough_sand, dk_oec_roll1_sand,
  dk_oec_slurry1_s_sand, dk_oec_npk1_p_sand, dk_oec_deep_plough_clay, dk_oec_roll1_clay,
  dk_oec_slurry1_s_clay, dk_oec_npk1_p_clay, dk_oec_planting_sand, dk_oec_planting_clay,
  dk_oec_roll2, dk_oec_shallowharrow1, dk_oec_shallowharrow2, dk_oec_cut_trees,
  dk_oec_slurry2_s, dk_oec_npk2_p, dk_oec_shallowharrow3, dk_oec_shallowharrow4,
  dk_oec_harvest, dk_oec_slurry3_s, dk_oec_npk3_p, dk_oec_foobar
}
 A flag used to indicate autumn ploughing status. More...
 

Detailed Description

DK_EnergyCrop_Perm.h This file contains the source for the DK_EnergyCrop_Perm class

by Chris J. Topping
modified by Luna Kondrup Marcussen
Version of May 2022
All rights reserved.
With additions as noted in:
Doxygen formatted comments in July 2008

Macro Definition Documentation

◆ DK_OEC_BASE

#define DK_OEC_BASE   64300

◆ DK_OEC_YEARS_AFTER_EST

#define DK_OEC_YEARS_AFTER_EST   a_field->m_user[1]

Enumeration Type Documentation

◆ DK_OEnergyCrop_PermToDo

A flag used to indicate autumn ploughing status.

Below is the list of things that a farmer can do if he is growing cabbage, 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
dk_oec_start 
dk_oec_sleep_all_day 
dk_oec_deep_plough_sand 
dk_oec_roll1_sand 
dk_oec_slurry1_s_sand 
dk_oec_npk1_p_sand 
dk_oec_deep_plough_clay 
dk_oec_roll1_clay 
dk_oec_slurry1_s_clay 
dk_oec_npk1_p_clay 
dk_oec_planting_sand 
dk_oec_planting_clay 
dk_oec_roll2 
dk_oec_shallowharrow1 
dk_oec_shallowharrow2 
dk_oec_cut_trees 
dk_oec_slurry2_s 
dk_oec_npk2_p 
dk_oec_shallowharrow3 
dk_oec_shallowharrow4 
dk_oec_harvest 
dk_oec_slurry3_s 
dk_oec_npk3_p 
dk_oec_foobar 
dk_oec_harvest
Definition: DK_OEnergyCrop_Perm.h:56
dk_oec_shallowharrow4
Definition: DK_OEnergyCrop_Perm.h:55
dk_oec_slurry1_s_clay
Definition: DK_OEnergyCrop_Perm.h:44
dk_oec_foobar
Definition: DK_OEnergyCrop_Perm.h:59
dk_oec_roll1_clay
Definition: DK_OEnergyCrop_Perm.h:43
dk_oec_sleep_all_day
Definition: DK_OEnergyCrop_Perm.h:37
dk_oec_planting_clay
Definition: DK_OEnergyCrop_Perm.h:47
dk_oec_npk2_p
Definition: DK_OEnergyCrop_Perm.h:53
dk_oec_planting_sand
Definition: DK_OEnergyCrop_Perm.h:46
dk_oec_npk1_p_sand
Definition: DK_OEnergyCrop_Perm.h:41
dk_oec_roll1_sand
Definition: DK_OEnergyCrop_Perm.h:39
dk_oec_npk3_p
Definition: DK_OEnergyCrop_Perm.h:58
dk_oec_slurry1_s_sand
Definition: DK_OEnergyCrop_Perm.h:40
dk_oec_shallowharrow2
Definition: DK_OEnergyCrop_Perm.h:50
dk_oec_shallowharrow1
Definition: DK_OEnergyCrop_Perm.h:49
dk_oec_roll2
Definition: DK_OEnergyCrop_Perm.h:48
DK_OEnergyCrop_PermToDo
DK_OEnergyCrop_PermToDo
A flag used to indicate autumn ploughing status.
Definition: DK_OEnergyCrop_Perm.h:35
dk_oec_cut_trees
Definition: DK_OEnergyCrop_Perm.h:51
dk_oec_slurry2_s
Definition: DK_OEnergyCrop_Perm.h:52
dk_oec_shallowharrow3
Definition: DK_OEnergyCrop_Perm.h:54
DK_OEC_BASE
#define DK_OEC_BASE
Definition: DK_OEnergyCrop_Perm.h:25
dk_oec_start
Definition: DK_OEnergyCrop_Perm.h:36
dk_oec_npk1_p_clay
Definition: DK_OEnergyCrop_Perm.h:45
dk_oec_slurry3_s
Definition: DK_OEnergyCrop_Perm.h:57
dk_oec_deep_plough_clay
Definition: DK_OEnergyCrop_Perm.h:42
dk_oec_deep_plough_sand
Definition: DK_OEnergyCrop_Perm.h:38