ALMaSS Rabbit ODdox  1.1
The rabbit model description following ODdox protocol
elements.cpp File Reference
#include <math.h>
#include "../Landscape/ls.h"
#include "../BatchALMaSS/BoostRandomGenerators.h"

Go to the source code of this file.

Macros

#define _CRT_SECURE_NO_DEPRECATE
 
#define __WEED_CURVE   99
 
#define EL_BUG_PERCENT_A   0.0
 
#define EL_BUG_PERCENT_B   0.2975
 
#define EL_BUG_PERCENT_C   0.095916647275
 
#define EL_BUG_PERCENT_D   0
 
#define EL_BUG_PERCENT_SB_A   0
 
#define EL_BUG_PERCENT_SB_B   0.380763296
 
#define EL_BUG_PERCENT_SB_C   0
 
#define EL_BUG_PERCENT_D   0
 
#define EL_BUG_PERCENT_WW_A   0.0
 
#define EL_BUG_PERCENT_WW_B   0.1283
 
#define EL_BUG_PERCENT_WW_C   0.0
 
#define EL_BUG_PERCENT_D   0
 
#define EL_BUG_PERCENT_WRy_A   0.0
 
#define EL_BUG_PERCENT_WRy_B   0.395651915
 
#define EL_BUG_PERCENT_WRy_C   0.0
 
#define EL_BUG_PERCENT_D   0
 
#define EL_BUG_PERCENT_WR_A   0.0
 
#define EL_BUG_PERCENT_WR_B   0.028271643
 
#define EL_BUG_PERCENT_WR_C   0.0
 
#define EL_BUG_PERCENT_D   0
 
#define EL_BUG_PERCENT_G_A   4.123817127
 
#define EL_BUG_PERCENT_G_B   0.151015629
 
#define EL_BUG_PERCENT_G_C   -0.228228353
 
#define EL_BUG_PERCENT_D   0
 
#define EL_BUG_PERCENT_Edges_A   10.72459109
 
#define EL_BUG_PERCENT_Edges_B   0.4
 
#define EL_BUG_PERCENT_Edges_C   2.529631141
 
#define EL_BUG_PERCENT_D   0
 
#define EL_GROWTH_DAYDEG_MAGIC   l_el_growth_daydeg_magic.value()
 
#define EL_GROWTH_DATE_MAGIC   (g_date->DayInYear(1,9))
 
#define EL_GROWTH_PHASE_SHIFT_LEVEL   (l_el_growth_phase_shift_level.value())
 
#define EL_PLANT_BIOMASS   (l_el_plant_biomass_proport.value())
 
#define EL_VEG_START_LAIT   (l_el_veg_start_lait.value())
 
#define EL_VEG_HEIGHTSCALE   (l_el_veg_heightscale.value())
 
#define RV_CUT_MAY   (l_el_rv_cut_may.value())
 
#define RV_CUT_JUN   (l_el_rv_cut_jun.value())
 
#define RV_CUT_JUL   (l_el_rv_cut_jul.value())
 
#define RV_CUT_AUG   (l_el_rv_cut_aug.value())
 
#define RV_CUT_SEP   (l_el_rv_cut_sep.value())
 
#define RV_CUT_OCT   (l_el_rv_cut_oct.value())
 
#define RV_MAY_1ST   (l_el_rv_may_1st.value())
 
#define RV_CUT_HEIGHT   (l_el_rv_cut_height.value())
 
#define RV_CUT_GREEN   (l_el_rv_cut_green.value())
 
#define RV_CUT_TOTAL   (l_el_rv_cut_total.value())
 
#define EL_WEED_PERCENT   (l_el_weed_percent.value())
 
#define EL_WEED_SLOPE   (l_el_weed_slope.value())
 
#define EL_BUG_SLOPE   (l_el_bug_slope.value())
 
#define EL_WEED_GLUE   (l_el_weed_glue.value())
 
#define EL_BUG_GLUE   (l_el_bug_glue.value())
 

Functions

void FloatToDouble (double &, float)
 

Variables

boost::variate_generator< base_generator_type &, boost::uniform_real<> > g_rand_uni
 
