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

Go to the source code of this file.

Classes

class  FieldPeas
 

Macros

#define FPEAS_BASE   1600
 
#define FPEAD_INSECT_DATE   m_field->m_user[0]
 
#define FPEAD_FUNGI_DATE   m_field->m_user[1]
 
#define FPEAD_WATER_DATE   m_field->m_user[2]
 
#define FPEAS_DECIDE_TO_HERB   m_field->m_user[3]
 

Enumerations

enum  FieldPeasToDo {
  fp_start = 1, fp_harvest = FPEAS_BASE, fp_autumn_plough, fp_spring_plough,
  fp_spring_harrow, fp_fertmanure_plant, fp_fertmanure_stock, fp_spring_sow,
  fp_spring_roll, fp_herbicide_one, fp_herbicide_two, fp_insecticide,
  fp_fungicide, fp_water_one, fp_water_two, fp_growth_reg,
  fp_straw_chopping, fp_foobar
}
 

Macro Definition Documentation

◆ FPEAD_FUNGI_DATE

#define FPEAD_FUNGI_DATE   m_field->m_user[1]

◆ FPEAD_INSECT_DATE

#define FPEAD_INSECT_DATE   m_field->m_user[0]

◆ FPEAD_WATER_DATE

#define FPEAD_WATER_DATE   m_field->m_user[2]

◆ FPEAS_BASE

#define FPEAS_BASE   1600

◆ FPEAS_DECIDE_TO_HERB

#define FPEAS_DECIDE_TO_HERB   m_field->m_user[3]

Enumeration Type Documentation

◆ FieldPeasToDo

Enumerator
fp_start 
fp_harvest 
fp_autumn_plough 
fp_spring_plough 
fp_spring_harrow 
fp_fertmanure_plant 
fp_fertmanure_stock 
fp_spring_sow 
fp_spring_roll 
fp_herbicide_one 
fp_herbicide_two 
fp_insecticide 
fp_fungicide 
fp_water_one 
fp_water_two 
fp_growth_reg 
fp_straw_chopping 
fp_foobar 
39  {
40  fp_start = 1, // Compulsory, start event must always be 1 (one).
57  fp_foobar,
fp_straw_chopping
Definition: FieldPeas.h:56
fp_autumn_plough
Definition: FieldPeas.h:42
fp_water_two
Definition: FieldPeas.h:54
FPEAS_BASE
#define FPEAS_BASE
Definition: FieldPeas.h:31
fp_growth_reg
Definition: FieldPeas.h:55
fp_spring_sow
Definition: FieldPeas.h:47
fp_spring_harrow
Definition: FieldPeas.h:44
fp_fertmanure_plant
Definition: FieldPeas.h:45
fp_spring_roll
Definition: FieldPeas.h:48
fp_foobar
Definition: FieldPeas.h:57
FieldPeasToDo
FieldPeasToDo
Definition: FieldPeas.h:39
fp_fertmanure_stock
Definition: FieldPeas.h:46
fp_insecticide
Definition: FieldPeas.h:51
fp_herbicide_one
Definition: FieldPeas.h:49
fp_harvest
Definition: FieldPeas.h:41
fp_herbicide_two
Definition: FieldPeas.h:50
fp_water_one
Definition: FieldPeas.h:53
fp_fungicide
Definition: FieldPeas.h:52
fp_spring_plough
Definition: FieldPeas.h:43
fp_start
Definition: FieldPeas.h:40