File failed to load: https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/extensions/ams.js
|
ALMaSS
1.2 (after EcoStack, March 2024)
The Animal, Landscape and Man Simulation System
|
#include <Elements.h>
|
| LE (Landscape *L) |
|
virtual | ~LE (void) |
|
virtual int | GetAphidDensity () |
|
int | GetVegStore (void) |
| Variable used to record the current grazing pressure by e.g. voles */ double m_volegrazing; /**. More...
|
|
void | SetVegStore (int a_veg) |
|
void | ZeroVegAge () |
|
int | GetVegAge () |
|
virtual void | DoDevelopment (void) |
|
virtual void | RecalculateBugsNStuff (void) |
|
virtual int | GetVegPhase (void) |
|
virtual bool | GetIsVeg (void) |
|
virtual double | GetVegGrowthStage (void) |
|
virtual double | GetVegCover (void) |
|
virtual double | GetVegHeight (void) |
|
virtual APoint | GetCentroid () |
|
virtual int | GetCentroidX () |
|
virtual int | GetCentroidY () |
|
virtual void | SetCentroid (int x, int y) |
|
virtual double | GetDigestibility (void) |
|
virtual int | GetVegDensity (void) |
|
virtual bool | GetSkScrapes (void) |
|
virtual void | SetVegGrowthScalerRand () |
|
virtual double | GetDayDegrees (void) |
|
virtual double | GetLAGreen (void) |
|
virtual double | GetLATotal (void) |
|
virtual double | GetGreenBiomass (void) |
|
virtual double | GetInterestedGreenBiomass (void) |
|
virtual double | GetGreenBiomassProp (void) |
|
virtual double | GetDeadBiomass (void) |
|
virtual double | GetVegBiomass (void) |
|
virtual double | GetWeedBiomass (void) |
|
virtual double | GetInsectPop (void) |
|
virtual void | SetInsectPop (double) |
|
virtual void | Insecticide (double) |
|
virtual void | InsectMortality (double) |
|
virtual void | ReduceWeedBiomass (double) |
|
virtual void | ToggleCattleGrazing (void) |
|
virtual void | TogglePigGrazing (void) |
|
virtual void | ToggleIrrigation (void) |
|
virtual void | SetVegBiomass (int) |
|
virtual void | SetVegType (TTypesOfVegetation) |
|
virtual void | SetVegType (TTypesOfVegetation, TTypesOfVegetation) |
|
virtual void | SetVegHeight (double) |
|
virtual void | SetDigestibility (double) |
|
virtual void | SetGrazingLevel (int) |
|
virtual void | SetVegParameters (double, double, double, double) |
|
virtual void | SetCropData (double, double, double, TTypesOfVegetation, double, int) |
|
virtual void | SetCropDataAll (double, double, double, double, TTypesOfVegetation, double, double, int, double, bool, double, double, double) |
|
virtual void | StoreLAItotal () |
|
virtual void | SetGrowthPhase (int) |
|
virtual void | ForceGrowthInitialize (bool a_force_decreasing=false) |
|
virtual void | ForceGrowthInitialiseForFirstYearCrop (void) |
|
virtual void | ForceGrowthTest (void) |
|
virtual void | ForceGrowthDevelopment (void) |
|
virtual void | ZeroVeg (void) |
|
virtual void | ReduceVeg (double) |
|
virtual void | ReduceVeg_Extended (double) |
|
virtual void | GrazeVeg_Extended (double) |
|
virtual double | GetTrafficLoad (void) |
|
virtual TTypesOfVegetation | GetPreviousTov (int) |
|
bool | GetPoison (void) |
|
void | SetPoison (bool a_poison) |
|
bool | Is_Att_High (void) |
|
void | Set_Att_High (bool a_high) |
|
bool | Is_Att_Water (void) |
|
void | Set_Att_Water (bool a_water) |
|
bool | Is_Att_Forest (void) |
|
void | Set_Att_Forest (bool a_forest) |
|
bool | Is_Att_Woody (void) |
|
void | Set_Att_Woody (bool a_woody) |
|
bool | Is_Att_UrbanNoVeg (void) |
|
void | Set_Att_UrbanNoVeg (bool a_unv) |
|
bool | Is_Att_UserDefinedBool (void) |
|
void | Set_Att_UserDefinedBool (bool a_value) |
|
int | Is_Att_UserDefinedInt (void) |
|
void | Set_Att_UserDefinedInt (int a_value) |
|
virtual bool | Is_Att_Veg (void) |
|
virtual bool | Is_Att_VegPatchy (void) |
|
virtual void | Set_Att_VegPatchy (bool) |
|
virtual bool | Is_Att_VegCereal () |
|
virtual void | Set_Att_VegCereal (bool) |
|
virtual bool | Is_Att_VegGrass () |
|
virtual void | Set_Att_VegGrass (bool) |
|
virtual bool | Is_Att_VegMatureCereal () |
|
virtual void | Set_Att_VegMatureCereal (bool) |
|
virtual bool | Is_Att_VegMaize () |
|
virtual void | Set_Att_VegMaize (bool) |
|
virtual bool | Is_Att_VegGooseGrass () |
|
virtual void | Set_Att_VegGooseGrass (bool) |
|
void | SetVegPatchy (bool p) |
|
int | GetCattleGrazing (void) |
|
bool | GetPigGrazing (void) |
|
bool | HasTramlines (void) |
|
bool | IsRecentlyMown (void) |
|
int | IsRecentlySprayed (void) |
|
int | GetPoly (void) |
| Returns the polyref number for this polygon. More...
|
|
int | GetMapIndex (void) |
|
void | SetMapIndex (int a_map_index) |
|
int | GetOwnerFile (void) |
|
int | GetOwnerIndex (void) |
|
int | GetLastTreatment (int *a_index) |
|
int | GetLastTreatment () |
| Returns the last treatment recorded for the polygon. More...
|
|
void | ClearManagementActionSum () |
| clears the management action counters More...
|
|
void | AddManagementActionDone (FarmManagementCategory a_action) |
| Record management action throught a crop management action. More...
|
|
vector< int > | GetManagementTotals () |
|
Farm * | GetOwner (void) |
|
double | GetArea (void) |
|
virtual void | SetSpeciesFunction (TTypesOfPopulation a_species) |
| Sets the correct species simulation behaviour for the current species - implemented in VegElement. More...
|
|
double | GetGooseGrazingForage (GooseSpecies a_goose) |
|
double | GetBirdSeed (void) |
|
void | SetBirdSeed (double a_forage) |
|
double | GetBirdMaize (void) |
|
void | SetBirdMaize (double a_forage) |
|
int | GetCountryDesignation (void) |
|
void | SetCountryDesignation (int a_designation) |
|
long | GetOldDays (void) |
|
void | SetOwner (Farm *a_owner, int a_owner_num, int a_owner_index) |
|
void | SetPoly (int a_poly) |
|
void | SetMapValid (bool a_valid) |
|
bool | GetMapValid (void) |
|
void | SetArea (double a_area) |
|
virtual void | GrazeVegetation (double, bool) |
|
virtual void | GrazeVegetationHeight (double a_reduc) |
|
virtual void | GrazeVegetationTotal (double) |
|
int | GetSoilType () |
|
int | GetSoilTypeR () |
|
void | SetSoilType (int a_st) |
|
void | SetLastSownVeg (TTypesOfVegetation a_tov) |
| Records the last vegetation type to be sown. More...
|
|
TTypesOfVegetation | GetLastSownVeg () |
| Returns the last vegetation type to be sown. More...
|
|
void | SetLastTreatment (int a_treatment) |
|
void | SetSprayedToday (bool a_didit) |
|
bool | GetSprayedToday () |
|
void | SetCopyTreatment (int a_treatment) |
|
void | SetOldDays (long a_days) |
|
void | SetRotIndex (int a_index) |
|
int | GetRotIndex (void) |
|
void | SetTramlinesDecay (int a_decaytime_days) |
|
void | SetHerbicideDelay (int a_decaytime_days) |
|
void | SetMownDecay (int a_decaytime_days) |
|
void | AddArea (double a_area_diff) |
|
LE * | GetBorder (void) |
|
int | GetUnsprayedMarginPolyRef (void) |
|
void | SetBorder (LE *a_border) |
|
void | SetUnsprayedMarginPolyRef (int a_unsprayedmargin) |
|
void | SetPesticideCell (int a_cell) |
|
int | GetPesticideCell () |
|
void | SetValidXY (int a_valid_x, int a_valid_y) |
|
int | GetValidX (void) |
|
int | GetValidY (void) |
|
int | GetMaxX (void) |
|
int | GetMaxY (void) |
|
int | GetMinX (void) |
|
int | GetMinY (void) |
|
void | SetMaxX (int x) |
|
void | SetMaxY (int y) |
|
void | SetMinX (int x) |
|
void | SetMinY (int y) |
|
int | GetMDates (int a, int b) |
|
void | SetMDates (int a, int b, int c) |
|
int | GetMConstants (int a) |
|
void | SetMConstants (int a, int c) |
|
double | GetVegDDegs () |
| Get the total of day degrees for the crop/veg on this element. More...
|
|
int | GetOpenness (void) |
| For goose model functionality, openness score for the polygon. More...
|
|
double | GetElevation (void) |
| Get elevation data. More...
|
|
double | GetSlope (void) |
|
double | GetAspect (void) |
|
void | SetGooseNos (int a_number, int a_day) |
|
void | SetGooseSpNos (int a_number, int a_day, GooseSpecies a_goose) |
|
void | SetGooseNosTimed (int a_number, int a_day) |
|
void | SetGooseSpNosTimed (int a_number, int a_day, GooseSpecies a_goose) |
|
void | SetGooseRoostDist (int a_dist, GooseSpecies a_goose) |
|
int | GetGooseNosToday () |
| For goose model functionality, returns the number of geese today. More...
|
|
int | GetGooseNosTodayTimed () |
| For goose model functionality, returns the number of geese today at a predefined time. More...
|
|
int | GetGooseNos () |
| For goose model functionality, returns the number of geese yesterday. More...
|
|
int | GetQuarryNos () |
| For goose model functionality, returns the number of geese yesterday which can be hunted as legal quarry. More...
|
|
int | GetGooseSpNosToday (GooseSpecies a_goose) |
| For goose model functionality, returns the number of geese per species yesterday. More...
|
|
int | GetGooseSpNosTodayTimed (GooseSpecies a_goose) |
| For goose model functionality, returns the number of geese per species yesterday at a predefined time. More...
|
|
int | GetGooseRoostDist (GooseSpecies a_goose) |
| For goose model functionality, returns the distance to closest roost. More...
|
|
void | SetOpenness (int a_openness) |
| Records the openness statistic for this polygon. More...
|
|
void | SetElevation (double a_elevation) |
| Records the elevation of the polygon. More...
|
|
void | SetSlope (double a_slope) |
|
void | SetAspect (double a_aspect) |
|
virtual void | ResetDigestibility () |
| sets growth record to zero in descendent classes More...
|
|
void | DoCopy (const LE *a_Le) |
| a copy function to be used because a copy constuctor won't work More...
|
|
virtual void | SetMaleNewtPresent (bool) |
| Sets a male newt as present/absent in descendent classes - here only to prevent need for dynamic casts. More...
|
|
virtual bool | IsMaleNewtPresent () |
| Sets a male newt as present/absent in descendent classes - here only to prevent need for dynamic casts. More...
|
|
void | SetStubble (bool a_flag) |
| Sets the in stubble flag. More...
|
|
bool | GetStubble () |
| Return the in stubble flag. More...
|
|
PlantProtectionProducts | GetSprayPPPType (void) |
| Return the sprayed pesticide type in the field. More...
|
|
double | GetSprayPPPRate (void) |
| Return the sprayed pesticide application rate. More...
|
|
void | SetSprayPPPType (PlantProtectionProducts a_type) |
| Set the sprayed pesticide type in the field. More...
|
|
void | SetSprayPPPRate (double a_rate) |
| Set the sprayed pesticide application rate. More...
|
|
void | SetPollenNectarCurveRef (int a_PollenNectarCurve) |
| Sets the pollen/nectar curve number. More...
|
|
void | SetPollenNectarType (TTypesOfVegetation a_new_veg) |
| sets the pollen and nectar information based on tov More...
|
|
virtual PollenNectarData | GetPollen () |
| Gets the pollen quantity & quality for this landscape element. More...
|
|
virtual PollenNectarData | GetNectar () |
| Gets the nectar quantity & quality for this landscape element. More...
|
|
virtual double | GetPollenQuantity () |
| Gets the pollen quantity for this landscape element. More...
|
|
virtual double | GetPollenQuality () |
| Gets the pollen quality for this landscape element. More...
|
|
virtual double | GetNectarQuantity () |
| Gets the nectar quantity for this landscape element. More...
|
|
virtual double | GetSugar () |
| Gets the nectar quality (sugar) for this landscape element. More...
|
|
virtual double | GetTotalPollen () |
| Returns the total pollen quantity for this landscape element. More...
|
|
virtual double | GetTotalNectar () |
| Returns the total nectar quantity for this landscape element. More...
|
|
virtual void | ChangeTotalPollen (double a_amount) |
| Removes a_amount from total LE pollen. More...
|
|
virtual void | ChangeTotalNectar (double a_amount) |
| Removes a_amount from total LE nectar. More...
|
|
void | SetPollenNectarCurves (PollenNectarDevelopmentCurveSet *a_set) |
| Set method for pollen and nectar curves. More...
|
|
virtual void | CalculateFlowerResourceForCrop (TTypesOfVegetation a_new_veg) |
| The function to calculate flower resource for the crop in a year. More...
|
|
virtual void | CalculateFlowerResourceForCropSow (TTypesOfVegetation a_new_veg) |
|
virtual void | PollenNectarReset () |
|
virtual double | supplyNecDD () |
|
virtual double | supplySugDD () |
|
virtual double | supplyPolDD () |
|
virtual bool | GetPollenNectarFlag () |
| Returns the flag showing whether there is potential pollen/nectar here or not. More...
|
|
int | GetPollenNectarCurveRef (void) |
| Returns the pollen nectart curve number. More...
|
|
◆ LE()
The major job of this constructor is simply to provide default values for all members
855 m_repeat_start =
false;
858 SetALMaSSEleType(-1);
886 for (
int i = 0; i < 366; i++)
890 for (
int l = 0; l < gs_foobar; l++)
896 for (
int l = 0; l < gs_foobar; l++)
900 for (
int i = 0; i < 25; i++)
909 for (
int i = 0; i < 256; i++ ) {
References ppp_foobar, sleep_all_day, toc_None, tole_Foobar, and tov_Undefined.
◆ ~LE()
◆ AddArea()
void LE::AddArea |
( |
double |
a_area_diff | ) |
|
|
inline |
◆ AddManagementActionDone()
◆ CalculateFlowerResourceForCrop()
The function to calculate flower resource for the crop in a year.
1210 Eigen::ArrayXd temp_dd = Eigen::ArrayXd::Zero(365);
1211 for(
int i=0; i<365; i++){
1217 temp_dd = (temp_dd > max_temp).select(max_temp, temp_dd);
1220 temp_dd -= min_temp;
1221 temp_dd = (temp_dd < 0).select(0, temp_dd);
1227 double temp_add = 0.0;
1228 int temp_starting_day = 0;
1230 for(
int i=0; i<365; i++){
1231 temp_add += temp_dd(i);
1232 temp_starting_day = i;
1233 if(temp_add >= temp_starting_dd){
1238 int temp_ending_day = 0;
1239 for(
int i=temp_starting_day+1; i<365; i++){
1240 temp_add += temp_dd(i);
1241 temp_ending_day = i;
1242 if(temp_add >= temp_ending_dd){
1247 int flower_length = temp_ending_day - temp_starting_day;
References cfg_FloweringPeriodPhasesLengthArray, cfg_FloweringPeriodPhasesProportionArray, g_weather, Weather::GetTempAfterDays(), and CfgArray_Double::value().
Referenced by VegElement::DoDevelopment().
◆ CalculateFlowerResourceForCropSow()
◆ ChangeTotalNectar()
virtual void LE::ChangeTotalNectar |
( |
double |
a_amount | ) |
|
|
inlinevirtual |
◆ ChangeTotalPollen()
virtual void LE::ChangeTotalPollen |
( |
double |
a_amount | ) |
|
|
inlinevirtual |
◆ ClearManagementActionSum()
void LE::ClearManagementActionSum |
( |
| ) |
|
|
inline |
clears the management action counters
References fmc_Foobar, and m_ManagementActionCounts.
Referenced by OFirstYearDanger::Do(), PermanentSetAside::Do(), DK_GrazingPigs_Perm::Do(), OGrazingPigs::Do(), DK_GrazingPigs::Do(), DK_OGrazingPigs::Do(), DK_OGrazingPigs_Perm::Do(), OrchardCrop::Do(), PermanentGrassTussocky::Do(), UKMaize::Do(), NorwegianOats::Do(), NorwegianSpringBarley::Do(), DK_GrassTussocky_Perm::Do(), OSeedGrass1::Do(), DK_OptimalFlowerMix2::Do(), WinterRapeStrigling::Do(), GenericCatchCrop::Do(), OCloverGrassGrazed2::Do(), BroadBeans::Do(), DK_FarmForest_Perm::Do(), DK_FarmYoungForest_Perm::Do(), DK_PlantNursery_Perm::Do(), OSeedGrass2::Do(), DK_OFarmForest_Perm::Do(), DK_OFarmYoungForest_Perm::Do(), OSBarleySilage::Do(), PermanentGrassLowYield::Do(), YoungForestCrop::Do(), HorticultureCrop::Do(), NLCatchCropPea::Do(), OCloverGrassGrazed1::Do(), OFieldPeas::Do(), OCloverGrassSilage1::Do(), OFieldPeasSilage::Do(), OPermanentGrassGrazed::Do(), DK_OGrassLowYield_Perm::Do(), DK_GrassLowYield_Perm::Do(), BECatchPeaCrop::Do(), OCarrots::Do(), DK_OLegume::Do(), DE_OPeas::Do(), OBarleyPeaCloverGrass::Do(), OMaizeSilage::Do(), PermanentGrassGrazed::Do(), DK_OCatchCrop::Do(), CloverGrassGrazed2::Do(), DK_CerealLegume::Do(), DK_CerealLegume_Whole::Do(), DK_Legume_Peas::Do(), DK_SpringBarley_Green::Do(), OWinterBarleyExt::Do(), DK_OLegume_Peas_CC::Do(), FI_OPotato_South::Do(), FI_OPotato_North::Do(), FI_OPotatoIndustry_North::Do(), FI_OPotatoIndustry_South::Do(), FI_OStarchPotato_North::Do(), FI_OStarchPotato_South::Do(), FodderGrass::Do(), DE_OLegume::Do(), CloverGrassGrazed1::Do(), OWinterBarley::Do(), DK_SpringBarleySilage::Do(), SeedGrass2::Do(), DK_OLegume_Beans_CC::Do(), DK_OLegume_Peas::Do(), DK_OLegume_Beans::Do(), DK_OLentils::Do(), DK_CatchCrop::Do(), DK_OSpringBarleyCloverGrass::Do(), NLOrchardCrop::Do(), OWinterRye::Do(), DK_MaizeSilage::Do(), DK_OLupines::Do(), DE_OSpringRye::Do(), DK_OWinterRye::Do(), DK_Legume_Beans::Do(), OOats::Do(), DK_SpringOats::Do(), DK_SpringOats_CC::Do(), DK_SugarBeet::Do(), DE_OMaizeSilage::Do(), DE_OOats::Do(), DK_OptimalFlowerMix3::Do(), DK_OSpringBarley_CC::Do(), MaizeSilage::Do(), MaizeStrigling::Do(), DK_OWinterRye_CC::Do(), OTriticale::Do(), DE_OWinterWheat::Do(), DK_OCerealLegume_Whole::Do(), DK_OLegume_Whole::Do(), DK_OLegume_Whole_CC::Do(), DK_OLegumeCloverGrass_Whole::Do(), DE_OMaize::Do(), DK_OptimalFlowerMix1::Do(), Maize::Do(), NLMaizeSpring::Do(), DK_OWinterBarley::Do(), Oats::Do(), DK_Maize::Do(), OSpringBarleyExt::Do(), DK_SpringWheat::Do(), DK_OSpringBarley::Do(), DK_OSugarBeet::Do(), DK_Legume_Whole::Do(), OSpringBarley::Do(), DK_OCerealLegume::Do(), SpringBarleySeed::Do(), OPotatoes::Do(), DummyCropPestTesting::Do(), DK_OFodderBeet::Do(), SpringBarleyCloverGrassStrigling::Do(), FI_Potato_North::Do(), FieldPeas::Do(), FieldPeasSilage::Do(), FieldPeasStrigling::Do(), DE_OWinterRape::Do(), OWinterWheat::Do(), OWinterWheatUndersown::Do(), OWinterWheatUndersownExt::Do(), FI_StarchPotato_North::Do(), OFodderBeet::Do(), SpringBarleyCloverGrass::Do(), FI_PotatoIndustry_North::Do(), DK_OSpringOats::Do(), DK_OSpringWheat::Do(), OWinterRape::Do(), UKBeet::Do(), PLFodderLucerne2::Do(), PTOliveGroveTradOrganic::Do(), Triticale::Do(), FI_Potato_South::Do(), FI_PotatoIndustry_South::Do(), FI_StarchPotato_South::Do(), NLBeetSpring::Do(), NLMaize::Do(), DE_OSugarBeet::Do(), DK_OVegSeeds::Do(), DE_OCabbages::Do(), DK_SpringBarleyCloverGrass::Do(), Carrots::Do(), DK_OSpringOats_CC::Do(), DK_WinterFodderGrass::Do(), UKSpringBarley::Do(), UKWinterBarley::Do(), NLCarrotsSpring::Do(), SpringBarleyPeaCloverGrassStrigling::Do(), DE_OPotatoes::Do(), DK_OWinterRape::Do(), DK_SpringBarley_CC::Do(), DK_OMaize::Do(), DK_OMaizeSilage::Do(), DK_SpringBarley::Do(), NLBeet::Do(), DK_OSpringBarleySilage::Do(), NLGrassGrazedExtensive2::Do(), NLPermanentGrassGrazedExtensive::Do(), DE_OCarrots::Do(), DK_OCabbages::Do(), DK_SpringFodderGrass::Do(), DK_WinterCloverGrassGrazedSown::Do(), DK_OEnergyCrop_Perm::Do(), SetAside::Do(), NLCarrots::Do(), NLGrassGrazedExtensive1Spring::Do(), NLGrassGrazedExtensiveLast::Do(), DK_OCarrots::Do(), NLCabbageSpring::Do(), NLSpringBarleySpring::Do(), DK_WinterBarley::Do(), PotatoesIndustry::Do(), SugarBeet::Do(), NorwegianPotatoes::Do(), Potatoes::Do(), PTOliveGroveIntensive::Do(), FodderBeet::Do(), DK_EnergyCrop_Perm::Do(), DK_VegSeeds::Do(), PTCorkOak::Do(), NLCabbage::Do(), NLGrassGrazedExtensive1::Do(), DK_WinterRye::Do(), DK_WinterRye_CC::Do(), SpringBarleySKManagement::Do(), DK_Carrots_Spring::Do(), PLCarrots::Do(), PTSetAside::Do(), DK_OGrassGrazed_Perm::Do(), SpringBarleySilage::Do(), SpringBarleySpr::Do(), UKWinterWheat::Do(), WinterRyeStrigling::Do(), DK_Carrots::Do(), NLSpringBarley::Do(), UKWinterRape::Do(), WinterRye::Do(), DK_GrassGrazed_Perm::Do(), DE_PermanentGrassLowYield::Do(), TestCrop::Do(), SpringBarleyPTreatment::Do(), SpringBarleyStrigling::Do(), SpringBarleyStriglingCulm::Do(), SpringBarleyStriglingSingle::Do(), DE_OPermanentGrassLowYield::Do(), PTBeans::Do(), NLWinterWheat::Do(), PLSpringBarleySpr::Do(), PTOliveGroveSuperIntensive::Do(), PTTurnipGrazed::Do(), DK_OMixedVeg::Do(), PTCabbage_Hort::Do(), PTCabbage::Do(), DE_PermanentGrassGrazed::Do(), DK_WinterWheat_CC::Do(), PTOtherDryBeans::Do(), SpringBarley::Do(), DK_WinterWheat::Do(), DK_OPotato::Do(), DK_OPotatoIndustry::Do(), DK_OPotatoSeed::Do(), FI_OCaraway2::Do(), PLFodderLucerne1::Do(), PTHorticulture::Do(), UKPermanentGrass::Do(), UKPotatoes::Do(), DK_Potato::Do(), FR_Grassland_Perm::Do(), FI_GreenFallow_1year::Do(), DE_GreenFallow_1year::Do(), PTOliveGroveTraditional::Do(), PTPotatoes::Do(), UKTempGrass::Do(), FI_NaturalGrassland_Perm::Do(), DE_HerbsPerennial_after1year::Do(), PTOats::Do(), PTShrubPastures::Do(), SpringRape::Do(), DE_OGreenFallow_1year::Do(), FI_Caraway2::Do(), DK_OSeedGrassRye_Spring::Do(), DE_OPermanentGrassGrazed::Do(), NLGrassGrazed2::Do(), NLPermanentGrassGrazed::Do(), DK_MixedVeg::Do(), DE_OHerbsPerennial_after1year::Do(), PLBeetSpr::Do(), DE_HerbsPerennial_1year::Do(), DK_CloverGrassGrazed1::Do(), NLGrassGrazed1Spring::Do(), NLGrassGrazedLast::Do(), WinterWheatStriglingSingle::Do(), WinterWheatStriglingCulm::Do(), PLBeans::Do(), DE_OHerbsPerennial_1year::Do(), WinterWheatStrigling::Do(), FI_GreenFallow_Perm::Do(), PTMaize::Do(), PTWinterBarley::Do(), PTWinterRye::Do(), PTWinterWheat::Do(), PTMaize_Hort::Do(), FI_BufferZone::Do(), DE_OGrasslandSilageAnnual::Do(), FI_BufferZone_Perm::Do(), DK_WinterRape::Do(), DK_SetAside::Do(), FI_NaturalGrassland::Do(), PTCloverGrassGrazed2::Do(), PTTriticale::Do(), FI_OSpringBarley_Malt::Do(), PTFodderMix::Do(), ITGrassland::Do(), PTGrassGrazed::Do(), DK_OSetAside_SummerMow::Do(), DK_OSetAside_PerennialFlower::Do(), DK_OSetAside_AnnualFlower::Do(), PTYellowLupin::Do(), DK_PotatoSeed::Do(), PTSorghum::Do(), WinterBarleyStrigling::Do(), WinterRape::Do(), DK_OSetAside::Do(), NLGrassGrazed1::Do(), FI_OFabaBean::Do(), FI_OCaraway1::Do(), DE_Maize::Do(), DK_SetAside_SummerMow::Do(), FI_OSpringWheat::Do(), OSpringBarleyPigs::Do(), DK_PotatoIndustry::Do(), FI_GrasslandPasturePerennial2::Do(), FI_OSpringOats::Do(), FI_GrasslandSilagePerennial1::Do(), FI_OSpringRape::Do(), FI_OTurnipRape::Do(), FI_GrasslandPasturePerennial1::Do(), DE_OAsparagusEstablishedPlantation::Do(), FR_SpringBarley::Do(), DE_MaizeSilage::Do(), FI_OSpringBarley_Fodder::Do(), NLPotatoesSpring::Do(), WinterBarley::Do(), FR_SpringOats::Do(), PTRyegrass::Do(), DK_OOrchCherry::Do(), FI_GrasslandSilagePerennial2::Do(), DE_SpringBarley::Do(), FI_FeedingGround::Do(), PLWinterRye::Do(), FI_GrasslandSilageAnnual::Do(), DK_OSpringFodderGrass::Do(), DK_OBushFruit_Perm1::Do(), FI_TurnipRape::Do(), FR_Sorghum::Do(), DE_AsparagusEstablishedPlantation::Do(), DK_OWinterWheat_CC::Do(), FR_Maize_Silage::Do(), FR_Maize::Do(), DK_OCloverGrassGrazed3::Do(), FI_FabaBean::Do(), PLMaize::Do(), PLMaizeSilage::Do(), DK_OCloverGrassGrazed2::Do(), NLPotatoes::Do(), DK_OWinterWheat::Do(), PLSpringBarley::Do(), DK_OCloverGrassGrazed1::Do(), NLTulips::Do(), FR_WinterTriticale::Do(), FI_OWinterRye::Do(), FI_SpringRape::Do(), SE_SpringBarley::Do(), DE_Peas::Do(), PLWinterTriticale::Do(), PTCloverGrassGrazed1::Do(), FI_Caraway1::Do(), FI_SpringBarley_Malt::Do(), DE_Legumes::Do(), FR_Sunflower::Do(), FI_OWinterWheat::Do(), DE_OWinterRye::Do(), DK_OWinterFodderGrass::Do(), DE_WinterRye::Do(), DK_OOrchPear::Do(), DE_OTriticale::Do(), DE_OWinterBarley::Do(), FI_SprSpringBarley_Fodder::Do(), DK_CloverGrassGrazed3::Do(), DK_OOrchApple::Do(), PLWinterBarley::Do(), DK_OOrchOther::Do(), DK_OWinterCloverGrassGrazedSown::Do(), PLWinterWheat::Do(), FI_SpringWheat::Do(), PLBeet::Do(), DK_OOrchardCrop_Perm::Do(), PLWinterWheatLate::Do(), DE_Carrots::Do(), PLSpringWheat::Do(), FI_SpringOats::Do(), DK_CloverGrassGrazed2::Do(), SE_WinterRape_Seed::Do(), PLPotatoes::Do(), PTPermanentGrassGrazed::Do(), FI_SpringBarley_Fodder::Do(), DE_WinterBarley::Do(), SE_WinterWheat::Do(), DE_Cabbage::Do(), DE_Oats::Do(), FR_SpringWheat::Do(), DE_SpringRye::Do(), DK_SeedGrassRye_Spring::Do(), PLWinterRape::Do(), PTVineyards::Do(), DE_GrasslandSilageAnnual::Do(), FR_WinterBarley::Do(), FI_WinterWheat::Do(), IRWinterBarley::Do(), IRSpringBarley::Do(), FR_Grassland::Do(), IRWinterOats::Do(), IRSpringOats::Do(), FI_WinterRye::Do(), DE_WinterWheat::Do(), FR_WinterWheat::Do(), DE_Triticale::Do(), IRSpringWheat::Do(), DE_WinterWheatLate::Do(), IRWinterWheat::Do(), FR_WinterRape::Do(), FR_Potatoes::Do(), DE_WinterRape::Do(), DE_Orchard::Do(), DK_SeedGrassFescue_Spring::Do(), WinterWheat::Do(), DE_SugarBeet::Do(), DK_OrchCherry::Do(), IRGrassland_no_reseed::Do(), DE_Potatoes::Do(), DK_OrchPear::Do(), DK_OrchOther::Do(), DK_OrchApple::Do(), DK_OrchardCrop_Perm::Do(), DE_PotatoesIndustry::Do(), DE_OOrchard::Do(), IRGrassland_reseed::Do(), ITOrchard::Do(), DK_OChristmasTrees_Perm::Do(), ITOOrchard::Do(), and DK_ChristmasTrees_Perm::Do().
◆ DoCopy()
void LE::DoCopy |
( |
const LE * |
a_Le | ) |
|
a copy function to be used because a copy constuctor won't work
The major job of this method is simply to copy values for all members from one LE to another
956 m_repeat_start = a_LE->m_repeat_start;
988 for (
int i = 0; i < 366; i++)
992 for (
int l = 0; l < gs_foobar; l++)
998 for (
int l = 0; l < gs_foobar; l++)
1002 for (
int i = 0; i < 25; i++)
1004 MDates[0][i] = a_LE->MDates[0][i];
1005 MDates[1][i] = a_LE->MDates[1][i];
1007 for (
int i = 0; i<10; i++)
SetMConstants(i, a_LE->MConsts[i]);
References m_almass_le_type, m_area, m_aspect, m_att_forest, m_att_high, m_att_urbannoveg, m_att_userdefinedbool, m_att_userdefinedint, m_att_water, m_att_woody, m_birdmaizeforage, m_birdseedforage, m_border, m_cattle_grazing, m_centroidx, m_centroidy, m_countrydesignation, m_days_since_insecticide_spray, m_ddegs, m_default_grazing_level, m_elevation, m_farmfunc_tried_to_do, m_goosegrazingforage, m_gooseNos, m_gooseNosTimed, m_gooseSpNos, m_gooseSpNosTimed, m_herbicidedelay, m_is_in_map, m_lastindex, m_lasttreat, m_management_loop_detect_count, m_management_loop_detect_date, m_map_index, m_maxx, m_maxy, m_minx, m_miny, m_mowndecay, m_olddays, m_openness, m_OurPollenNectarCurveSet, m_owner, m_owner_file, m_owner_index, m_owner_tole, m_PesticideGridCell, m_pig_grazing, m_poison, m_poly, m_rot_index, m_running, m_signal_mask, m_skylarkscrapes, m_slope, m_soiltype, m_squares_in_map, m_subtype, m_tramlinesdecay, m_type, m_unsprayedmarginpolyref, m_valid_x, m_valid_y, m_vegage, m_vegddegs, m_vege_danger_store, m_yddegs, MConsts, and MDates.
Referenced by Landscape::Landscape(), and Landscape::RemoveSmallPolygons().
◆ DoDevelopment()
void LE::DoDevelopment |
( |
void |
| ) |
|
|
virtual |
Reimplemented in Pond, MownGrassStrip, OrchardBand, Orchard, ForestElement, UnsprayedFieldMargin, WaterBufferZone, RoadsideVerge, FieldBoundary, FlowerStripWithRotation, FlowerStrip, BeetleBank, HedgeBank, Hedges, Field, VegElement, and NaturalGrass.
Referenced by Pond::DoDevelopment().
◆ ForceGrowthDevelopment()
virtual void LE::ForceGrowthDevelopment |
( |
void |
| ) |
|
|
inlinevirtual |
◆ ForceGrowthInitialiseForFirstYearCrop()
virtual void LE::ForceGrowthInitialiseForFirstYearCrop |
( |
void |
| ) |
|
|
inlinevirtual |
◆ ForceGrowthInitialize()
virtual void LE::ForceGrowthInitialize |
( |
bool |
a_force_decreasing = false | ) |
|
|
inlinevirtual |
◆ ForceGrowthTest()
virtual void LE::ForceGrowthTest |
( |
void |
| ) |
|
|
inlinevirtual |
◆ GetAphidDensity()
virtual int LE::GetAphidDensity |
( |
| ) |
|
|
inlinevirtual |
◆ GetArea()
double LE::GetArea |
( |
void |
| ) |
|
|
inline |
◆ GetAspect()
double LE::GetAspect |
( |
void |
| ) |
|
|
inline |
◆ GetBirdMaize()
double LE::GetBirdMaize |
( |
void |
| ) |
|
|
inline |
◆ GetBirdSeed()
double LE::GetBirdSeed |
( |
void |
| ) |
|
|
inline |
◆ GetBorder()
LE* LE::GetBorder |
( |
void |
| ) |
|
|
inline |
◆ GetCattleGrazing()
int LE::GetCattleGrazing |
( |
void |
| ) |
|
|
inline |
◆ GetCentroid()
◆ GetCentroidX()
virtual int LE::GetCentroidX |
( |
| ) |
|
|
inlinevirtual |
◆ GetCentroidY()
virtual int LE::GetCentroidY |
( |
| ) |
|
|
inlinevirtual |
◆ GetCountryDesignation()
int LE::GetCountryDesignation |
( |
void |
| ) |
|
|
inline |
◆ GetDayDegrees()
virtual double LE::GetDayDegrees |
( |
void |
| ) |
|
|
inlinevirtual |
◆ GetDeadBiomass()
virtual double LE::GetDeadBiomass |
( |
void |
| ) |
|
|
inlinevirtual |
◆ GetDigestibility()
virtual double LE::GetDigestibility |
( |
void |
| ) |
|
|
inlinevirtual |
◆ GetElevation()
double LE::GetElevation |
( |
void |
| ) |
|
|
inline |
◆ GetGooseGrazingForage()
double LE::GetGooseGrazingForage |
( |
GooseSpecies |
a_goose | ) |
|
|
inline |
◆ GetGooseNos()
For goose model functionality, returns the number of geese yesterday.
This simply looks X days behind at the moment and sums the total number of geese seen.The length of the backward count can be altered by changing the config variable value cfg_goosecountperiod (default 1, only care about yesterday).
References cfg_goosecountperiod, Calendar::DayInYear(), g_date, and CfgInt::value().
◆ GetGooseNosToday()
int LE::GetGooseNosToday |
( |
| ) |
|
For goose model functionality, returns the number of geese today.
This simply sums the total number of geese seen today.
1150 for (
unsigned i = 0; i < (unsigned)gs_foobar; i++) {
References Calendar::DayInYear(), and g_date.
◆ GetGooseNosTodayTimed()
int LE::GetGooseNosTodayTimed |
( |
| ) |
|
For goose model functionality, returns the number of geese today at a predefined time.
This simply sums the total number of geese seen today at our predefined timepoint.
1161 for (
unsigned i = 0; i < (unsigned)gs_foobar; i++) {
References Calendar::DayInYear(), and g_date.
◆ GetGooseRoostDist()
int LE::GetGooseRoostDist |
( |
GooseSpecies |
a_goose | ) |
|
For goose model functionality, returns the distance to closest roost.
Returns the distance to closest roost from the field.
◆ GetGooseSpNosToday()
int LE::GetGooseSpNosToday |
( |
GooseSpecies |
a_goose | ) |
|
For goose model functionality, returns the number of geese per species yesterday.
Returns the number of geese of a specific species on a field today.
References Calendar::DayInYear(), and g_date.
◆ GetGooseSpNosTodayTimed()
int LE::GetGooseSpNosTodayTimed |
( |
GooseSpecies |
a_goose | ) |
|
For goose model functionality, returns the number of geese per species yesterday at a predefined time.
Returns the number of geese of a specific species on a field today.
References Calendar::DayInYear(), and g_date.
◆ GetGreenBiomass()
virtual double LE::GetGreenBiomass |
( |
void |
| ) |
|
|
inlinevirtual |
Reimplemented in VegElement.
Referenced by UKMaize::Do(), BEMaizeSpring::Do(), NLMaizeSpring::Do(), BEBeetSpring::Do(), UKBeet::Do(), BEMaize::Do(), NLBeetSpring::Do(), NLMaize::Do(), UKSpringBarley::Do(), BEBeet::Do(), NLCarrotsSpring::Do(), NLBeet::Do(), NLCarrots::Do(), NLCabbageSpring::Do(), NLSpringBarleySpring::Do(), NLCabbage::Do(), PLCarrots::Do(), TestCrop::Do(), NLSpringBarley::Do(), PLSpringBarleySpr::Do(), PLFodderLucerne1::Do(), PLBeetSpr::Do(), PLBeans::Do(), DE_Maize::Do(), DE_BushFruitPerm::Do(), DE_MaizeSilage::Do(), PLMaize::Do(), PLMaizeSilage::Do(), PLSpringBarley::Do(), PLWinterTriticale::Do(), DE_WinterRye::Do(), PLBeet::Do(), PLWinterBarley::Do(), PLWinterWheat::Do(), PLSpringWheat::Do(), PLWinterWheatLate::Do(), DE_Carrots::Do(), PLPotatoes::Do(), DE_Oats::Do(), DE_WinterBarley::Do(), DE_Cabbage::Do(), DE_SpringRye::Do(), PLWinterRape::Do(), DE_GrasslandSilageAnnual::Do(), DE_WinterWheatLate::Do(), DE_WinterWheat::Do(), DE_Triticale::Do(), DE_WinterRape::Do(), DE_SugarBeet::Do(), DE_Potatoes::Do(), DE_PotatoesIndustry::Do(), and Pesticide::MainMapDecay().
◆ GetGreenBiomassProp()
virtual double LE::GetGreenBiomassProp |
( |
void |
| ) |
|
|
inlinevirtual |
◆ GetInsectPop()
virtual double LE::GetInsectPop |
( |
void |
| ) |
|
|
inlinevirtual |
◆ GetInterestedGreenBiomass()
virtual double LE::GetInterestedGreenBiomass |
( |
void |
| ) |
|
|
inlinevirtual |
◆ GetIsVeg()
virtual bool LE::GetIsVeg |
( |
void |
| ) |
|
|
inlinevirtual |
◆ GetLAGreen()
virtual double LE::GetLAGreen |
( |
void |
| ) |
|
|
inlinevirtual |
◆ GetLastSownVeg()
◆ GetLastTreatment() [1/2]
int LE::GetLastTreatment |
( |
| ) |
|
Returns the last treatment recorded for the polygon.
This will give the last event recorded for this LE In most cases this will return sleep_all_day
◆ GetLastTreatment() [2/2]
int LE::GetLastTreatment |
( |
int * |
a_index | ) |
|
◆ GetLATotal()
virtual double LE::GetLATotal |
( |
void |
| ) |
|
|
inlinevirtual |
◆ GetManagementTotals()
vector<int> LE::GetManagementTotals |
( |
| ) |
|
|
inline |
◆ GetMapIndex()
int LE::GetMapIndex |
( |
void |
| ) |
|
|
inline |
References m_map_index.
Referenced by Farm::BulbHarvest(), FlowerStrip::Cutting(), FieldBoundary::Cutting(), RoadsideVerge::Cutting(), Orchard::Cutting(), MownGrassStrip::Cutting(), VegElement::GrazeVegetation(), VegElement::GrazeVegetationHeight(), Farm::Harvest(), Farm::HarvestLong(), VegElement::ReduceVeg(), VegElement::ReduceVeg_Extended(), PesticideMap::Spray(), Pesticide::TwinMapSpray(), and VegElement::ZeroVeg().
◆ GetMapValid()
bool LE::GetMapValid |
( |
void |
| ) |
|
|
inline |
◆ GetMaxX()
References m_maxx.
Referenced by Landscape::BorderAdd(), Farm::BulbHarvest(), FlowerStrip::Cutting(), FieldBoundary::Cutting(), RoadsideVerge::Cutting(), Orchard::Cutting(), MownGrassStrip::Cutting(), Pesticide::DiffusionMatrixInit(), VegElement::GrazeVegetation(), VegElement::GrazeVegetationHeight(), Farm::Harvest(), Farm::HarvestLong(), Pesticide::MainMapDecay(), VegElement::ReduceVeg(), VegElement::ReduceVeg_Extended(), PesticideMap::Spray(), and VegElement::ZeroVeg().
◆ GetMaxY()
References m_maxy.
Referenced by Landscape::BorderAdd(), Farm::BulbHarvest(), FlowerStrip::Cutting(), FieldBoundary::Cutting(), RoadsideVerge::Cutting(), Orchard::Cutting(), MownGrassStrip::Cutting(), Pesticide::DiffusionMatrixInit(), VegElement::GrazeVegetation(), VegElement::GrazeVegetationHeight(), Farm::Harvest(), Farm::HarvestLong(), Pesticide::MainMapDecay(), VegElement::ReduceVeg(), VegElement::ReduceVeg_Extended(), PesticideMap::Spray(), and VegElement::ZeroVeg().
◆ GetMConstants()
int LE::GetMConstants |
( |
int |
a | ) |
|
|
inline |
References MConsts.
Referenced by PermanentGrassTussocky::Do(), UKMaize::Do(), NorwegianSpringBarley::Do(), DK_GrassTussocky_Perm::Do(), OSeedGrass1::Do(), OSeedGrass2::Do(), PermanentGrassLowYield::Do(), DK_OGrassLowYield_Perm::Do(), DK_GrassLowYield_Perm::Do(), SeedGrass1::Do(), PermanentGrassGrazed::Do(), SeedGrass2::Do(), MaizeSilage::Do(), OTriticale::Do(), BEMaizeSpring::Do(), Oats::Do(), FieldPeasSilage::Do(), FieldPeas::Do(), OFodderBeet::Do(), BEMaize::Do(), Triticale::Do(), Carrots::Do(), UKSpringBarley::Do(), UKWinterBarley::Do(), SetAside::Do(), BEWinterBarleyCC::Do(), PotatoesIndustry::Do(), SugarBeet::Do(), BEWinterBarley::Do(), NorwegianPotatoes::Do(), Potatoes::Do(), FodderBeet::Do(), BEWinterWheat::Do(), BEWinterWheatCC::Do(), UKWinterWheat::Do(), PLCarrots::Do(), SpringBarleySpr::Do(), UKWinterRape::Do(), WinterRye::Do(), TestCrop::Do(), PLSpringBarleySpr::Do(), SpringBarley::Do(), UKPermanentGrass::Do(), UKTempGrass::Do(), SpringRape::Do(), PLBeetSpr::Do(), WinterWheatStrigling::Do(), WinterWheatStriglingSingle::Do(), PLBeans::Do(), WinterWheatStriglingCulm::Do(), WinterRape::Do(), FR_SpringBarley::Do(), WinterBarley::Do(), FR_SpringOats::Do(), PLWinterRye::Do(), PLMaize::Do(), PLSpringBarley::Do(), PLMaizeSilage::Do(), FR_WinterTriticale::Do(), PLWinterTriticale::Do(), FI_OWinterWheat::Do(), PLBeet::Do(), PLWinterBarley::Do(), PLWinterWheat::Do(), PLSpringWheat::Do(), PLWinterWheatLate::Do(), PLPotatoes::Do(), FR_SpringWheat::Do(), PLWinterRape::Do(), FR_WinterBarley::Do(), FR_WinterWheat::Do(), and WinterWheat::Do().
◆ GetMDates()
int LE::GetMDates |
( |
int |
a, |
|
|
int |
b |
|
) |
| |
|
inline |
References MDates.
Referenced by PermanentSetAside::Do(), OrchardCrop::Do(), PermanentGrassTussocky::Do(), UKMaize::Do(), NorwegianSpringBarley::Do(), OSeedGrass1::Do(), DK_GrassTussocky_Perm::Do(), NorwegianOats::Do(), WinterRapeStrigling::Do(), DK_OptimalFlowerMix2::Do(), GenericCatchCrop::Do(), BroadBeans::Do(), OSeedGrass2::Do(), OSBarleySilage::Do(), PermanentGrassLowYield::Do(), YoungForestCrop::Do(), HorticultureCrop::Do(), OFieldPeasSilage::Do(), OFieldPeas::Do(), OPermanentGrassGrazed::Do(), DK_OGrassLowYield_Perm::Do(), BECatchPeaCrop::Do(), OCarrots::Do(), DK_GrassLowYield_Perm::Do(), SeedGrass1::Do(), DE_OPeas::Do(), DK_OLegume::Do(), DK_CerealLegume_Whole::Do(), OBarleyPeaCloverGrass::Do(), OMaizeSilage::Do(), PermanentGrassGrazed::Do(), DK_CerealLegume::Do(), DK_OCatchCrop::Do(), DE_OLegume::Do(), OWinterBarleyExt::Do(), DK_SpringBarley_Green::Do(), DK_Legume_Peas::Do(), FI_OPotato_North::Do(), FI_OPotato_South::Do(), FI_OPotatoIndustry_North::Do(), FI_OPotatoIndustry_South::Do(), DK_OLegume_Peas_CC::Do(), FI_OStarchPotato_North::Do(), FI_OStarchPotato_South::Do(), DK_CatchCrop::Do(), OWinterBarley::Do(), BEOrchardCrop::Do(), DK_SpringBarleySilage::Do(), SeedGrass2::Do(), DK_OLegume_Beans::Do(), DK_OLegume_Beans_CC::Do(), DK_OLegume_Peas::Do(), DK_OLentils::Do(), DK_OSpringBarleyCloverGrass::Do(), OWinterRye::Do(), DK_FodderBeet::Do(), DK_MaizeSilage::Do(), DK_OLupines::Do(), OOats::Do(), DK_OWinterRye::Do(), DE_OMaizeSilage::Do(), DE_OOats::Do(), DK_Legume_Beans::Do(), DK_SpringOats::Do(), DK_SpringOats_CC::Do(), DK_SugarBeet::Do(), DE_OSpringRye::Do(), FI_SugarBeet::Do(), DK_OptimalFlowerMix3::Do(), DK_OSpringBarley_CC::Do(), OTriticale::Do(), DK_OWinterRye_CC::Do(), DE_OMaize::Do(), DK_OCerealLegume_Whole::Do(), DE_OWinterWheat::Do(), DK_OLegume_Whole::Do(), DK_OLegume_Whole_CC::Do(), DK_OLegumeCloverGrass_Whole::Do(), DK_OptimalFlowerMix1::Do(), Maize::Do(), MaizeSilage::Do(), MaizeStrigling::Do(), NLMaizeSpring::Do(), Oats::Do(), DK_OWinterBarley::Do(), OSpringBarleyExt::Do(), BEMaizeSpring::Do(), DK_Maize::Do(), DK_SpringWheat::Do(), UKBeans::Do(), DK_OSpringBarley::Do(), DK_OSugarBeet::Do(), OSpringBarley::Do(), DK_Legume_Whole::Do(), SpringBarleySeed::Do(), DK_OCerealLegume::Do(), OPotatoes::Do(), SpringBarleyCloverGrassStrigling::Do(), DummyCropPestTesting::Do(), DK_OFodderBeet::Do(), FI_Potato_North::Do(), FieldPeas::Do(), FieldPeasSilage::Do(), FieldPeasStrigling::Do(), DE_OWinterRape::Do(), OWinterWheat::Do(), OWinterWheatUndersown::Do(), OWinterWheatUndersownExt::Do(), FI_StarchPotato_North::Do(), OFodderBeet::Do(), SpringBarleyCloverGrass::Do(), FI_PotatoIndustry_North::Do(), UKBeet::Do(), DK_OSpringOats::Do(), DK_OSpringWheat::Do(), BEMaize::Do(), OWinterRape::Do(), Triticale::Do(), BEBeetSpring::Do(), FI_Potato_South::Do(), FI_PotatoIndustry_South::Do(), FI_StarchPotato_South::Do(), NLMaize::Do(), DK_OVegSeeds::Do(), Carrots::Do(), DK_SpringBarleyCloverGrass::Do(), DE_OSugarBeet::Do(), DE_OCabbages::Do(), NLBeetSpring::Do(), DK_OSpringOats_CC::Do(), DK_WinterFodderGrass::Do(), UKSpringBarley::Do(), UKWinterBarley::Do(), DK_OWinterRape::Do(), BEBeet::Do(), DK_SpringBarley::Do(), DK_SpringBarley_CC::Do(), SpringBarleyPeaCloverGrassStrigling::Do(), DK_OMaize::Do(), DK_OMaizeSilage::Do(), NLCarrotsSpring::Do(), DE_OCarrots::Do(), DK_OSpringBarleySilage::Do(), DK_SpringFodderGrass::Do(), DK_WinterCloverGrassGrazedSown::Do(), DK_OCabbages::Do(), DK_OEnergyCrop_Perm::Do(), SetAside::Do(), NLBeet::Do(), NLGrassGrazedExtensiveLast::Do(), DK_OCarrots::Do(), NLCarrots::Do(), NLSpringBarleySpring::Do(), PotatoesIndustry::Do(), DK_WinterBarley::Do(), SugarBeet::Do(), BEWinterBarley::Do(), BEWinterBarleyCC::Do(), NLCabbageSpring::Do(), NorwegianPotatoes::Do(), Potatoes::Do(), DKOBroadBeans_test::Do(), FodderBeet::Do(), BEWinterWheatCC::Do(), DK_EnergyCrop_Perm::Do(), DK_VegSeeds::Do(), BEWinterWheat::Do(), DK_Carrots_Spring::Do(), DK_WinterRye::Do(), DK_WinterRye_CC::Do(), SpringBarleySKManagement::Do(), NLCabbage::Do(), DK_Carrots::Do(), SpringBarleySpr::Do(), PLCarrots::Do(), SpringBarleySilage::Do(), UKWinterWheat::Do(), WinterRyeStrigling::Do(), DK_OGrassGrazed_Perm::Do(), PTSetAside::Do(), NLSpringBarley::Do(), DK_Cabbages::Do(), SpringBarleyStriglingCulm::Do(), SpringBarleyPTreatment::Do(), DK_GrassGrazed_Perm::Do(), BEGrassGrazed1Spring::Do(), DE_OPermanentGrassLowYield::Do(), SpringBarleyStrigling::Do(), SpringBarleyStriglingSingle::Do(), TestCrop::Do(), UKWinterRape::Do(), WinterRye::Do(), DE_PermanentGrassLowYield::Do(), BEGrassGrazed1::Do(), NLWinterWheat::Do(), PTTurnipGrazed::Do(), PLSpringBarleySpr::Do(), PTBeans::Do(), BEGrassGrazed2::Do(), DK_OMixedVeg::Do(), BEGrassGrazedLast::Do(), PTCabbage_Hort::Do(), PTOtherDryBeans::Do(), PTCabbage::Do(), DK_WinterWheat_CC::Do(), FI_OCaraway2::Do(), SpringBarley::Do(), DK_WinterWheat::Do(), DE_PermanentGrassGrazed::Do(), DK_OPotato::Do(), DK_OPotatoIndustry::Do(), DK_OPotatoSeed::Do(), DK_Potato::Do(), UKPermanentGrass::Do(), UKPotatoes::Do(), FR_Grassland_Perm::Do(), UKTempGrass::Do(), PTPotatoes::Do(), DE_GreenFallow_1year::Do(), DE_OPermanentGrassGrazed::Do(), SpringRape::Do(), PTOats::Do(), DE_HerbsPerennial_after1year::Do(), FI_Caraway2::Do(), DE_OGreenFallow_1year::Do(), PTShrubPastures::Do(), NLGrassGrazed2::Do(), NLPermanentGrassGrazed::Do(), DK_MixedVeg::Do(), DK_CloverGrassGrazed1::Do(), DE_OHerbsPerennial_after1year::Do(), DE_HerbsPerennial_1year::Do(), PLBeetSpr::Do(), NLGrassGrazed1Spring::Do(), DE_OHerbsPerennial_1year::Do(), PLBeans::Do(), WinterWheatStriglingCulm::Do(), NLGrassGrazedLast::Do(), WinterWheatStriglingSingle::Do(), WinterWheatStrigling::Do(), PTWinterRye::Do(), DE_OGrasslandSilageAnnual::Do(), PTWinterWheat::Do(), PTMaize::Do(), PTWinterBarley::Do(), PTMaize_Hort::Do(), PTCloverGrassGrazed2::Do(), DK_WinterRape::Do(), FI_OSpringBarley_Malt::Do(), PTTriticale::Do(), DK_SetAside::Do(), DK_OSetAside_PerennialFlower::Do(), DK_OSetAside_AnnualFlower::Do(), PTGrassGrazed::Do(), WinterBarleyStrigling::Do(), DK_PotatoSeed::Do(), WinterRape::Do(), BEPotatoesSpring::Do(), DK_OSetAside::Do(), PTSorghum::Do(), DK_OSetAside_SummerMow::Do(), FI_OFabaBean::Do(), DE_Maize::Do(), FI_OCaraway1::Do(), NLGrassGrazed1::Do(), FI_GrasslandPasturePerennial2::Do(), FI_GrasslandPasturePerennial1::Do(), FI_OTurnipRape::Do(), DK_SetAside_SummerMow::Do(), FI_OSpringRape::Do(), FI_OSpringOats::Do(), FI_OSpringWheat::Do(), DE_MaizeSilage::Do(), FR_SpringBarley::Do(), DE_OAsparagusEstablishedPlantation::Do(), FI_GrasslandSilagePerennial1::Do(), DK_PotatoIndustry::Do(), WinterBarley::Do(), FI_OSpringBarley_Fodder::Do(), NLPotatoesSpring::Do(), FR_SpringOats::Do(), FI_GrasslandSilagePerennial2::Do(), PLWinterRye::Do(), DK_OOrchCherry::Do(), DE_SpringBarley::Do(), DK_OSpringFodderGrass::Do(), BEPotatoes::Do(), FR_Sorghum::Do(), FI_TurnipRape::Do(), FI_GrasslandSilageAnnual::Do(), DK_OBushFruit_Perm1::Do(), DK_OWinterWheat_CC::Do(), DE_AsparagusEstablishedPlantation::Do(), DK_OCloverGrassGrazed3::Do(), FR_Maize::Do(), FR_Maize_Silage::Do(), FI_FabaBean::Do(), DK_OCloverGrassGrazed1::Do(), PLSpringBarley::Do(), PLMaize::Do(), DK_OWinterWheat::Do(), DK_OCloverGrassGrazed2::Do(), NLPotatoes::Do(), PLMaizeSilage::Do(), FI_OWinterRye::Do(), NLTulips::Do(), FI_SpringRape::Do(), FR_WinterTriticale::Do(), PTCloverGrassGrazed1::Do(), FI_Caraway1::Do(), PLWinterTriticale::Do(), DE_Peas::Do(), FI_SpringBarley_Malt::Do(), DE_Legumes::Do(), SE_SpringBarley::Do(), FR_Sunflower::Do(), DE_OTriticale::Do(), DK_OWinterFodderGrass::Do(), FI_OWinterWheat::Do(), DE_OWinterRye::Do(), DK_OOrchPear::Do(), DE_WinterRye::Do(), FI_SprSpringBarley_Fodder::Do(), DK_OWinterCloverGrassGrazedSown::Do(), FI_SpringWheat::Do(), DE_OWinterBarley::Do(), DK_CloverGrassGrazed3::Do(), PLWinterWheat::Do(), DK_OOrchOther::Do(), DK_OOrchardCrop_Perm::Do(), PLBeet::Do(), PLWinterBarley::Do(), DK_OOrchApple::Do(), PLSpringWheat::Do(), DK_CloverGrassGrazed2::Do(), PLWinterWheatLate::Do(), FI_SpringOats::Do(), DE_Carrots::Do(), FI_SpringBarley_Fodder::Do(), SE_WinterRape_Seed::Do(), DK_BushFruit_Perm1::Do(), PLPotatoes::Do(), PTPermanentGrassGrazed::Do(), DE_Oats::Do(), DE_Cabbage::Do(), SE_WinterWheat::Do(), FR_SpringWheat::Do(), DE_WinterBarley::Do(), DE_SpringRye::Do(), DK_SeedGrassRye_Spring::Do(), PLWinterRape::Do(), PTVineyards::Do(), FR_WinterBarley::Do(), DE_GrasslandSilageAnnual::Do(), FI_WinterWheat::Do(), IRWinterBarley::Do(), FR_Grassland::Do(), IRWinterOats::Do(), IRSpringBarley::Do(), IRSpringOats::Do(), IRSpringWheat::Do(), FI_WinterRye::Do(), DE_WinterWheatLate::Do(), DE_Triticale::Do(), DE_WinterWheat::Do(), FR_WinterWheat::Do(), IRWinterWheat::Do(), FR_Potatoes::Do(), FR_WinterRape::Do(), DE_WinterRape::Do(), WinterWheat::Do(), DE_SugarBeet::Do(), DK_OrchCherry::Do(), IRGrassland_no_reseed::Do(), DE_Potatoes::Do(), DK_OrchPear::Do(), DK_OrchardCrop_Perm::Do(), DK_OrchApple::Do(), DK_OrchOther::Do(), DE_PotatoesIndustry::Do(), and IRGrassland_reseed::Do().
◆ GetMinX()
References m_minx.
Referenced by Landscape::BorderAdd(), Farm::BulbHarvest(), FlowerStrip::Cutting(), FieldBoundary::Cutting(), RoadsideVerge::Cutting(), Orchard::Cutting(), MownGrassStrip::Cutting(), Pesticide::DiffusionMatrixInit(), VegElement::GrazeVegetation(), VegElement::GrazeVegetationHeight(), Farm::Harvest(), Farm::HarvestLong(), Pesticide::MainMapDecay(), VegElement::ReduceVeg(), VegElement::ReduceVeg_Extended(), PesticideMap::Spray(), and VegElement::ZeroVeg().
◆ GetMinY()
References m_miny.
Referenced by Landscape::BorderAdd(), Farm::BulbHarvest(), FlowerStrip::Cutting(), FieldBoundary::Cutting(), RoadsideVerge::Cutting(), Orchard::Cutting(), MownGrassStrip::Cutting(), Pesticide::DiffusionMatrixInit(), VegElement::GrazeVegetation(), VegElement::GrazeVegetationHeight(), Farm::Harvest(), Farm::HarvestLong(), Pesticide::MainMapDecay(), VegElement::ReduceVeg(), VegElement::ReduceVeg_Extended(), PesticideMap::Spray(), and VegElement::ZeroVeg().
◆ GetNectar()
Gets the nectar quantity & quality for this landscape element.
References m_nectarinfo.
◆ GetNectarQuantity()
virtual double LE::GetNectarQuantity |
( |
| ) |
|
|
inlinevirtual |
◆ GetOldDays()
long LE::GetOldDays |
( |
void |
| ) |
|
|
inline |
◆ GetOpenness()
int LE::GetOpenness |
( |
void |
| ) |
|
|
inline |
For goose model functionality, openness score for the polygon.
References m_openness.
◆ GetOwner()
Farm* LE::GetOwner |
( |
void |
| ) |
|
|
inline |
References m_owner.
Referenced by Landscape::AddBeetleBankIfPossible(), Landscape::BorderAdd(), UKMaize::Do(), BEOrchardCrop::Do(), BEMaizeSpring::Do(), UKBeans::Do(), BEBeetSpring::Do(), UKBeet::Do(), BEMaize::Do(), PLFodderLucerne2::Do(), UKSpringBarley::Do(), UKWinterBarley::Do(), BEBeet::Do(), BEWinterBarley::Do(), BEWinterBarleyCC::Do(), BEWinterWheat::Do(), BEWinterWheatCC::Do(), DK_Carrots_Spring::Do(), UKWinterWheat::Do(), PLCarrots::Do(), BEGrassGrazed1Spring::Do(), TestCrop::Do(), UKWinterRape::Do(), BEGrassGrazed2::Do(), BEGrassGrazedLast::Do(), BEGrassGrazed1::Do(), PLFodderLucerne1::Do(), FR_Grassland_Perm::Do(), UKPotatoes::Do(), UKPermanentGrass::Do(), UKTempGrass::Do(), FI_GreenFallow_1year::Do(), FI_NaturalGrassland_Perm::Do(), PLBeetSpr::Do(), FI_GreenFallow_Perm::Do(), PLBeans::Do(), FI_BufferZone_Perm::Do(), FI_BufferZone::Do(), ITGrassland::Do(), FI_NaturalGrassland::Do(), FI_OSpringBarley_Malt::Do(), BEPotatoesSpring::Do(), FI_OCaraway1::Do(), FI_OFabaBean::Do(), FI_OSpringOats::Do(), FI_OSpringRape::Do(), FI_OSpringWheat::Do(), FI_OTurnipRape::Do(), FR_SpringOats::Do(), FI_OSpringBarley_Fodder::Do(), PLWinterRye::Do(), FI_FeedingGround::Do(), FR_Sorghum::Do(), BEPotatoes::Do(), PLMaizeSilage::Do(), PLMaize::Do(), PLSpringBarley::Do(), FI_OWinterRye::Do(), SE_SpringBarley::Do(), PLWinterTriticale::Do(), FI_OWinterWheat::Do(), PLWinterWheat::Do(), PLBeet::Do(), PLWinterBarley::Do(), PLWinterWheatLate::Do(), PLSpringWheat::Do(), SE_WinterRape_Seed::Do(), PLPotatoes::Do(), SE_WinterWheat::Do(), PLWinterRape::Do(), IRWinterBarley::Do(), IRSpringOats::Do(), IRSpringBarley::Do(), IRWinterOats::Do(), IRSpringWheat::Do(), IRWinterWheat::Do(), WinterWheat::Do(), IRGrassland_no_reseed::Do(), IRGrassland_reseed::Do(), ITOrchard::Do(), and ITOOrchard::Do().
◆ GetOwnerFile()
int LE::GetOwnerFile |
( |
void |
| ) |
|
|
inline |
◆ GetOwnerIndex()
int LE::GetOwnerIndex |
( |
void |
| ) |
|
|
inline |
◆ GetPesticideCell()
int LE::GetPesticideCell |
( |
| ) |
|
|
inline |
◆ GetPigGrazing()
bool LE::GetPigGrazing |
( |
void |
| ) |
|
|
inline |
◆ GetPoison()
bool LE::GetPoison |
( |
void |
| ) |
|
|
inline |
◆ GetPollen()
Gets the pollen quantity & quality for this landscape element.
References m_polleninfo.
◆ GetPollenNectarCurveRef()
int LE::GetPollenNectarCurveRef |
( |
void |
| ) |
|
|
inline |
◆ GetPollenNectarFlag()
virtual bool LE::GetPollenNectarFlag |
( |
| ) |
|
|
inlinevirtual |
Returns the flag showing whether there is potential pollen/nectar here or not.
References m_PollenNectarFlag.
◆ GetPollenQuality()
virtual double LE::GetPollenQuality |
( |
| ) |
|
|
inlinevirtual |
◆ GetPollenQuantity()
virtual double LE::GetPollenQuantity |
( |
| ) |
|
|
inlinevirtual |
◆ GetPoly()
Returns the polyref number for this polygon.
References m_poly.
Referenced by Landscape::AddBeetleBankIfPossible(), Landscape::AddPatchIfPossible(), Landscape::BorderAdd(), UKMaize::Do(), UKBeans::Do(), PLFodderLucerne2::Do(), BEMaize::Do(), UKBeet::Do(), UKSpringBarley::Do(), UKWinterBarley::Do(), BEBeet::Do(), BEWinterBarley::Do(), BEWinterBarleyCC::Do(), BEWinterWheatCC::Do(), BEWinterWheat::Do(), DK_Carrots_Spring::Do(), UKWinterWheat::Do(), PLCarrots::Do(), UKWinterRape::Do(), TestCrop::Do(), BEGrassGrazed1::Do(), PLFodderLucerne1::Do(), UKPermanentGrass::Do(), UKPotatoes::Do(), FR_Grassland_Perm::Do(), UKTempGrass::Do(), FI_GreenFallow_1year::Do(), FI_NaturalGrassland_Perm::Do(), PLBeetSpr::Do(), WinterWheatStriglingSingle::Do(), WinterWheatStrigling::Do(), WinterWheatStriglingCulm::Do(), PLBeans::Do(), FI_GreenFallow_Perm::Do(), FI_BufferZone::Do(), FI_BufferZone_Perm::Do(), ITGrassland::Do(), FI_OSpringBarley_Malt::Do(), FI_NaturalGrassland::Do(), FI_OCaraway1::Do(), FI_OFabaBean::Do(), FI_OSpringOats::Do(), FI_OSpringRape::Do(), FI_OSpringWheat::Do(), FI_OTurnipRape::Do(), FI_OSpringBarley_Fodder::Do(), FR_SpringOats::Do(), FI_FeedingGround::Do(), PLWinterRye::Do(), BEPotatoes::Do(), FR_Sorghum::Do(), PLMaize::Do(), PLMaizeSilage::Do(), PLSpringBarley::Do(), FI_OWinterRye::Do(), PLWinterTriticale::Do(), SE_SpringBarley::Do(), FI_OWinterWheat::Do(), PLWinterWheat::Do(), PLWinterBarley::Do(), PLBeet::Do(), PLSpringWheat::Do(), PLWinterWheatLate::Do(), SE_WinterRape_Seed::Do(), PLPotatoes::Do(), SE_WinterWheat::Do(), PLWinterRape::Do(), IRWinterBarley::Do(), IRWinterOats::Do(), IRSpringOats::Do(), IRSpringBarley::Do(), IRSpringWheat::Do(), IRWinterWheat::Do(), WinterWheat::Do(), IRGrassland_no_reseed::Do(), IRGrassland_reseed::Do(), ITOrchard::Do(), ITOOrchard::Do(), Landscape::FindFieldCenter(), Landscape::hb_StripingDist(), Landscape::ReadPolys2(), and PesticideTable::Spray().
◆ GetPreviousTov()
◆ GetQuarryNos()
For goose model functionality, returns the number of geese yesterday which can be hunted as legal quarry.
This simply looks X days behind at the moment and sums the total number of legal quarry species seen.The length of the backward count can be altered by changing the config variable value cfg_goosecountperiod (default 1, only care about yesterday).
References cfg_goosecountperiod, Calendar::DayInYear(), g_date, and CfgInt::value().
◆ GetRotIndex()
int LE::GetRotIndex |
( |
void |
| ) |
|
|
inline |
References m_rot_index.
Referenced by UKMaize::Do(), NorwegianOats::Do(), BEOrchardCrop::Do(), BEMaizeSpring::Do(), UKBeans::Do(), BEBeetSpring::Do(), UKBeet::Do(), BEMaize::Do(), PLFodderLucerne2::Do(), UKSpringBarley::Do(), UKWinterBarley::Do(), BEBeet::Do(), BEWinterBarley::Do(), BEWinterBarleyCC::Do(), BEWinterWheat::Do(), BEWinterWheatCC::Do(), DK_Carrots_Spring::Do(), UKWinterWheat::Do(), PLCarrots::Do(), BEGrassGrazed1Spring::Do(), UKWinterRape::Do(), TestCrop::Do(), BEGrassGrazed2::Do(), BEGrassGrazedLast::Do(), BEGrassGrazed1::Do(), PLFodderLucerne1::Do(), FR_Grassland_Perm::Do(), UKPermanentGrass::Do(), UKPotatoes::Do(), UKTempGrass::Do(), FI_GreenFallow_1year::Do(), FI_NaturalGrassland_Perm::Do(), PLBeetSpr::Do(), FI_GreenFallow_Perm::Do(), PLBeans::Do(), FI_BufferZone_Perm::Do(), FI_BufferZone::Do(), ITGrassland::Do(), FI_NaturalGrassland::Do(), FI_OSpringBarley_Malt::Do(), BEPotatoesSpring::Do(), FI_OCaraway1::Do(), FI_OFabaBean::Do(), FI_OSpringOats::Do(), FI_OSpringRape::Do(), FI_OSpringWheat::Do(), FI_OTurnipRape::Do(), FR_SpringOats::Do(), FI_OSpringBarley_Fodder::Do(), FI_FeedingGround::Do(), PLWinterRye::Do(), BEPotatoes::Do(), FR_Sorghum::Do(), PLSpringBarley::Do(), PLMaize::Do(), PLMaizeSilage::Do(), FI_OWinterRye::Do(), PLWinterTriticale::Do(), SE_SpringBarley::Do(), FI_OWinterWheat::Do(), PLBeet::Do(), PLWinterBarley::Do(), PLWinterWheat::Do(), PLSpringWheat::Do(), PLWinterWheatLate::Do(), PLPotatoes::Do(), SE_WinterRape_Seed::Do(), SE_WinterWheat::Do(), PLWinterRape::Do(), IRSpringOats::Do(), IRWinterOats::Do(), IRWinterBarley::Do(), IRSpringBarley::Do(), IRSpringWheat::Do(), IRWinterWheat::Do(), WinterWheat::Do(), IRGrassland_no_reseed::Do(), IRGrassland_reseed::Do(), ITOrchard::Do(), ITOOrchard::Do(), Farm::GetNextCropStartDate(), and Farm::HandleEvents().
◆ GetSkScrapes()
virtual bool LE::GetSkScrapes |
( |
void |
| ) |
|
|
inlinevirtual |
◆ GetSlope()
double LE::GetSlope |
( |
void |
| ) |
|
|
inline |
◆ GetSoilType()
/brief Gets the soil type ref number for the polygon
EZ: NEW SOIL CLASSIFICATION (FAO 2006) Agricultural Usage AlmCode SoilType FAO texture code Description Crop management code None 0 - Water - None 1 S Sand (unspecified) Light (sandy type) Poor 2 LS Loamy sand Light (sandy type) Poor 3 SL Sandy loam Light (sandy type) Poor 4 SCL Sandy clay loam Light (sandy type) Average 5 SiL Silt loam Average (silty loam type) Average 6 SiCL Silty clay loam Average (silty loam type) Good 7 CL Clay loam Heavy (clay & loam type) Good 8 L Loam Heavy (clay & loam type) Good 9 Si Silt Average (silty loam type) Good 10 SC Sandy clay Heavy (clay & loam type) Good 11 SiC Silty clay Heavy (clay & loam type) Good 12 C Clay Heavy (clay & loam type) Good 13 HC Heavy clay Heavy (clay & loam type) Good 14 O Organic & peat Organic & peat
References m_soiltype.
Referenced by NLCatchCropPea::Do(), BECatchPeaCrop::Do(), DK_CerealLegume::Do(), DK_CerealLegume_Whole::Do(), DK_OCatchCrop::Do(), DK_SpringBarley_Green::Do(), DK_Legume_Peas::Do(), DK_CatchCrop::Do(), DK_SpringBarleySilage::Do(), DK_MaizeSilage::Do(), DK_Legume_Beans::Do(), DK_SpringOats::Do(), DK_SpringOats_CC::Do(), FI_SugarBeet::Do(), NLMaizeSpring::Do(), BEMaizeSpring::Do(), DK_Maize::Do(), DK_SpringWheat::Do(), DK_Legume_Whole::Do(), BEMaize::Do(), BEBeetSpring::Do(), NLBeetSpring::Do(), NLMaize::Do(), DK_OVegSeeds::Do(), DK_SpringBarleyCloverGrass::Do(), DE_OCabbages::Do(), DK_OMaize::Do(), DK_OMaizeSilage::Do(), NLCarrotsSpring::Do(), BEBeet::Do(), DK_SpringBarley::Do(), DK_SpringBarley_CC::Do(), NLBeet::Do(), DK_OSpringBarleySilage::Do(), DK_SpringFodderGrass::Do(), DK_OEnergyCrop_Perm::Do(), DK_OCabbages::Do(), NLCarrots::Do(), NLCabbageSpring::Do(), NLSpringBarleySpring::Do(), DK_WinterBarley::Do(), DK_EnergyCrop_Perm::Do(), DK_VegSeeds::Do(), NLCabbage::Do(), DK_WinterRye::Do(), DK_WinterRye_CC::Do(), NLSpringBarley::Do(), DK_Cabbages::Do(), BEGrassGrazedLast::Do(), DK_OPotato::Do(), DK_OPotatoIndustry::Do(), DK_WinterWheat::Do(), DK_OPotatoSeed::Do(), DK_WinterWheat_CC::Do(), DK_OSeedGrassRye_Spring::Do(), DK_OBushFruit_Perm2::Do(), DK_MixedVeg::Do(), BEPotatoesSpring::Do(), DE_Maize::Do(), DE_MaizeSilage::Do(), NLPotatoesSpring::Do(), DK_OOrchCherry::Do(), BEPotatoes::Do(), DK_OWinterWheat_CC::Do(), NLPotatoes::Do(), DK_OWinterWheat::Do(), DE_Carrots::Do(), DE_Cabbage::Do(), DE_Oats::Do(), DE_SpringRye::Do(), DK_SeedGrassRye_Spring::Do(), DK_BushFruit_Perm2::Do(), DK_SeedGrassFescue_Spring::Do(), DK_OrchCherry::Do(), IRGrassland_no_reseed::Do(), IRGrassland_reseed::Do(), DK_OChristmasTrees_Perm::Do(), and DK_ChristmasTrees_Perm::Do().
◆ GetSoilTypeR()
/brief Gets the soil type ref number for the polygon for rabbit warrens
Those types that are Sandy return 1, otherwise suitable for burrows 0, and 3 if unsuitable. If not soil types are specified then heavy soils suitable for long-term burrows are returned as default.
References m_soiltype.
Referenced by BroadBeans::Do().
◆ GetSprayedToday()
bool LE::GetSprayedToday |
( |
| ) |
|
|
inline |
◆ GetSprayPPPRate()
double LE::GetSprayPPPRate |
( |
void |
| ) |
|
|
inline |
◆ GetSprayPPPType()
◆ GetStubble()
◆ GetSugar()
virtual double LE::GetSugar |
( |
| ) |
|
|
inlinevirtual |
◆ GetTotalNectar()
virtual double LE::GetTotalNectar |
( |
| ) |
|
|
inlinevirtual |
Returns the total nectar quantity for this landscape element.
References m_totalNectar.
◆ GetTotalPollen()
virtual double LE::GetTotalPollen |
( |
| ) |
|
|
inlinevirtual |
Returns the total pollen quantity for this landscape element.
References m_totalPollen.
◆ GetTrafficLoad()
virtual double LE::GetTrafficLoad |
( |
void |
| ) |
|
|
inlinevirtual |
◆ GetUnsprayedMarginPolyRef()
int LE::GetUnsprayedMarginPolyRef |
( |
void |
| ) |
|
|
inline |
References m_unsprayedmarginpolyref.
Referenced by Farm::CattleIsOut(), Farm::CattleIsOutLow(), Farm::CattleIsOutLow2(), Farm::CattleOut(), Farm::CattleOutLowGrazing(), BroadBeans::Do(), DK_OLegume_Peas_CC::Do(), DK_OLegume_Beans_CC::Do(), DK_SpringOats_CC::Do(), DK_OWinterRye_CC::Do(), DK_OLegume_Whole_CC::Do(), DK_OSpringBarley_CC::Do(), NLMaize::Do(), DK_OSpringOats_CC::Do(), DK_SpringBarley_CC::Do(), BEWinterBarleyCC::Do(), BEWinterWheatCC::Do(), DK_WinterRye_CC::Do(), NLWinterWheat::Do(), PTCabbage_Hort::Do(), DK_WinterWheat_CC::Do(), PTMaize_Hort::Do(), DK_OWinterWheat_CC::Do(), VegElement::DoDevelopment(), Farm::HandleEvents(), Farm::Irrigation(), Farm::Mowing(), Farm::PigsAreOut(), Farm::PigsAreOutForced(), Farm::PigsOut(), Farm::SetFunctionData(), Farm::Suckering(), and Farm::WinterHarrow().
◆ GetValidX()
int LE::GetValidX |
( |
void |
| ) |
|
|
inline |
◆ GetValidY()
int LE::GetValidY |
( |
void |
| ) |
|
|
inline |
◆ GetVegAge()
◆ GetVegBiomass()
virtual double LE::GetVegBiomass |
( |
void |
| ) |
|
|
inlinevirtual |
Reimplemented in VegElement.
Referenced by Farm::BulbHarvest(), Farm::CattleIsOut(), Farm::CattleIsOutLow(), Farm::CattleIsOutLow2(), DK_Legume_Peas::Do(), DK_OptimalFlowerMix3::Do(), DK_Legume_Beans::Do(), DK_OEnergyCrop_Perm::Do(), DK_EnergyCrop_Perm::Do(), PTSetAside::Do(), WinterWheatStrigling::Do(), WinterWheatStriglingCulm::Do(), WinterWheatStriglingSingle::Do(), DK_SetAside::Do(), DK_OSetAside_SummerMow::Do(), DK_OSetAside::Do(), DK_SetAside_SummerMow::Do(), WinterWheat::Do(), Farm::Harvest(), and Farm::HarvestLong().
◆ GetVegCover()
virtual double LE::GetVegCover |
( |
void |
| ) |
|
|
inlinevirtual |
◆ GetVegDDegs()
double LE::GetVegDDegs |
( |
| ) |
|
|
inline |
◆ GetVegDensity()
virtual int LE::GetVegDensity |
( |
void |
| ) |
|
|
inlinevirtual |
◆ GetVegGrowthStage()
virtual double LE::GetVegGrowthStage |
( |
void |
| ) |
|
|
inlinevirtual |
◆ GetVegHeight()
virtual double LE::GetVegHeight |
( |
void |
| ) |
|
|
inlinevirtual |
Reimplemented in VegElement.
Referenced by DK_GrassTussocky_Perm::Do(), DK_OGrassLowYield_Perm::Do(), DK_GrassLowYield_Perm::Do(), DK_WinterFodderGrass::Do(), DK_WinterCloverGrassGrazedSown::Do(), DK_SpringFodderGrass::Do(), DK_OGrassGrazed_Perm::Do(), DK_GrassGrazed_Perm::Do(), DK_CloverGrassGrazed1::Do(), DK_OSpringFodderGrass::Do(), DK_OCloverGrassGrazed3::Do(), DK_OCloverGrassGrazed2::Do(), DK_OCloverGrassGrazed1::Do(), DK_OWinterFodderGrass::Do(), DK_CloverGrassGrazed3::Do(), DK_OWinterCloverGrassGrazedSown::Do(), and DK_CloverGrassGrazed2::Do().
◆ GetVegPhase()
virtual int LE::GetVegPhase |
( |
void |
| ) |
|
|
inlinevirtual |
◆ GetVegStore()
int LE::GetVegStore |
( |
void |
| ) |
|
|
inline |
Variable used to record the current grazing pressure by e.g. voles */ double m_volegrazing; /**.
Variable used to reduce the grazing pressure */ double m_voleResregrowth; /** Variable used to record the current grazing pressure by e.g. voles */ double m_volegrazingDensity; /** Change the current grazing pressure by e.g. voles */ void AddVoleGrazing(int a_number) { m_volegrazing+=a_number; } /** Get the current total grazing pressure by e.g. voles */ double GetVoleGrazing( void ) {return m_volegrazing; } /** Calculate the current grazing pressure by e.g. voles */ void CalcVoleGrazingDensity( void ) { m_volegrazing *= m_voleResregrowth; m_volegrazingDensity = (m_volegrazing/m_area); } /** Get the current grazing pressure by e.g. voles */ double GetVoleGrazingDensity( void ) {return m_volegrazingDensity; } /** Reset the current grazing pressure by e.g. voles / //void ResetVoleGrazing( void ) { m_volegrazing = 0.0; } long m_user[ EL_MAX_USERSPACE ]; bool m_repeat_start; Landscape GetLandscape(void) { return m_Landscape; } LE_Signal GetSignal( void ) { return m_signal_mask; } void SetSignal( LE_Signal a_signal ) { m_signal_mask = a_signal; } int GetSubType( void ) { return m_subtype; } void SetSubType( int a_subtype ) { m_subtype = a_subtype; } int GetALMaSSEleType(void) { return m_almass_le_type; } void SetALMaSSEleType(int a_type) { m_almass_le_type = a_type; } virtual TTypesOfLandscapeElement GetElementType(void) { return m_type; } virtual TTypesOfLandscapeElement GetOwner_tole(void) { return m_owner_tole; } void SetOwner_tole(TTypesOfLandscapeElement a_tole) { m_owner_tole = a_tole; } void SetElementType( int a_type ) { m_type = (TTypesOfLandscapeElement) a_type; } void Trace( int a_value ); void ResetTrace( void ); long GetRunNum( void ) { return m_running; } void BumpRunNum( void ) { m_running++; } long GetMgtLoopDetectDate ( void ) { return m_management_loop_detect_date; } void SetMgtLoopDetectDate ( long a_num ) { m_management_loop_detect_date = a_num; } long GetMgtLoopDetectCount ( void ) { return m_management_loop_detect_count; } void SetMgtLoopDetectCount ( long a_num ) { m_management_loop_detect_count = a_num; } virtual void Tick( void ); virtual TTypesOfVegetation GetVegType(void) { return tov_None; } virtual TTypesOfCrops GetCropType(void) { return m_CropType; } virtual void SetCropType(TTypesOfCrops /* a_crop
References m_vege_danger_store.
◆ GetWeedBiomass()
virtual double LE::GetWeedBiomass |
( |
void |
| ) |
|
|
inlinevirtual |
◆ GrazeVeg_Extended()
virtual void LE::GrazeVeg_Extended |
( |
double |
| ) |
|
|
inlinevirtual |
◆ GrazeVegetation()
virtual void LE::GrazeVegetation |
( |
double |
, |
|
|
bool |
|
|
) |
| |
|
inlinevirtual |
◆ GrazeVegetationHeight()
virtual void LE::GrazeVegetationHeight |
( |
double |
a_reduc | ) |
|
|
inlinevirtual |
◆ GrazeVegetationTotal()
virtual void LE::GrazeVegetationTotal |
( |
double |
| ) |
|
|
inlinevirtual |
/brief Reduces the total vegetation biomass as a result of grazing in descendent classes, total polygon mass
Reimplemented in VegElement.
◆ HasTramlines()
bool LE::HasTramlines |
( |
void |
| ) |
|
|
inline |
◆ Insecticide()
virtual void LE::Insecticide |
( |
double |
| ) |
|
|
inlinevirtual |
◆ InsectMortality()
virtual void LE::InsectMortality |
( |
double |
| ) |
|
|
inlinevirtual |
◆ Is_Att_Forest()
bool LE::Is_Att_Forest |
( |
void |
| ) |
|
|
inline |
◆ Is_Att_High()
bool LE::Is_Att_High |
( |
void |
| ) |
|
|
inline |
◆ Is_Att_UrbanNoVeg()
bool LE::Is_Att_UrbanNoVeg |
( |
void |
| ) |
|
|
inline |
◆ Is_Att_UserDefinedBool()
bool LE::Is_Att_UserDefinedBool |
( |
void |
| ) |
|
|
inline |
◆ Is_Att_UserDefinedInt()
int LE::Is_Att_UserDefinedInt |
( |
void |
| ) |
|
|
inline |
◆ Is_Att_Veg()
virtual bool LE::Is_Att_Veg |
( |
void |
| ) |
|
|
inlinevirtual |
◆ Is_Att_VegCereal()
virtual bool LE::Is_Att_VegCereal |
( |
| ) |
|
|
inlinevirtual |
◆ Is_Att_VegGooseGrass()
virtual bool LE::Is_Att_VegGooseGrass |
( |
| ) |
|
|
inlinevirtual |
◆ Is_Att_VegGrass()
virtual bool LE::Is_Att_VegGrass |
( |
| ) |
|
|
inlinevirtual |
◆ Is_Att_VegMaize()
virtual bool LE::Is_Att_VegMaize |
( |
| ) |
|
|
inlinevirtual |
◆ Is_Att_VegMatureCereal()
virtual bool LE::Is_Att_VegMatureCereal |
( |
| ) |
|
|
inlinevirtual |
◆ Is_Att_VegPatchy()
virtual bool LE::Is_Att_VegPatchy |
( |
void |
| ) |
|
|
inlinevirtual |
◆ Is_Att_Water()
bool LE::Is_Att_Water |
( |
void |
| ) |
|
|
inline |
◆ Is_Att_Woody()
bool LE::Is_Att_Woody |
( |
void |
| ) |
|
|
inline |
◆ IsMaleNewtPresent()
virtual bool LE::IsMaleNewtPresent |
( |
| ) |
|
|
inlinevirtual |
Sets a male newt as present/absent in descendent classes - here only to prevent need for dynamic casts.
Reimplemented in Pond.
◆ IsRecentlyMown()
bool LE::IsRecentlyMown |
( |
void |
| ) |
|
|
inline |
◆ IsRecentlySprayed()
int LE::IsRecentlySprayed |
( |
void |
| ) |
|
|
inline |
◆ PollenNectarReset()
virtual void LE::PollenNectarReset |
( |
| ) |
|
|
inlinevirtual |
◆ RecalculateBugsNStuff()
virtual void LE::RecalculateBugsNStuff |
( |
void |
| ) |
|
|
inlinevirtual |
◆ ReduceVeg()
virtual void LE::ReduceVeg |
( |
double |
| ) |
|
|
inlinevirtual |
◆ ReduceVeg_Extended()
virtual void LE::ReduceVeg_Extended |
( |
double |
| ) |
|
|
inlinevirtual |
◆ ReduceWeedBiomass()
virtual void LE::ReduceWeedBiomass |
( |
double |
| ) |
|
|
inlinevirtual |
◆ ResetDigestibility()
virtual void LE::ResetDigestibility |
( |
| ) |
|
|
inlinevirtual |
◆ Set_Att_Forest()
void LE::Set_Att_Forest |
( |
bool |
a_forest | ) |
|
|
inline |
◆ Set_Att_High()
void LE::Set_Att_High |
( |
bool |
a_high | ) |
|
|
inline |
◆ Set_Att_UrbanNoVeg()
void LE::Set_Att_UrbanNoVeg |
( |
bool |
a_unv | ) |
|
|
inline |
◆ Set_Att_UserDefinedBool()
void LE::Set_Att_UserDefinedBool |
( |
bool |
a_value | ) |
|
|
inline |
◆ Set_Att_UserDefinedInt()
void LE::Set_Att_UserDefinedInt |
( |
int |
a_value | ) |
|
|
inline |
◆ Set_Att_VegCereal()
virtual void LE::Set_Att_VegCereal |
( |
bool |
| ) |
|
|
inlinevirtual |
◆ Set_Att_VegGooseGrass()
virtual void LE::Set_Att_VegGooseGrass |
( |
bool |
| ) |
|
|
inlinevirtual |
◆ Set_Att_VegGrass()
virtual void LE::Set_Att_VegGrass |
( |
bool |
| ) |
|
|
inlinevirtual |
◆ Set_Att_VegMaize()
virtual void LE::Set_Att_VegMaize |
( |
bool |
| ) |
|
|
inlinevirtual |
◆ Set_Att_VegMatureCereal()
virtual void LE::Set_Att_VegMatureCereal |
( |
bool |
| ) |
|
|
inlinevirtual |
◆ Set_Att_VegPatchy()
virtual void LE::Set_Att_VegPatchy |
( |
bool |
| ) |
|
|
inlinevirtual |
◆ Set_Att_Water()
void LE::Set_Att_Water |
( |
bool |
a_water | ) |
|
|
inline |
◆ Set_Att_Woody()
void LE::Set_Att_Woody |
( |
bool |
a_woody | ) |
|
|
inline |
◆ SetArea()
void LE::SetArea |
( |
double |
a_area | ) |
|
|
inline |
◆ SetAspect()
void LE::SetAspect |
( |
double |
a_aspect | ) |
|
|
inline |
◆ SetBirdMaize()
void LE::SetBirdMaize |
( |
double |
a_forage | ) |
|
|
inline |
◆ SetBirdSeed()
void LE::SetBirdSeed |
( |
double |
a_forage | ) |
|
|
inline |
◆ SetBorder()
void LE::SetBorder |
( |
LE * |
a_border | ) |
|
|
inline |
◆ SetCentroid()
virtual void LE::SetCentroid |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
|
inlinevirtual |
◆ SetCopyTreatment()
void LE::SetCopyTreatment |
( |
int |
a_treatment | ) |
|
◆ SetCountryDesignation()
void LE::SetCountryDesignation |
( |
int |
a_designation | ) |
|
|
inline |
◆ SetCropData()
virtual void LE::SetCropData |
( |
double |
, |
|
|
double |
, |
|
|
double |
, |
|
|
TTypesOfVegetation |
, |
|
|
double |
, |
|
|
int |
|
|
) |
| |
|
inlinevirtual |
◆ SetCropDataAll()
virtual void LE::SetCropDataAll |
( |
double |
, |
|
|
double |
, |
|
|
double |
, |
|
|
double |
, |
|
|
TTypesOfVegetation |
, |
|
|
double |
, |
|
|
double |
, |
|
|
int |
, |
|
|
double |
, |
|
|
bool |
, |
|
|
double |
, |
|
|
double |
, |
|
|
double |
|
|
) |
| |
|
inlinevirtual |
◆ SetDigestibility()
virtual void LE::SetDigestibility |
( |
double |
| ) |
|
|
inlinevirtual |
◆ SetElevation()
void LE::SetElevation |
( |
double |
a_elevation | ) |
|
|
inline |
◆ SetGooseNos()
void LE::SetGooseNos |
( |
int |
a_number, |
|
|
int |
a_day |
|
) |
| |
|
inline |
For goose model functionality, records the number of geese on a_day day
References m_gooseNos.
◆ SetGooseNosTimed()
void LE::SetGooseNosTimed |
( |
int |
a_number, |
|
|
int |
a_day |
|
) |
| |
|
inline |
For goose model functionality, records the number of geese on a_day day
References m_gooseNosTimed.
◆ SetGooseRoostDist()
void LE::SetGooseRoostDist |
( |
int |
a_dist, |
|
|
GooseSpecies |
a_goose |
|
) |
| |
|
inline |
◆ SetGooseSpNos()
void LE::SetGooseSpNos |
( |
int |
a_number, |
|
|
int |
a_day, |
|
|
GooseSpecies |
a_goose |
|
) |
| |
|
inline |
For goose model functionality, records the number of geese on a_day day
References m_gooseSpNos.
◆ SetGooseSpNosTimed()
void LE::SetGooseSpNosTimed |
( |
int |
a_number, |
|
|
int |
a_day, |
|
|
GooseSpecies |
a_goose |
|
) |
| |
|
inline |
For goose model functionality, records the number of geese on a_day day
References m_gooseSpNosTimed.
◆ SetGrazingLevel()
virtual void LE::SetGrazingLevel |
( |
int |
| ) |
|
|
inlinevirtual |
◆ SetGrowthPhase()
virtual void LE::SetGrowthPhase |
( |
int |
| ) |
|
|
inlinevirtual |
Reimplemented in VegElement.
Referenced by Farm::AutumnSow(), Farm::AutumnSowWithFerti(), Farm::BulbHarvest(), Farm::CattleIsOut(), Farm::CutToHay(), Farm::CutToSilage(), OSBarleySilage::Do(), OBarleyPeaCloverGrass::Do(), Farm::Harvest(), Farm::HarvestBF_Machine(), Farm::HarvestBushFruit(), Farm::HarvestLong(), Farm::InitiateManagement(), Farm::PreseedingCultivatorSow(), Farm::SpringSow(), Farm::SpringSowWithFerti(), and Farm::StriglingSow().
◆ SetHerbicideDelay()
void LE::SetHerbicideDelay |
( |
int |
a_decaytime_days | ) |
|
|
inline |
◆ SetInsectPop()
virtual void LE::SetInsectPop |
( |
double |
| ) |
|
|
inlinevirtual |
◆ SetLastSownVeg()
Records the last vegetation type to be sown.
References m_lastsownvegtype.
Referenced by Farm::AutumnSow(), Farm::AutumnSowWithFerti(), PermanentSetAside::Do(), DK_OGrazingPigs::Do(), DK_OGrazingPigs_Perm::Do(), DK_GrazingPigs::Do(), OGrazingPigs::Do(), DK_GrazingPigs_Perm::Do(), PermanentGrassTussocky::Do(), DK_GrassTussocky_Perm::Do(), OSeedGrass1::Do(), OSeedGrass2::Do(), PermanentGrassLowYield::Do(), OPermanentGrassGrazed::Do(), SeedGrass1::Do(), PermanentGrassGrazed::Do(), SeedGrass2::Do(), SpringBarleyCloverGrassStrigling::Do(), OWinterWheatUndersown::Do(), OWinterWheatUndersownExt::Do(), SpringBarleyCloverGrass::Do(), Farm::PreseedingCultivatorSow(), Farm::SpringSow(), Farm::SpringSowWithFerti(), and Farm::StriglingSow().
◆ SetLastTreatment()
void LE::SetLastTreatment |
( |
int |
a_treatment | ) |
|
Referenced by Farm::BiocideTreat(), Farm::CattleIsOut(), Farm::CattleIsOutLow(), Farm::CattleIsOutLow2(), Farm::CattleOut(), Farm::CattleOutLowGrazing(), FlowerStrip::Cutting(), FieldBoundary::Cutting(), RoadsideVerge::Cutting(), Orchard::Cutting(), MownGrassStrip::Cutting(), Farm::FungicideTreat(), Farm::GrowthRegulator(), Farm::HerbicideTreat(), Farm::InsecticideTreat(), Farm::Molluscicide(), Farm::Mowing(), Farm::OrganicFungicide(), Farm::OrganicHerbicide(), Farm::OrganicInsecticide(), Farm::Pheromone(), Farm::PigsAreOutForced(), Farm::PigsOut(), Farm::ProductApplication(), Farm::ProductApplication_DateLimited(), Farm::SetFunctionData(), Farm::SetFunctionDataNoUM(), Farm::Suckering(), and Farm::WinterHarrow().
◆ SetMaleNewtPresent()
virtual void LE::SetMaleNewtPresent |
( |
bool |
| ) |
|
|
inlinevirtual |
Sets a male newt as present/absent in descendent classes - here only to prevent need for dynamic casts.
Reimplemented in Pond.
◆ SetMapIndex()
void LE::SetMapIndex |
( |
int |
a_map_index | ) |
|
|
inline |
◆ SetMapValid()
void LE::SetMapValid |
( |
bool |
a_valid | ) |
|
|
inline |
◆ SetMaxX()
void LE::SetMaxX |
( |
int |
x | ) |
|
|
inline |
◆ SetMaxY()
void LE::SetMaxY |
( |
int |
y | ) |
|
|
inline |
◆ SetMConstants()
void LE::SetMConstants |
( |
int |
a, |
|
|
int |
c |
|
) |
| |
|
inline |
References MConsts.
Referenced by PermanentSetAside::Do(), OrchardCrop::Do(), PermanentGrassTussocky::Do(), UKMaize::Do(), OSeedGrass1::Do(), DK_GrassTussocky_Perm::Do(), NorwegianSpringBarley::Do(), GenericCatchCrop::Do(), NorwegianOats::Do(), OSeedGrass2::Do(), PermanentGrassLowYield::Do(), HorticultureCrop::Do(), YoungForestCrop::Do(), BECatchPeaCrop::Do(), SeedGrass1::Do(), PermanentGrassGrazed::Do(), DK_OCatchCrop::Do(), FI_OStarchPotato_North::Do(), FI_OStarchPotato_South::Do(), FI_OPotato_South::Do(), FI_OPotato_North::Do(), FI_OPotatoIndustry_South::Do(), FI_OPotatoIndustry_North::Do(), DK_CatchCrop::Do(), BEOrchardCrop::Do(), SeedGrass2::Do(), FI_SugarBeet::Do(), OTriticale::Do(), MaizeSilage::Do(), Oats::Do(), BEMaizeSpring::Do(), UKBeans::Do(), FI_Potato_North::Do(), DummyCropPestTesting::Do(), FieldPeas::Do(), FieldPeasSilage::Do(), FI_StarchPotato_North::Do(), OFodderBeet::Do(), FI_PotatoIndustry_North::Do(), UKBeet::Do(), BEMaize::Do(), Triticale::Do(), BEBeetSpring::Do(), Carrots::Do(), UKSpringBarley::Do(), UKWinterBarley::Do(), BEBeet::Do(), SetAside::Do(), PotatoesIndustry::Do(), SugarBeet::Do(), BEWinterBarley::Do(), BEWinterBarleyCC::Do(), Potatoes::Do(), FodderBeet::Do(), NorwegianPotatoes::Do(), BEWinterWheatCC::Do(), BEWinterWheat::Do(), DK_Carrots_Spring::Do(), PLCarrots::Do(), SpringBarleySpr::Do(), SpringBarleySilage::Do(), UKWinterWheat::Do(), WinterRyeStrigling::Do(), UKWinterRape::Do(), WinterRye::Do(), BEGrassGrazed1Spring::Do(), TestCrop::Do(), BEGrassGrazed1::Do(), PLSpringBarleySpr::Do(), BEGrassGrazedLast::Do(), BEGrassGrazed2::Do(), FI_OCaraway2::Do(), SpringBarley::Do(), UKPermanentGrass::Do(), FR_Grassland_Perm::Do(), UKPotatoes::Do(), UKTempGrass::Do(), SpringRape::Do(), PLBeetSpr::Do(), WinterWheatStriglingSingle::Do(), WinterWheatStrigling::Do(), WinterWheatStriglingCulm::Do(), PLBeans::Do(), FI_OSpringBarley_Malt::Do(), BEPotatoesSpring::Do(), WinterRape::Do(), FI_OFabaBean::Do(), FI_OCaraway1::Do(), FI_OSpringOats::Do(), FI_OSpringRape::Do(), FI_OSpringWheat::Do(), FI_OTurnipRape::Do(), FI_OSpringBarley_Fodder::Do(), WinterBarley::Do(), FR_SpringOats::Do(), PLWinterRye::Do(), BEPotatoes::Do(), FR_Sorghum::Do(), PLSpringBarley::Do(), PLMaize::Do(), PLMaizeSilage::Do(), FI_OWinterRye::Do(), PLWinterTriticale::Do(), SE_SpringBarley::Do(), FI_OWinterWheat::Do(), PLWinterBarley::Do(), FI_SprSpringBarley_Fodder::Do(), PLWinterWheat::Do(), PLBeet::Do(), PLSpringWheat::Do(), PLWinterWheatLate::Do(), SE_WinterRape_Seed::Do(), PLPotatoes::Do(), SE_WinterWheat::Do(), PLWinterRape::Do(), IRSpringOats::Do(), IRWinterBarley::Do(), IRSpringBarley::Do(), IRWinterOats::Do(), IRSpringWheat::Do(), IRWinterWheat::Do(), WinterWheat::Do(), IRGrassland_no_reseed::Do(), and IRGrassland_reseed::Do().
◆ SetMDates()
void LE::SetMDates |
( |
int |
a, |
|
|
int |
b, |
|
|
int |
c |
|
) |
| |
|
inline |
References MDates.
Referenced by PermanentSetAside::Do(), DK_GrazingPigs_Perm::Do(), OGrazingPigs::Do(), DK_GrazingPigs::Do(), DK_OGrazingPigs::Do(), DK_OGrazingPigs_Perm::Do(), UKMaize::Do(), OrchardCrop::Do(), PermanentGrassTussocky::Do(), NorwegianOats::Do(), NorwegianSpringBarley::Do(), WinterRapeStrigling::Do(), DK_GrassTussocky_Perm::Do(), OSeedGrass1::Do(), GenericCatchCrop::Do(), BroadBeans::Do(), OSeedGrass2::Do(), YoungForestCrop::Do(), OSBarleySilage::Do(), PermanentGrassLowYield::Do(), HorticultureCrop::Do(), OFieldPeas::Do(), OFieldPeasSilage::Do(), OPermanentGrassGrazed::Do(), OCarrots::Do(), BECatchPeaCrop::Do(), DK_OLegume::Do(), SeedGrass1::Do(), OBarleyPeaCloverGrass::Do(), OMaizeSilage::Do(), PermanentGrassGrazed::Do(), DK_OCatchCrop::Do(), FI_OPotato_South::Do(), FI_OPotatoIndustry_North::Do(), FI_OPotato_North::Do(), FI_OPotatoIndustry_South::Do(), FI_OStarchPotato_North::Do(), FI_OStarchPotato_South::Do(), OWinterBarleyExt::Do(), BEOrchardCrop::Do(), DK_CatchCrop::Do(), OWinterBarley::Do(), SeedGrass2::Do(), OWinterRye::Do(), OOats::Do(), FI_SugarBeet::Do(), Maize::Do(), MaizeSilage::Do(), MaizeStrigling::Do(), OTriticale::Do(), UKBeans::Do(), Oats::Do(), BEMaizeSpring::Do(), OSpringBarleyExt::Do(), SpringBarleySeed::Do(), OSpringBarley::Do(), SpringBarleyCloverGrassStrigling::Do(), OPotatoes::Do(), FI_Potato_North::Do(), FieldPeas::Do(), FieldPeasSilage::Do(), FieldPeasStrigling::Do(), DummyCropPestTesting::Do(), OWinterWheat::Do(), OWinterWheatUndersown::Do(), OWinterWheatUndersownExt::Do(), FI_StarchPotato_North::Do(), SpringBarleyCloverGrass::Do(), OFodderBeet::Do(), FI_PotatoIndustry_North::Do(), BEMaize::Do(), UKBeet::Do(), Triticale::Do(), OWinterRape::Do(), BEBeetSpring::Do(), Carrots::Do(), UKSpringBarley::Do(), UKWinterBarley::Do(), SpringBarleyPeaCloverGrassStrigling::Do(), BEBeet::Do(), SetAside::Do(), SugarBeet::Do(), BEWinterBarley::Do(), BEWinterBarleyCC::Do(), PotatoesIndustry::Do(), NorwegianPotatoes::Do(), FodderBeet::Do(), DKOBroadBeans_test::Do(), Potatoes::Do(), BEWinterWheatCC::Do(), BEWinterWheat::Do(), SpringBarleySKManagement::Do(), DK_Carrots_Spring::Do(), SpringBarleySpr::Do(), UKWinterWheat::Do(), WinterRyeStrigling::Do(), SpringBarleySilage::Do(), PLCarrots::Do(), SpringBarleyPTreatment::Do(), TestCrop::Do(), WinterRye::Do(), BEGrassGrazed1Spring::Do(), SpringBarleyStrigling::Do(), UKWinterRape::Do(), SpringBarleyStriglingCulm::Do(), SpringBarleyStriglingSingle::Do(), BEGrassGrazed1::Do(), BEGrassGrazed2::Do(), BEGrassGrazedLast::Do(), PLSpringBarleySpr::Do(), SpringBarley::Do(), FI_OCaraway2::Do(), FR_Grassland_Perm::Do(), UKPermanentGrass::Do(), UKPotatoes::Do(), UKTempGrass::Do(), SpringRape::Do(), PLBeetSpr::Do(), WinterWheatStrigling::Do(), WinterWheatStriglingCulm::Do(), PLBeans::Do(), WinterWheatStriglingSingle::Do(), FI_OSpringBarley_Malt::Do(), WinterRape::Do(), WinterBarleyStrigling::Do(), BEPotatoesSpring::Do(), FI_OFabaBean::Do(), FI_OCaraway1::Do(), FI_OSpringOats::Do(), FI_OTurnipRape::Do(), FI_OSpringRape::Do(), FI_OSpringWheat::Do(), FI_OSpringBarley_Fodder::Do(), WinterBarley::Do(), FR_SpringOats::Do(), PLWinterRye::Do(), FR_Sorghum::Do(), BEPotatoes::Do(), PLMaizeSilage::Do(), PLMaize::Do(), PLSpringBarley::Do(), FI_OWinterRye::Do(), SE_SpringBarley::Do(), PLWinterTriticale::Do(), FI_OWinterWheat::Do(), PLWinterWheat::Do(), FI_SprSpringBarley_Fodder::Do(), PLBeet::Do(), PLWinterBarley::Do(), PLSpringWheat::Do(), PLWinterWheatLate::Do(), SE_WinterRape_Seed::Do(), PLPotatoes::Do(), SE_WinterWheat::Do(), PLWinterRape::Do(), IRSpringOats::Do(), IRSpringBarley::Do(), IRWinterOats::Do(), IRWinterBarley::Do(), IRSpringWheat::Do(), IRWinterWheat::Do(), WinterWheat::Do(), IRGrassland_no_reseed::Do(), and IRGrassland_reseed::Do().
◆ SetMinX()
void LE::SetMinX |
( |
int |
x | ) |
|
|
inline |
◆ SetMinY()
void LE::SetMinY |
( |
int |
y | ) |
|
|
inline |
◆ SetMownDecay()
void LE::SetMownDecay |
( |
int |
a_decaytime_days | ) |
|
|
inline |
◆ SetOldDays()
void LE::SetOldDays |
( |
long |
a_days | ) |
|
|
inline |
◆ SetOpenness()
void LE::SetOpenness |
( |
int |
a_openness | ) |
|
|
inline |
◆ SetOwner()
void LE::SetOwner |
( |
Farm * |
a_owner, |
|
|
int |
a_owner_num, |
|
|
int |
a_owner_index |
|
) |
| |
|
inline |
◆ SetPesticideCell()
void LE::SetPesticideCell |
( |
int |
a_cell | ) |
|
|
inline |
◆ SetPoison()
void LE::SetPoison |
( |
bool |
a_poison | ) |
|
|
inline |
◆ SetPollenNectarCurveRef()
void LE::SetPollenNectarCurveRef |
( |
int |
a_PollenNectarCurve | ) |
|
|
inline |
◆ SetPollenNectarCurves()
Set method for pollen and nectar curves.
The pollen and nectar curves provide a pollen and nectar production per day. The ampount is the assumed amount at the start of the day. There is no carry over from the day before e.g. if it was all taken by bees on one day it is completely refilled the next day start
References m_OurPollenNectarCurveSet.
◆ SetPollenNectarType()
◆ SetPoly()
void LE::SetPoly |
( |
int |
a_poly | ) |
|
|
inline |
◆ SetRotIndex()
void LE::SetRotIndex |
( |
int |
a_index | ) |
|
|
inline |
◆ SetSlope()
void LE::SetSlope |
( |
double |
a_slope | ) |
|
|
inline |
◆ SetSoilType()
void LE::SetSoilType |
( |
int |
a_st | ) |
|
|
inline |
◆ SetSpeciesFunction()
Sets the correct species simulation behaviour for the current species - implemented in VegElement.
Reimplemented in VegElement.
◆ SetSprayedToday()
void LE::SetSprayedToday |
( |
bool |
a_didit | ) |
|
|
inline |
◆ SetSprayPPPRate()
void LE::SetSprayPPPRate |
( |
double |
a_rate | ) |
|
|
inline |
◆ SetSprayPPPType()
◆ SetStubble()
void LE::SetStubble |
( |
bool |
a_flag | ) |
|
|
inline |
◆ SetTramlinesDecay()
void LE::SetTramlinesDecay |
( |
int |
a_decaytime_days | ) |
|
|
inline |
References m_tramlinesdecay.
Referenced by Farm::BiocideTreat(), Farm::FungicideTreat(), Farm::GrowthRegulator(), Farm::HerbicideTreat(), Farm::InsecticideTreat(), Farm::Molluscicide(), Farm::OrganicFungicide(), Farm::OrganicHerbicide(), Farm::OrganicInsecticide(), Farm::Pheromone(), Farm::ProductApplication(), Farm::ProductApplication_DateLimited(), Farm::SetFunctionData(), and Farm::SetFunctionDataNoUM().
◆ SetUnsprayedMarginPolyRef()
void LE::SetUnsprayedMarginPolyRef |
( |
int |
a_unsprayedmargin | ) |
|
|
inline |
◆ SetValidXY()
void LE::SetValidXY |
( |
int |
a_valid_x, |
|
|
int |
a_valid_y |
|
) |
| |
|
inline |
◆ SetVegBiomass()
virtual void LE::SetVegBiomass |
( |
int |
| ) |
|
|
inlinevirtual |
◆ SetVegGrowthScalerRand()
virtual void LE::SetVegGrowthScalerRand |
( |
| ) |
|
|
inlinevirtual |
◆ SetVegHeight()
virtual void LE::SetVegHeight |
( |
double |
| ) |
|
|
inlinevirtual |
◆ SetVegParameters()
virtual void LE::SetVegParameters |
( |
double |
, |
|
|
double |
, |
|
|
double |
, |
|
|
double |
|
|
) |
| |
|
inlinevirtual |
◆ SetVegPatchy()
void LE::SetVegPatchy |
( |
bool |
p | ) |
|
|
inline |
References Set_Att_VegPatchy().
Referenced by Landscape::AddPatchIfPossible(), BroadBeans::Do(), DK_OLegume::Do(), FI_OPotato_North::Do(), FI_OPotato_South::Do(), FI_OPotatoIndustry_North::Do(), FI_OPotatoIndustry_South::Do(), FI_OStarchPotato_North::Do(), FI_OStarchPotato_South::Do(), DK_Legume_Peas::Do(), DK_OLegume_Peas_CC::Do(), DK_OLentils::Do(), DK_OLegume_Beans::Do(), DK_OLegume_Beans_CC::Do(), DK_OLegume_Peas::Do(), DK_OLupines::Do(), DK_FodderBeet::Do(), DK_SpringOats_CC::Do(), DK_SugarBeet::Do(), FI_SugarBeet::Do(), DK_Legume_Beans::Do(), DK_OLegumeCloverGrass_Whole::Do(), DK_OLegume_Whole_CC::Do(), DK_OSpringBarley_CC::Do(), DK_OLegume_Whole::Do(), NLMaizeSpring::Do(), DK_Legume_Whole::Do(), DK_OSugarBeet::Do(), DK_OFodderBeet::Do(), FI_Potato_North::Do(), OPotatoes::Do(), FI_StarchPotato_North::Do(), FI_PotatoIndustry_North::Do(), OFodderBeet::Do(), FI_Potato_South::Do(), FI_PotatoIndustry_South::Do(), FI_StarchPotato_South::Do(), DE_OSugarBeet::Do(), NLMaize::Do(), DK_SpringBarley_CC::Do(), SetAside::Do(), SugarBeet::Do(), PotatoesIndustry::Do(), BEWinterBarleyCC::Do(), FodderBeet::Do(), DKOBroadBeans_test::Do(), Potatoes::Do(), NorwegianPotatoes::Do(), BEWinterWheatCC::Do(), DK_WinterRye_CC::Do(), PTSetAside::Do(), NLWinterWheat::Do(), PTCabbage_Hort::Do(), DK_WinterWheat_CC::Do(), DK_Potato::Do(), PTMaize_Hort::Do(), DK_SetAside::Do(), DK_PotatoSeed::Do(), DK_OSetAside_PerennialFlower::Do(), DK_OSetAside::Do(), DK_OSetAside_AnnualFlower::Do(), DK_OSetAside_SummerMow::Do(), DK_PotatoIndustry::Do(), DK_SetAside_SummerMow::Do(), DK_OWinterWheat_CC::Do(), and Landscape::NewElement().
◆ SetVegStore()
void LE::SetVegStore |
( |
int |
a_veg | ) |
|
|
inline |
◆ SetVegType() [1/2]
Reimplemented in VegElement.
Referenced by BroadBeans::Do(), DK_OLegume_Peas_CC::Do(), DK_OLegume_Beans_CC::Do(), DK_SpringOats_CC::Do(), DK_OSpringBarley_CC::Do(), DK_OWinterRye_CC::Do(), DK_OLegume_Whole_CC::Do(), NLMaizeSpring::Do(), BEMaizeCC::Do(), NLMaize::Do(), DK_OSpringOats_CC::Do(), DK_SpringBarley_CC::Do(), BEWinterBarleyCC::Do(), BEWinterWheatCC::Do(), DK_WinterRye_CC::Do(), NLWinterWheat::Do(), DK_WinterWheat_CC::Do(), PTCabbage_Hort::Do(), PTMaize_Hort::Do(), DK_OWinterWheat_CC::Do(), Farm::HandleEvents(), Farm::InitiateManagement(), Landscape::NewElement(), and VegElement::SetVegType().
◆ SetVegType() [2/2]
◆ StoreLAItotal()
virtual void LE::StoreLAItotal |
( |
| ) |
|
|
inlinevirtual |
◆ supplyNecDD()
virtual double LE::supplyNecDD |
( |
| ) |
|
|
inlinevirtual |
◆ supplyPolDD()
virtual double LE::supplyPolDD |
( |
| ) |
|
|
inlinevirtual |
◆ supplySugDD()
virtual double LE::supplySugDD |
( |
| ) |
|
|
inlinevirtual |
◆ ToggleCattleGrazing()
virtual void LE::ToggleCattleGrazing |
( |
void |
| ) |
|
|
inlinevirtual |
◆ ToggleIrrigation()
virtual void LE::ToggleIrrigation |
( |
void |
| ) |
|
|
inlinevirtual |
◆ TogglePigGrazing()
virtual void LE::TogglePigGrazing |
( |
void |
| ) |
|
|
inlinevirtual |
◆ ZeroVeg()
virtual void LE::ZeroVeg |
( |
void |
| ) |
|
|
inlinevirtual |
◆ ZeroVegAge()
◆ m_almass_le_type
This holds the ALMaSS element type reference number.
Referenced by DoCopy().
◆ m_area
◆ m_aspect
◆ m_att_forest
◆ m_att_high
◆ m_att_urbannoveg
bool LE::m_att_urbannoveg |
|
protected |
◆ m_att_userdefinedbool
bool LE::m_att_userdefinedbool |
|
protected |
◆ m_att_userdefinedint
int LE::m_att_userdefinedint |
|
protected |
◆ m_att_water
◆ m_att_woody
◆ m_birdmaizeforage
double LE::m_birdmaizeforage |
|
protected |
◆ m_birdseedforage
double LE::m_birdseedforage |
|
protected |
◆ m_border
◆ m_cattle_grazing
◆ m_centroidx
◆ m_centroidy
◆ m_countrydesignation
int LE::m_countrydesignation |
|
protected |
◆ m_CropType
◆ m_currentOsmiaNests
int LE::m_currentOsmiaNests |
|
protected |
to record the number of actual osmia nests
◆ m_days_since_insecticide_spray
int LE::m_days_since_insecticide_spray |
|
protected |
◆ m_ddegs
◆ m_default_grazing_level
int LE::m_default_grazing_level |
|
protected |
◆ m_dist_to_closest_roost
double LE::m_dist_to_closest_roost[gs_foobar] |
|
protected |
◆ m_elevation
◆ m_farmfunc_tried_to_do
int LE::m_farmfunc_tried_to_do |
|
protected |
◆ m_flowering_day_counter
int LE::m_flowering_day_counter |
|
protected |
◆ m_flowering_phases
vector<int> LE::m_flowering_phases |
|
protected |
◆ m_goosegrazingforage
double LE::m_goosegrazingforage[gs_foobar] |
|
protected |
◆ m_gooseNos
◆ m_gooseNosTimed
int LE::m_gooseNosTimed[366] |
|
protected |
◆ m_gooseSpNos
int LE::m_gooseSpNos[366][gs_foobar] |
|
protected |
◆ m_gooseSpNosTimed
int LE::m_gooseSpNosTimed[366][gs_foobar] |
|
protected |
◆ m_herbicidedelay
◆ m_instubble
A flag describing the state of the field from a visual perspective - will be in stubble following a cereal crop until either soil cultivation or March 1st.
Referenced by GetStubble(), and SetStubble().
◆ m_is_in_map
◆ m_Landscape
◆ m_largeroad_load
double LE::m_largeroad_load |
|
staticprotected |
Initial value:=
{15,9,4,5,14,54,332,381,252,206,204,215,
231,256,335,470,384,270,191,130,91,100,99,60}
Referenced by LargeRoad::GetTrafficLoad().
◆ m_lastindex
unsigned int LE::m_lastindex |
|
protected |
◆ m_lastsownvegtype
◆ m_lasttreat
vector<int> LE::m_lasttreat |
|
protected |
◆ m_management_loop_detect_count
long LE::m_management_loop_detect_count |
|
protected |
◆ m_management_loop_detect_date
long LE::m_management_loop_detect_date |
|
protected |
◆ m_ManagementActionCounts
vector<int> LE::m_ManagementActionCounts |
|
protected |
◆ m_map_index
◆ m_maxOsmiaNests
to record the number of possible osmia nests
◆ m_maxx
◆ m_maxy
◆ m_minx
◆ m_miny
◆ m_monthly_traffic
double LE::m_monthly_traffic |
|
staticprotected |
Initial value:=
{0.9009, 0.9434, 0.9901, 1.0101, 1.0417, 1.0870,
1.0870, 1.0753, 1.0753, 1.0101, 0.9804, 0.9434}
Used for birds that feed on grain on cereal fields 3% spill is expected.
Yield % kg/Ha spill kJ/kg kj/m 0.85 0.01 8.5 13680 11.628 0.85 0.02 17 13680 23.256 0.85 0.03 25.5 13680 34.884 0.85 0.04 34 13680 46.512 0.85 0.05 42.5 13680 58.14 0.85 0.06 51 13680 69.768
Referenced by LargeRoad::GetTrafficLoad(), and SmallRoad::GetTrafficLoad().
◆ m_mowndecay
◆ m_nectar_amount
vector<double> LE::m_nectar_amount |
|
protected |
◆ m_nectarinfo
◆ m_olddays
◆ m_openness
◆ m_OsmiaNestProb
double LE::m_OsmiaNestProb |
|
protected |
to record the chance of osmia nesting
◆ m_OurPollenNectarCurveSet
◆ m_owner
Farm* LE::m_owner {nullptr} |
|
protected |
◆ m_owner_file
◆ m_owner_index
◆ m_owner_tole
◆ m_pdates
◆ m_PesticideGridCell
int LE::m_PesticideGridCell |
|
protected |
◆ m_pig_grazing
◆ m_pindex
◆ m_poison
◆ m_pollen_amount
vector<double> LE::m_pollen_amount |
|
protected |
◆ m_pollen_nectar_curve_index
int LE::m_pollen_nectar_curve_index |
|
protected |
◆ m_polleninfo
◆ m_PollenNectarFlag
bool LE::m_PollenNectarFlag |
|
protected |
◆ m_poly
◆ m_ptrace
◆ m_rot_index
◆ m_running
◆ m_signal_mask
◆ m_skylarkscrapes
bool LE::m_skylarkscrapes |
For management testing of skylark scrapes.
Referenced by SpringBarleySKManagement::Do(), SpringBarleySpr::Do(), FI_OCaraway2::Do(), SpringBarley::Do(), FR_Grassland_Perm::Do(), FI_OSpringBarley_Malt::Do(), FI_OFabaBean::Do(), FI_OCaraway1::Do(), FI_OSpringRape::Do(), FI_OSpringWheat::Do(), FI_OTurnipRape::Do(), FI_OSpringOats::Do(), FR_SpringOats::Do(), FI_OSpringBarley_Fodder::Do(), FI_FeedingGround::Do(), FR_Sorghum::Do(), FI_OWinterRye::Do(), SE_SpringBarley::Do(), FI_OWinterWheat::Do(), FI_SprSpringBarley_Fodder::Do(), SE_WinterRape_Seed::Do(), SE_WinterWheat::Do(), IRSpringBarley::Do(), IRSpringOats::Do(), IRWinterBarley::Do(), IRWinterOats::Do(), IRSpringWheat::Do(), IRWinterWheat::Do(), WinterWheat::Do(), IRGrassland_no_reseed::Do(), IRGrassland_reseed::Do(), DoCopy(), and VegElement::GetSkScrapes().
◆ m_slope
◆ m_smallroad_load
double LE::m_smallroad_load |
|
staticprotected |
Initial value:=
{4,3,1,1,4,15,94,108,71,58,58,61,
65,73,95,133,109,76,54,37,26,28,28,17}
Referenced by SmallRoad::GetTrafficLoad().
◆ m_soiltype
◆ m_spray_ppp_rate
double LE::m_spray_ppp_rate |
|
protected |
◆ m_spray_ppp_type
◆ m_sprayedtoday
◆ m_squares_in_map
◆ m_subtype
◆ m_sugar_amount
vector<double> LE::m_sugar_amount |
|
protected |
◆ m_totalNectar
◆ m_totalPollen
◆ m_tramlinesdecay
◆ m_tried_to_do
◆ m_type
◆ m_unsprayedmarginpolyref
int LE::m_unsprayedmarginpolyref |
|
protected |
◆ m_valid_x
◆ m_valid_y
◆ m_vegage
◆ m_vegddegs
◆ m_vege_danger_store
int LE::m_vege_danger_store |
|
protected |
◆ m_weedddegs
◆ m_yddegs
◆ MConsts
◆ MDates
The documentation for this class was generated from the following files:
Definition: LandscapeFarmingEnums.h:925
int m_pdates[256]
Definition: Elements.h:529
CfgArray_Double cfg_FloweringPeriodPhasesProportionArray
Vector to store the proportions for flowering period phases, for now there are three phases; beginnin...
PlantProtectionProducts m_spray_ppp_type
This is to store the sprayed pesticide type.
Definition: Elements.h:664
double m_area
The element area in m2.
Definition: Elements.h:577
void SetLastSownVeg(TTypesOfVegetation a_tov)
Records the last vegetation type to be sown.
Definition: Elements.h:357
int m_subtype
Definition: Elements.h:548
PollenNectarDevelopmentCurveSet * m_OurPollenNectarCurveSet
pointer to the correct pollen curve set
Definition: Elements.h:660
bool m_att_high
Definition: Elements.h:608
bool m_att_water
Definition: Elements.h:609
double m_slope
Definition: Elements.h:600
void ClearManagementActionSum()
clears the management action counters
Definition: Elements.h:247
TTypesOfCrops m_CropType
Definition: Elements.h:93
long m_running
Definition: Elements.h:533
int m_PesticideGridCell
Definition: Elements.h:544
Definition: LandscapeFarmingEnums.h:183
vector< double > m_sugar_amount
The array to store the sugar quality for each period.
Definition: Elements.h:658
int m_gooseNos[366]
The number of geese each day.
Definition: Elements.h:579
int m_squares_in_map
Definition: Elements.h:92
bool m_att_urbannoveg
Definition: Elements.h:612
PollenNectarData m_nectarinfo
Definition: Elements.h:644
int m_pindex
Definition: Elements.h:530
vector< double > m_nectar_amount
The array to store the nectar amount for each period.
Definition: Elements.h:654
double m_elevation
Elevation data.
Definition: Elements.h:599
class Calendar * g_date
Definition: Calendar.cpp:37
double m_totalNectar
Definition: Elements.h:646
int m_openness
The openness metric for a field (if any)
Definition: Elements.h:597
int m_maxy
Definition: Elements.h:551
int m_soiltype
Definition: Elements.h:605
int MDates[2][25]
Definition: Elements.h:633
int m_valid_y
Definition: Elements.h:540
double GetMaxDDeg()
Returns the maximum day degrees that one day can have.
Definition: PollenNectar.h:143
int m_maxx
Definition: Elements.h:549
double m_total_sugar_whole_flowering
The total amount of sugar in the whole flowering period –mg.
Definition: PollenNectar.h:73
Definition: LandscapeFarmingEnums.h:1013
bool m_att_forest
Definition: Elements.h:610
int m_minx
Definition: Elements.h:550
class PollenNectarDevelopmentData * g_nectarpollen
Definition: Plants.cpp:41
bool m_att_woody
Definition: Elements.h:611
int m_herbicidedelay
Definition: Elements.h:573
bool m_poison
Definition: Elements.h:618
bool m_PollenNectarFlag
Records whether there is any pollen possibility here or not.
Definition: Elements.h:662
int m_centroidx
Definition: Elements.h:541
double m_quantity
Definition: PollenNectar.h:167
double m_birdmaizeforage
The maize forage present in seeds/m2.
Definition: Elements.h:591
long m_management_loop_detect_date
Definition: Elements.h:554
double m_total_pollen_whole_flowering
The total amount of pollen in the whole flowering period –mg.
Definition: PollenNectar.h:75
unsigned int m_lastindex
Definition: Elements.h:628
CfgArray_Double cfg_FloweringPeriodPhasesLengthArray
Vector to store the length proportion for flowering period phases.
int m_valid_x
Definition: Elements.h:539
double m_weedddegs
Definition: Elements.h:624
int m_vegage
Definition: Elements.h:604
int m_almass_le_type
This holds the ALMaSS element type reference number.
Definition: Elements.h:569
vector< int > m_lasttreat
Definition: Elements.h:627
double m_birdseedforage
The grain forage present in seeds/m2.
Definition: Elements.h:589
int m_default_grazing_level
Definition: Elements.h:620
bool m_pig_grazing
Definition: Elements.h:621
bool m_skylarkscrapes
For management testing of skylark scrapes.
Definition: Elements.h:95
TTypesOfLandscapeElement m_owner_tole
Definition: Elements.h:575
A simple class defining an x,y coordinate set.
Definition: ALMaSS_Setup.h:52
bool m_flag_not_enough_data
Flag to show not enough data is available, so this curve can't be used.
Definition: PollenNectar.h:51
double GetThreshold()
Returns the day degrees temperature threshold.
Definition: PollenNectar.h:141
long m_olddays
Definition: Elements.h:553
double m_goosegrazingforage[gs_foobar]
The grazing forage present in KJ/min. The last value indicates cereal 1 or not -1.
Definition: Elements.h:593
double m_aspect
Definition: Elements.h:601
int m_map_index
Definition: Elements.h:567
Definition: LandscapeFarmingEnums.h:1089
int m_miny
Definition: Elements.h:552
Landscape * m_Landscape
Definition: Elements.h:524
vector< int > m_flowering_phases
The array to store the day numbers of for turning point of flower resource.
Definition: Elements.h:652
TTypesOfVegetation m_lastsownvegtype
Records the last vegegetation type that was sown on the element.
Definition: Elements.h:595
int GetRotIndex(void)
Definition: Elements.h:373
int m_att_userdefinedint
a userdefined attribute which can be set by a species model without changing other standard values
Definition: Elements.h:616
virtual void Set_Att_VegPatchy(bool)
Definition: Elements.h:216
double m_yddegs
Definition: Elements.h:623
int m_x
Definition: ALMaSS_Setup.h:55
int get_array_size()
Definition: Configurator.h:222
int m_gooseSpNos[366][gs_foobar]
The number of geese of each species each day.
Definition: Elements.h:581
int m_days_since_insecticide_spray
Definition: Elements.h:606
int value() const
Definition: Configurator.h:116
int m_farmfunc_tried_to_do
Definition: Elements.h:570
std::vector< double > value() const
Definition: Configurator.h:219
int MConsts[10]
Definition: Elements.h:634
int m_countrydesignation
Definition: Elements.h:557
PollenNectarDevelopmentCurveSet * tovGetPollenNectarCurve(TTypesOfVegetation a_tov_ref)
Definition: PollenNectar.h:204
Definition: LandscapeFarmingEnums.h:610
int m_owner_index
Definition: Elements.h:559
double m_totalPollen
Definition: Elements.h:645
vector< int > m_ManagementActionCounts
Definition: Elements.h:525
void SetStubble(bool a_flag)
Sets the in stubble flag.
Definition: Elements.h:462
virtual void PollenNectarReset()
Definition: Elements.h:512
CfgInt cfg_goosecountperiod("GOOSE_GOOSECOUNTPERIOD", CFG_CUSTOM, 1)
The number of days a goose count can be used.
LE * m_border
Definition: Elements.h:534
double m_total_nectar_whole_flowering
The total amount of nectar in the whole flowering period –mg.
Definition: PollenNectar.h:71
int m_tramlinesdecay
Definition: Elements.h:571
class Weather * g_weather
Definition: Weather.cpp:49
int m_cattle_grazing
Definition: Elements.h:619
int m_flowering_day_counter
The day counter to enter the flowering period.
Definition: Elements.h:650
void SetLastTreatment(int a_treatment)
Definition: Elements.cpp:1048
int m_owner_file
Definition: Elements.h:558
double m_ddegs
Definition: Elements.h:625
int m_centroidy
Definition: Elements.h:542
virtual void CalculateFlowerResourceForCrop(TTypesOfVegetation a_new_veg)
The function to calculate flower resource for the crop in a year.
Definition: Elements.cpp:1207
int m_gooseNosTimed[366]
The number of geese at a predefined time per day.
Definition: Elements.h:583
double m_spray_ppp_rate
This is to store the sprayed pesticide rate.
Definition: Elements.h:666
Farm * m_owner
Definition: Elements.h:556
int m_pollen_nectar_curve_index
Variable to record the pollen and nectar curve number.
Definition: Elements.h:648
double m_vegddegs
Definition: Elements.h:622
double GetEndingDDFlowering(void)
Returns the ending dd of flowering period.
Definition: PollenNectar.h:149
double m_quality
Definition: PollenNectar.h:168
int m_gooseSpNosTimed[366][gs_foobar]
The number of geese of each species at a predefined time per day.
Definition: Elements.h:585
int DayInYear(void)
Definition: Calendar.h:58
bool tovGetPollenNectarCurveSowingFlag(TTypesOfVegetation a_tov_ref)
Definition: PollenNectar.h:221
vector< double > m_pollen_amount
The array to store the pollen amount for each period.
Definition: Elements.h:656
double GetTempAfterDays(int days)
Get the temperature at the given number of days which is the number of days after today.
Definition: Weather.h:484
bool m_sprayedtoday
flag to indicate an overspray situation
Definition: Elements.h:562
bool m_att_userdefinedbool
a userdefined attribute which can be set by a species model without changing other standard values
Definition: Elements.h:614
double m_dist_to_closest_roost[gs_foobar]
An array holding the distance to the nearest goose roost.
Definition: Elements.h:603
int tovGetPollenNectarCurveRef(TTypesOfVegetation a_tov_ref)
Definition: PollenNectar.h:213
int m_rot_index
Definition: Elements.h:560
void SetMConstants(int a, int c)
Definition: Elements.h:408
int m_poly
The polyref number for this polygon.
Definition: Elements.h:564
LE_Signal m_signal_mask
Definition: Elements.h:635
int m_ptrace[256]
Definition: Elements.h:528
double GetStartingDDFlowering(void)
Returns the staring dd of flowering period.
Definition: PollenNectar.h:147
int m_vege_danger_store
Definition: Elements.h:543
int m_mowndecay
Definition: Elements.h:572
Definition: LandscapeFarmingEnums.h:195
bool m_instubble
A flag describing the state of the field from a visual perspective - will be in stubble following a c...
Definition: Elements.h:587
PollenNectarData m_polleninfo
Definition: Elements.h:643
int m_y
Definition: ALMaSS_Setup.h:56
int m_unsprayedmarginpolyref
Definition: Elements.h:535
long m_management_loop_detect_count
Definition: Elements.h:555
Definition: Treatment.h:33
bool m_is_in_map
Definition: Elements.h:546
void IncTreatCounter(int a_treat)
Records that a farm treatment of the type specified has occurred.
Definition: Landscape.cpp:5646
TTypesOfLandscapeElement m_type
Definition: Elements.h:574