class PollenNectarDevelopmentDatag_nectarpollen
 
CfgInt cfg_pest_productapplic_startdate
 
CfgInt cfg_pest_productapplic_period
 
CfgBool cfg_pollen_nectar_on ("ELE_POLLENNECTAR_ON", CFG_CUSTOM, false)
 Flag to determine whether nectar and pollen models are used - should be set to true for pollinator models! More...
 
CfgBool cfg_calc_pond_pesticide ("POND_PEST_CALC_ON", CFG_CUSTOM, false)
 Flag to determine whether to calculate pond pesticide concentration. More...
 
CfgFloat cfg_pondpesticiderunoff ("POND_PEST_RUNOFFFACTOR", CFG_CUSTOM, 10.0)
 The multiplication factor assumed to account for ingress of pesticide from run-off and soil water to a pond. More...
 
CfgBool cfg_randompondquality ("POND_RANDOMQUALITY", CFG_CUSTOM, false)
 Controls whether random pond quality is used. More...
 
CfgInt cfg_goosecountperiod ("GOOSE_GOOSECOUNTPERIOD", CFG_CUSTOM, 1)
 The number of days a goose count can be used. More...
 
CfgFloat cfg_PermanentVegGrowthMaxScaler ("VEG_GROWTHSCALERMAX", CFG_CUSTOM, 1.0)
 Scales the growth of vegetation - max value. More...
 
CfgFloat cfg_PermanentVegGrowthMinScaler ("VEG_GROWTHSCALERMIN", CFG_CUSTOM, 1.0)
 Scales the growth of vegetation - min value. More...
 
const double c_SolarConversion [2][81]
 
CfgFloat l_pest_insecticide_amount
 
static CfgFloat l_pest_productOrchard_amount ("PEST_PRODUCTORCHARD_AMOUNT", CFG_CUSTOM, 0.0)
 
CfgInt cfg_pest_productapplic_startdate2
 
CfgInt cfg_pest_productapplic_startdate3
 
CfgFloat cfg_goose_GrainDecayRateWinter
 
CfgFloat cfg_goose_GrainDecayRateSpring
 
CfgFloat cfg_goose_grass_to_winter_cereal_scaler
 
static CfgFloat cfg_beetlebankinsectscaler ("ELE_BBINSECTSCALER", CFG_CUSTOM, 1.0)
 
static double g_biomass_scale [tov_Undefined]
 
static double g_weed_percent [tov_Undefined]
 
static double g_bug_percent_a [tov_Undefined]
 
static double g_bug_percent_b [tov_Undefined]
 
static double g_bug_percent_c [tov_Undefined]
 
static double g_bug_percent_d [tov_Undefined]
 
static CfgInt cfg_OrchardSprayDay ("TOX_ORCHARDSPRAYDAY", CFG_CUSTOM, 150)
 
static CfgInt cfg_OrchardSprayDay2 ("TOX_ORCHARDSPRAYDAYTWO", CFG_CUSTOM, 200000)
 
CfgInt cfg_OrchardNoCutsDay ("TOX_ORCHARDNOCUTS", CFG_CUSTOM, -1)
 
static CfgInt cfg_MownGrassNoCutsDay ("ELE_MOWNGRASSNOCUTS", CFG_CUSTOM, -1)
 
static CfgInt cfg_UMPatchyChance ("UMPATCHYCHANCE", CFG_CUSTOM, 0)
 
static CfgFloat cfg_BBPatchyChance ("BEETLEBANKBPATCHYCHANCE", CFG_CUSTOM, 0.5)
 The chance that a beetlebank being created is patchy or not. More...
 
static CfgFloat cfg_MGPatchyChance ("MOWNGRASSPATCHYCHANCE", CFG_CUSTOM, 0.5)
 The chance that a beetlebank being created is patchy or not. More...
 
static CfgFloat cfg_SetAsidePatchyChance ("SETASIDEPATCHYCHANCE", CFG_CUSTOM, 1.0)
 The chance that a setaside being created is patchy or not. More...
 
