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

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

Go to the source code of this file.

Classes

class  DK_GrassGrazed_Perm
 DK_GrassGrazed_Perm class
. More...
 

Macros

#define DK_GGP_MANURE_S   a_field->m_user[0]
 
#define DK_GGP_MANURE_P   a_field->m_user[1]
 
#define DK_GGP_GRASS_READY   m_field->m_user[2]
 
#define DK_GGP_BASE   64700
 

Enumerations

enum  DK_GrassGrazed_PermToDo {
  dk_ggp_start = 1, dk_ggp_sleep_all_day = DK_GGP_BASE, dk_ggp_manure_s1, dk_ggp_manure_p1,
  dk_ggp_manure_s2, dk_ggp_manure_p2, dk_ggp_cutting1, dk_ggp_cutting2,
  dk_ggp_cutting3, dk_ggp_cutting4, dk_ggp_cutting5, dk_ggp_cutting6,
  dk_ggp_cutting_graze, dk_ggp_straw_chopping1, dk_ggp_straw_chopping2, dk_ggp_straw_chopping3,
  dk_ggp_straw_chopping4, dk_ggp_straw_chopping5, dk_ggp_straw_chopping6, dk_ggp_straw_chopping_graze,
  dk_ggp_grazing1, dk_ggp_grazing2, dk_ggp_cattle_out1, dk_ggp_cattle_out2,
  dk_ggp_water1, dk_ggp_water2, dk_ggp_herbicide, dk_ggp_wait,
  dk_ggp_foobar
}
 

Detailed Description

DK_GrassGrazed_Perm.h This file contains the source for the DK_GrassGrazed_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_GGP_BASE

#define DK_GGP_BASE   64700

◆ DK_GGP_GRASS_READY

#define DK_GGP_GRASS_READY   m_field->m_user[2]

◆ DK_GGP_MANURE_P

#define DK_GGP_MANURE_P   a_field->m_user[1]

◆ DK_GGP_MANURE_S

#define DK_GGP_MANURE_S   a_field->m_user[0]

Enumeration Type Documentation

◆ DK_GrassGrazed_PermToDo

Below is the list of things that a farmer can do if he is growing grassgrazed, 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_ggp_start 
dk_ggp_sleep_all_day 
dk_ggp_manure_s1 
dk_ggp_manure_p1 
dk_ggp_manure_s2 
dk_ggp_manure_p2 
dk_ggp_cutting1 
dk_ggp_cutting2 
dk_ggp_cutting3 
dk_ggp_cutting4 
dk_ggp_cutting5 
dk_ggp_cutting6 
dk_ggp_cutting_graze 
dk_ggp_straw_chopping1 
dk_ggp_straw_chopping2 
dk_ggp_straw_chopping3 
dk_ggp_straw_chopping4 
dk_ggp_straw_chopping5 
dk_ggp_straw_chopping6 
dk_ggp_straw_chopping_graze 
dk_ggp_grazing1 
dk_ggp_grazing2 
dk_ggp_cattle_out1 
dk_ggp_cattle_out2 
dk_ggp_water1 
dk_ggp_water2 
dk_ggp_herbicide 
dk_ggp_wait 
dk_ggp_foobar 
dk_ggp_cattle_out1
Definition: DK_GrassGrazed_Perm.h:60
dk_ggp_manure_p1
Definition: DK_GrassGrazed_Perm.h:41
dk_ggp_cutting3
Definition: DK_GrassGrazed_Perm.h:46
dk_ggp_cutting_graze
Definition: DK_GrassGrazed_Perm.h:50
dk_ggp_manure_p2
Definition: DK_GrassGrazed_Perm.h:43
dk_ggp_water2
Definition: DK_GrassGrazed_Perm.h:63
dk_ggp_cutting4
Definition: DK_GrassGrazed_Perm.h:47
DK_GrassGrazed_PermToDo
DK_GrassGrazed_PermToDo
Definition: DK_GrassGrazed_Perm.h:37
dk_ggp_manure_s1
Definition: DK_GrassGrazed_Perm.h:40
dk_ggp_manure_s2
Definition: DK_GrassGrazed_Perm.h:42
dk_ggp_straw_chopping3
Definition: DK_GrassGrazed_Perm.h:53
dk_ggp_straw_chopping5
Definition: DK_GrassGrazed_Perm.h:55
dk_ggp_straw_chopping_graze
Definition: DK_GrassGrazed_Perm.h:57
dk_ggp_foobar
Definition: DK_GrassGrazed_Perm.h:66
dk_ggp_wait
Definition: DK_GrassGrazed_Perm.h:65
dk_ggp_straw_chopping4
Definition: DK_GrassGrazed_Perm.h:54
dk_ggp_cutting6
Definition: DK_GrassGrazed_Perm.h:49
dk_ggp_grazing1
Definition: DK_GrassGrazed_Perm.h:58
dk_ggp_cutting5
Definition: DK_GrassGrazed_Perm.h:48
dk_ggp_cutting1
Definition: DK_GrassGrazed_Perm.h:44
dk_ggp_herbicide
Definition: DK_GrassGrazed_Perm.h:64
dk_ggp_straw_chopping1
Definition: DK_GrassGrazed_Perm.h:51
dk_ggp_cutting2
Definition: DK_GrassGrazed_Perm.h:45
DK_GGP_BASE
#define DK_GGP_BASE
Definition: DK_GrassGrazed_Perm.h:27
dk_ggp_start
Definition: DK_GrassGrazed_Perm.h:38
dk_ggp_grazing2
Definition: DK_GrassGrazed_Perm.h:59
dk_ggp_cattle_out2
Definition: DK_GrassGrazed_Perm.h:61
dk_ggp_straw_chopping2
Definition: DK_GrassGrazed_Perm.h:52
dk_ggp_sleep_all_day
Definition: DK_GrassGrazed_Perm.h:39
dk_ggp_water1
Definition: DK_GrassGrazed_Perm.h:62
dk_ggp_straw_chopping6
Definition: DK_GrassGrazed_Perm.h:56