static CfgFloat cfg_ele_weedscaling ("ELE_WEEDSCALING", CFG_CUSTOM, 1.0)
 
CfgFloat cfg_PondLarvalFoodBiomassConst ("POND_LARVALFOODBIOMASSCONST", CFG_CUSTOM, 215.0)
 A constant relating the proportion of food units per m2. The value is calibrated to estimates of newt density. More...
 
CfgFloat cfg_PondLarvalFoodR ("POND_LARVALFOODFOODR", CFG_CUSTOM, 0.15)
 The instanteous rate of growth for larval food (r from logistic equation) More...
 
CfgInt g_el_tramline_decaytime_days ("ELEM_TRAMLINE_DECAYTIME_DAYS", CFG_PRIVATE, 21)
 
CfgInt g_el_herbicide_delaytime_days ("ELEM_HERBICIDE_DELAYTIME_DAYS", CFG_PRIVATE, 35)
 
CfgInt g_el_strigling_delaytime_days ("ELEM_STRIGLING_DELAYTIME_DAYS", CFG_PRIVATE, 28)
 
static CfgInt l_el_growth_daydeg_magic ("ELEM_GROWTH_DAYDEG_MAGIC", CFG_PRIVATE, 100)
 
static CfgFloat l_el_growth_phase_shift_level ("ELEM_GROWTH_PHASE_SHIFT_LEVEL", CFG_PRIVATE, 0.5)
 
static CfgFloat l_el_plant_biomass_proport ("ELEM_PLANT_BIOMASS_PROPORT", CFG_PRIVATE, 41.45)
 
static CfgFloat l_el_veg_start_lait ("ELEM_VEG_START_LAIT", CFG_PRIVATE, 1.08)
 
static CfgInt l_el_veg_heightscale ("ELEM_VEG_HEIGHTSCALE", CFG_PRIVATE, 16)
 
static CfgInt l_el_rv_cut_may ("ELEM_RV_CUT_MAY", CFG_PRIVATE, 142)
 
static CfgInt l_el_rv_cut_jun ("ELEM_RV_CUT_JUN", CFG_PRIVATE, 28)
 
static CfgInt l_el_rv_cut_jul ("ELEM_RV_CUT_JUL", CFG_PRIVATE, 35)
 
static CfgInt l_el_rv_cut_aug ("ELEM_RV_CUT_AUG", CFG_PRIVATE, 42)
 
static CfgInt l_el_rv_cut_sep ("ELEM_RV_CUT_SEP", CFG_PRIVATE, 49)
 
static CfgInt l_el_rv_cut_oct ("ELEM_RV_CUT_OCT", CFG_PRIVATE, 49)
 
static CfgInt l_el_rv_may_1st ("ELEM_RV_MAY_1ST", CFG_PRIVATE, 121)
 
static CfgFloat l_el_rv_cut_height ("ELEM_RV_CUT_HEIGHT", CFG_PRIVATE, 10.0)
 
static CfgFloat l_el_rv_cut_green ("ELEM_RV_CUT_GREEN", CFG_PRIVATE, 1.5)
 
static CfgFloat l_el_rv_cut_total ("ELEM_RV_CUT_TOTAL", CFG_PRIVATE, 2.0)
 
CfgFloat l_el_o_cut_height ("ELEM_RV_CUT_HEIGHT", CFG_PRIVATE, 10.0)
 
CfgFloat l_el_o_cut_green ("ELEM_RV_CUT_GREEN", CFG_PRIVATE, 1.5)
 
CfgFloat l_el_o_cut_total ("ELEM_RV_CUT_TOTAL", CFG_PRIVATE, 2.0)
 
static CfgFloat l_el_weed_percent ("ELEM_WEED_PERCENT", CFG_PRIVATE, 0.1)
 
static CfgFloat l_el_weed_slope ("ELEM_WEED_SLOPE", CFG_PRIVATE, 0.15)
 
static CfgFloat l_el_bug_slope ("ELEM_BUG_SLOPE", CFG_PRIVATE, 0.2)
 
static CfgFloat l_el_weed_glue ("ELEM_WEED_GLUE", CFG_PRIVATE, 0.99)
 
static CfgFloat l_el_bug_glue ("ELEM_BUG_GLUE", CFG_PRIVATE, 0.50)
 
class LE_TypeClassg_letype
 

Macro Definition Documentation

◆ __WEED_CURVE

#define __WEED_CURVE   99

Definition at line 29 of file elements.cpp.

◆ _CRT_SECURE_NO_DEPRECATE

#define _CRT_SECURE_NO_DEPRECATE

Definition at line 25 of file elements.cpp.

◆ EL_BUG_GLUE

#define EL_BUG_GLUE   (l_el_bug_glue.value())

Definition at line 245 of file elements.cpp.

◆ EL_BUG_PERCENT_A

#define EL_BUG_PERCENT_A   0.0

Definition at line 32 of file elements.cpp.

◆ EL_BUG_PERCENT_B

#define EL_BUG_PERCENT_B   0.2975

Definition at line 33 of file elements.cpp.

◆ EL_BUG_PERCENT_C

#define EL_BUG_PERCENT_C   0.095916647275

Definition at line 34 of file elements.cpp.

◆ EL_BUG_PERCENT_D [1/7]

#define EL_BUG_PERCENT_D   0

Definition at line 71 of file elements.cpp.

◆ EL_BUG_PERCENT_D [2/7]

#define EL_BUG_PERCENT_D   0

Definition at line 71 of file elements.cpp.

◆ EL_BUG_PERCENT_D [3/7]

#define EL_BUG_PERCENT_D   0

Definition at line 71 of file elements.cpp.

◆ EL_BUG_PERCENT_D [4/7]

#define EL_BUG_PERCENT_D   0

Definition at line 71 of file elements.cpp.

◆ EL_BUG_PERCENT_D [5/7]

#define EL_BUG_PERCENT_D   0

Definition at line 71 of file elements.cpp.

◆ EL_BUG_PERCENT_D [6/7]

#define EL_BUG_PERCENT_D   0

Definition at line 71 of file elements.cpp.

◆ EL_BUG_PERCENT_D [7/7]

#define EL_BUG_PERCENT_D   0

Definition at line 71 of file elements.cpp.

◆ EL_BUG_PERCENT_Edges_A

#define EL_BUG_PERCENT_Edges_A   10.72459109

Definition at line 68 of file elements.cpp.

◆ EL_BUG_PERCENT_Edges_B

#define EL_BUG_PERCENT_Edges_B   0.4

Definition at line 69 of file elements.cpp.

◆ EL_BUG_PERCENT_Edges_C

#define EL_BUG_PERCENT_Edges_C   2.529631141

Definition at line 70 of file elements.cpp.

◆ EL_BUG_PERCENT_G_A

#define EL_BUG_PERCENT_G_A   4.123817127

Definition at line 62 of file elements.cpp.

◆ EL_BUG_PERCENT_G_B

#define EL_BUG_PERCENT_G_B   0.151015629

Definition at line 63 of file elements.cpp.

◆ EL_BUG_PERCENT_G_C

#define EL_BUG_PERCENT_G_C   -0.228228353

Definition at line 64 of file elements.cpp.

◆ EL_BUG_PERCENT_SB_A

#define EL_BUG_PERCENT_SB_A   0

Definition at line 38 of file elements.cpp.

◆ EL_BUG_PERCENT_SB_B

#define EL_BUG_PERCENT_SB_B   0.380763296

Definition at line 39 of file elements.cpp.

◆ EL_BUG_PERCENT_SB_C

#define EL_BUG_PERCENT_SB_C   0

Definition at line 40 of file elements.cpp.

◆ EL_BUG_PERCENT_WR_A

#define EL_BUG_PERCENT_WR_A   0.0

Definition at line 56 of file elements.cpp.

◆ EL_BUG_PERCENT_WR_B

#define EL_BUG_PERCENT_WR_B   0.028271643

Definition at line 57 of file elements.cpp.

◆ EL_BUG_PERCENT_WR_C

#define EL_BUG_PERCENT_WR_C   0.0

Definition at line 58 of file elements.cpp.

◆ EL_BUG_PERCENT_WRy_A

#define EL_BUG_PERCENT_WRy_A   0.0

Definition at line 50 of file elements.cpp.

◆ EL_BUG_PERCENT_WRy_B

#define EL_BUG_PERCENT_WRy_B   0.395651915

Definition at line 51 of file elements.cpp.

◆ EL_BUG_PERCENT_WRy_C

#define EL_BUG_PERCENT_WRy_C   0.0

Definition at line 52 of file elements.cpp.

◆ EL_BUG_PERCENT_WW_A

#define EL_BUG_PERCENT_WW_A   0.0

Definition at line 44 of file elements.cpp.

◆ EL_BUG_PERCENT_WW_B

#define EL_BUG_PERCENT_WW_B   0.1283

Definition at line 45 of file elements.cpp.

◆ EL_BUG_PERCENT_WW_C

#define EL_BUG_PERCENT_WW_C   0.0

Definition at line 46 of file elements.cpp.

◆ EL_BUG_SLOPE

#define EL_BUG_SLOPE   (l_el_bug_slope.value())

Definition at line 235 of file elements.cpp.

◆ EL_GROWTH_DATE_MAGIC

#define EL_GROWTH_DATE_MAGIC   (g_date->DayInYear(1,9))

Definition at line 164 of file elements.cpp.

◆ EL_GROWTH_DAYDEG_MAGIC

#define EL_GROWTH_DAYDEG_MAGIC   l_el_growth_daydeg_magic.value()

Definition at line 158 of file elements.cpp.

◆ EL_GROWTH_PHASE_SHIFT_LEVEL

#define EL_GROWTH_PHASE_SHIFT_LEVEL   (l_el_growth_phase_shift_level.value())

Definition at line 170 of file elements.cpp.

◆ EL_PLANT_BIOMASS

#define EL_PLANT_BIOMASS   (l_el_plant_biomass_proport.value())

Definition at line 182 of file elements.cpp.

◆ EL_VEG_HEIGHTSCALE

#define EL_VEG_HEIGHTSCALE   (l_el_veg_heightscale.value())

Definition at line 191 of file elements.cpp.

◆ EL_VEG_START_LAIT

#define EL_VEG_START_LAIT   (l_el_veg_start_lait.value())

Definition at line 187 of file elements.cpp.

◆ EL_WEED_GLUE

#define EL_WEED_GLUE   (l_el_weed_glue.value())

Definition at line 241 of file elements.cpp.

◆ EL_WEED_PERCENT

#define EL_WEED_PERCENT   (l_el_weed_percent.value())

Definition at line 227 of file elements.cpp.

◆ EL_WEED_SLOPE

#define EL_WEED_SLOPE   (l_el_weed_slope.value())

Definition at line 231 of file elements.cpp.

◆ RV_CUT_AUG

#define RV_CUT_AUG   (l_el_rv_cut_aug.value())

Definition at line 203 of file elements.cpp.

◆ RV_CUT_GREEN

#define RV_CUT_GREEN   (l_el_rv_cut_green.value())

Definition at line 217 of file elements.cpp.

◆ RV_CUT_HEIGHT

#define RV_CUT_HEIGHT   (l_el_rv_cut_height.value())

Definition at line 215 of file elements.cpp.

◆ RV_CUT_JUL

#define RV_CUT_JUL   (l_el_rv_cut_jul.value())

Definition at line 200 of file elements.cpp.

◆ RV_CUT_JUN

#define RV_CUT_JUN   (l_el_rv_cut_jun.value())

Definition at line 197 of file elements.cpp.

◆ RV_CUT_MAY

#define RV_CUT_MAY   (l_el_rv_cut_may.value())

Definition at line 194 of file elements.cpp.

◆ RV_CUT_OCT

#define RV_CUT_OCT   (l_el_rv_cut_oct.value())

Definition at line 209 of file elements.cpp.

◆ RV_CUT_SEP

#define RV_CUT_SEP   (l_el_rv_cut_sep.value())

Definition at line 206 of file elements.cpp.

◆ RV_CUT_TOTAL

#define RV_CUT_TOTAL   (l_el_rv_cut_total.value())

Definition at line 219 of file elements.cpp.

◆ RV_MAY_1ST

#define RV_MAY_1ST   (l_el_rv_may_1st.value())

Definition at line 212 of file elements.cpp.

Function Documentation

◆ FloatToDouble()

void FloatToDouble ( double &  ,
float   
)

Variable Documentation

◆ c_SolarConversion

const double c_SolarConversion[2][81]
Initial value:
= {
{
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.28,
0.56,0.84,1.12,1.4,1.4,1.4,1.4,1.4,1.4,1.4,1.4,1.4,1.4,1.4,1.4,1.4,1.4,1.4,
1.4,1.4,1.26,1.12,0.98,0.84,0.7,0.56,0.42,0.28,0.14,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0
},
{
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0.242857,0.485714,0.728571,0.971429,1.214286,1.457143,1.7,1.7,1.7,1.7,
1.7,1.7,1.7,1.7,1.7,1.7,1.7,1.7,1.7,1.7,1.7,1.7,1.7,1.7,1.7,1.7,1.7,1.7,
1.53,1.36,1.19,1.02,0.85,0.68,0.51,0.34,0.17,0,0,0,0,0,0
}
}

Definition at line 103 of file elements.cpp.

Referenced by VegElement::RecalculateBugsNStuff().

◆ cfg_BBPatchyChance

CfgFloat cfg_BBPatchyChance("BEETLEBANKBPATCHYCHANCE", CFG_CUSTOM, 0.5)
static

The chance that a beetlebank being created is patchy or not.

Referenced by BeetleBank::BeetleBank().

◆ cfg_beetlebankinsectscaler

CfgFloat cfg_beetlebankinsectscaler("ELE_BBINSECTSCALER", CFG_CUSTOM, 1.0)
static

◆ cfg_calc_pond_pesticide

CfgBool cfg_calc_pond_pesticide("POND_PEST_CALC_ON", CFG_CUSTOM, false)

Flag to determine whether to calculate pond pesticide concentration.

Referenced by Pond::CalcPondPesticide().

◆ cfg_ele_weedscaling

CfgFloat cfg_ele_weedscaling("ELE_WEEDSCALING", CFG_CUSTOM, 1.0)
static

◆ cfg_goose_GrainDecayRateSpring

CfgFloat cfg_goose_GrainDecayRateSpring

◆ cfg_goose_GrainDecayRateWinter

CfgFloat cfg_goose_GrainDecayRateWinter

◆ cfg_goose_grass_to_winter_cereal_scaler

CfgFloat cfg_goose_grass_to_winter_cereal_scaler

◆ cfg_goosecountperiod

CfgInt cfg_goosecountperiod("GOOSE_GOOSECOUNTPERIOD", CFG_CUSTOM, 1)

The number of days a goose count can be used.

Referenced by LE::GetGooseNos(), and LE::GetQuarryNos().

◆ cfg_MGPatchyChance

CfgFloat cfg_MGPatchyChance("MOWNGRASSPATCHYCHANCE", CFG_CUSTOM, 0.5)
static

The chance that a beetlebank being created is patchy or not.

Referenced by MownGrass::MownGrass().

◆ cfg_MownGrassNoCutsDay

CfgInt cfg_MownGrassNoCutsDay("ELE_MOWNGRASSNOCUTS", CFG_CUSTOM, -1)
static

◆ cfg_OrchardNoCutsDay

CfgInt cfg_OrchardNoCutsDay("TOX_ORCHARDNOCUTS", CFG_CUSTOM, -1)

Referenced by Orchard::DoDevelopment().

◆ cfg_OrchardSprayDay

CfgInt cfg_OrchardSprayDay("TOX_ORCHARDSPRAYDAY", CFG_CUSTOM, 150)
static

◆ cfg_OrchardSprayDay2

CfgInt cfg_OrchardSprayDay2("TOX_ORCHARDSPRAYDAYTWO", CFG_CUSTOM, 200000)
static

◆ cfg_PermanentVegGrowthMaxScaler

◆ cfg_PermanentVegGrowthMinScaler

◆ cfg_pest_productapplic_period

CfgInt cfg_pest_productapplic_period

Definition at line 123 of file elements.cpp.

◆ cfg_pest_productapplic_startdate

CfgInt cfg_pest_productapplic_startdate

Definition at line 120 of file elements.cpp.

Referenced by Orchard::DoDevelopment(), and OrchardBand::DoDevelopment().

◆ cfg_pest_productapplic_startdate2

CfgInt cfg_pest_productapplic_startdate2

◆ cfg_pest_productapplic_startdate3

CfgInt cfg_pest_productapplic_startdate3

◆ cfg_pollen_nectar_on

CfgBool cfg_pollen_nectar_on("ELE_POLLENNECTAR_ON", CFG_CUSTOM, false)

Flag to determine whether nectar and pollen models are used - should be set to true for pollinator models!

Referenced by PollenNectarDevelopmentData::PollenNectarDevelopmentData().

◆ cfg_PondLarvalFoodBiomassConst

CfgFloat cfg_PondLarvalFoodBiomassConst("POND_LARVALFOODBIOMASSCONST", CFG_CUSTOM, 215.0)

A constant relating the proportion of food units per m2. The value is calibrated to estimates of newt density.

Referenced by Pond::CalcLarvalFood().

◆ cfg_PondLarvalFoodR

CfgFloat cfg_PondLarvalFoodR("POND_LARVALFOODFOODR", CFG_CUSTOM, 0.15)

The instanteous rate of growth for larval food (r from logistic equation)

Referenced by Pond::CalcLarvalFood().

◆ cfg_pondpesticiderunoff

CfgFloat cfg_pondpesticiderunoff("POND_PEST_RUNOFFFACTOR", CFG_CUSTOM, 10.0)

The multiplication factor assumed to account for ingress of pesticide from run-off and soil water to a pond.

Referenced by Pond::CalcPondPesticide().

◆ cfg_randompondquality

CfgBool cfg_randompondquality("POND_RANDOMQUALITY", CFG_CUSTOM, false)

Controls whether random pond quality is used.

Referenced by Pond::Pond().

◆ cfg_SetAsidePatchyChance

CfgFloat cfg_SetAsidePatchyChance("SETASIDEPATCHYCHANCE", CFG_CUSTOM, 1.0)
static

The chance that a setaside being created is patchy or not.

Referenced by PermanentSetaside::PermanentSetaside().

◆ cfg_UMPatchyChance

CfgInt cfg_UMPatchyChance("UMPATCHYCHANCE", CFG_CUSTOM, 0)
static

◆ g_biomass_scale

double g_biomass_scale[tov_Undefined]
static

◆ g_bug_percent_a

◆ g_bug_percent_b

◆ g_bug_percent_c

◆ g_bug_percent_d

double g_bug_percent_d[tov_Undefined]
static

◆ g_el_herbicide_delaytime_days

CfgInt g_el_herbicide_delaytime_days("ELEM_HERBICIDE_DELAYTIME_DAYS", CFG_PRIVATE, 35)

◆ g_el_strigling_delaytime_days

CfgInt g_el_strigling_delaytime_days("ELEM_STRIGLING_DELAYTIME_DAYS", CFG_PRIVATE, 28)

◆ g_el_tramline_decaytime_days

CfgInt g_el_tramline_decaytime_days("ELEM_TRAMLINE_DECAYTIME_DAYS", CFG_PRIVATE, 21)

◆ g_letype

◆ g_nectarpollen

class PollenNectarDevelopmentData* g_nectarpollen

◆ g_rand_uni

◆ g_weed_percent

double g_weed_percent[tov_Undefined]
static

Definition at line 131 of file elements.cpp.

Referenced by VegElement::ReadBugPercentageFile(), and VegElement::VegElement().

◆ l_el_bug_glue

CfgFloat l_el_bug_glue("ELEM_BUG_GLUE", CFG_PRIVATE, 0.50)
static

◆ l_el_bug_slope

CfgFloat l_el_bug_slope("ELEM_BUG_SLOPE", CFG_PRIVATE, 0.2)
static

◆ l_el_growth_daydeg_magic

CfgInt l_el_growth_daydeg_magic("ELEM_GROWTH_DAYDEG_MAGIC", CFG_PRIVATE, 100)
static

◆ l_el_growth_phase_shift_level

CfgFloat l_el_growth_phase_shift_level("ELEM_GROWTH_PHASE_SHIFT_LEVEL", CFG_PRIVATE, 0.5)
static

◆ l_el_o_cut_green

CfgFloat l_el_o_cut_green("ELEM_RV_CUT_GREEN", CFG_PRIVATE, 1.5)

◆ l_el_o_cut_height

CfgFloat l_el_o_cut_height("ELEM_RV_CUT_HEIGHT", CFG_PRIVATE, 10.0)

◆ l_el_o_cut_total

CfgFloat l_el_o_cut_total("ELEM_RV_CUT_TOTAL", CFG_PRIVATE, 2.0)

◆ l_el_plant_biomass_proport

CfgFloat l_el_plant_biomass_proport("ELEM_PLANT_BIOMASS_PROPORT", CFG_PRIVATE, 41.45)
static

◆ l_el_rv_cut_aug

CfgInt l_el_rv_cut_aug("ELEM_RV_CUT_AUG", CFG_PRIVATE, 42)
static

◆ l_el_rv_cut_green

CfgFloat l_el_rv_cut_green("ELEM_RV_CUT_GREEN", CFG_PRIVATE, 1.5)
static

◆ l_el_rv_cut_height

CfgFloat l_el_rv_cut_height("ELEM_RV_CUT_HEIGHT", CFG_PRIVATE, 10.0)
static

◆ l_el_rv_cut_jul

CfgInt l_el_rv_cut_jul("ELEM_RV_CUT_JUL", CFG_PRIVATE, 35)
static

◆ l_el_rv_cut_jun

CfgInt l_el_rv_cut_jun("ELEM_RV_CUT_JUN", CFG_PRIVATE, 28)
static

◆ l_el_rv_cut_may

CfgInt l_el_rv_cut_may("ELEM_RV_CUT_MAY", CFG_PRIVATE, 142)
static

◆ l_el_rv_cut_oct

CfgInt l_el_rv_cut_oct("ELEM_RV_CUT_OCT", CFG_PRIVATE, 49)
static

◆ l_el_rv_cut_sep

CfgInt l_el_rv_cut_sep("ELEM_RV_CUT_SEP", CFG_PRIVATE, 49)
static

◆ l_el_rv_cut_total

CfgFloat l_el_rv_cut_total("ELEM_RV_CUT_TOTAL", CFG_PRIVATE, 2.0)
static

◆ l_el_rv_may_1st

CfgInt l_el_rv_may_1st("ELEM_RV_MAY_1ST", CFG_PRIVATE, 121)
static

◆ l_el_veg_heightscale

CfgInt l_el_veg_heightscale("ELEM_VEG_HEIGHTSCALE", CFG_PRIVATE, 16)
static

◆ l_el_veg_start_lait

CfgFloat l_el_veg_start_lait("ELEM_VEG_START_LAIT", CFG_PRIVATE, 1.08)
static

◆ l_el_weed_glue

CfgFloat l_el_weed_glue("ELEM_WEED_GLUE", CFG_PRIVATE, 0.99)
static

◆ l_el_weed_percent

CfgFloat l_el_weed_percent("ELEM_WEED_PERCENT", CFG_PRIVATE, 0.1)
static

◆ l_el_weed_slope

CfgFloat l_el_weed_slope("ELEM_WEED_SLOPE", CFG_PRIVATE, 0.15)
static

◆ l_pest_insecticide_amount

CfgFloat l_pest_insecticide_amount

◆ l_pest_productOrchard_amount

CfgFloat l_pest_productOrchard_amount("PEST_PRODUCTORCHARD_AMOUNT", CFG_CUSTOM, 0.0)
static