|
void | Tick (void) override |
| Overides the veg element version to skip pollen and nectar reset on Jan 1st. More...
|
|
| Field (Landscape *L) |
|
virtual void | DoDevelopment (void) |
|
TTypesOfVegetation | GetPreviousTov (int a_index) |
|
virtual TTypesOfCrops | GetCropType () |
|
int | GetAphidDensity () |
|
void | SetVegGrowthScalerRand () |
|
| VegElement (TTypesOfLandscapeElement tole, Landscape *L) |
|
virtual | ~VegElement (void) |
|
virtual double | GetDigestibility (void) |
|
virtual double | GetLAGreen (void) |
|
virtual double | GetLATotal (void) |
|
virtual bool | GetIsVeg (void) |
|
virtual double | GetVegCover (void) |
|
virtual double | GetVegHeight (void) |
|
virtual double | GetVegBiomass (void) |
|
virtual double | GetDeadBiomass (void) |
|
virtual double | GetGreenBiomass (void) |
|
virtual double | GetInterestedGreenBiomass (void) |
|
virtual double | GetGreenBiomassProp (void) |
|
virtual double | GetWeedBiomass (void) |
|
virtual int | GetVegDensity (void) |
|
virtual bool | GetSkScrapes (void) |
|
void | Tick (void) override |
|
virtual double | GetInsectPop (void) |
|
virtual void | SetInsectPop (double insects) |
|
virtual TTypesOfVegetation | GetVegType (void) |
|
virtual void | SetCropType (TTypesOfCrops a_type) |
|
void | SetInsectBiomassParametersIndex (TTypesOfCrops a_type) |
|
void | SetInterestedBiomassFractionForCrop (TTypesOfCrops a_crop_type) |
|
virtual void | Insecticide (double a_fraction) |
|
virtual bool | Is_Att_Veg (void) |
|
virtual void | Set_Att_Veg (bool p) |
|
virtual bool | Is_Att_VegPatchy (void) |
|
virtual void | Set_Att_VegPatchy (bool p) |
|
virtual bool | Is_Att_VegCereal () |
|
virtual void | Set_Att_VegCereal (bool p) |
|
virtual bool | Is_Att_VegMatureCereal () |
|
virtual void | Set_Att_VegMatureCereal (bool p) |
|
virtual bool | Is_Att_VegMaize () |
|
virtual void | Set_Att_VegMaize (bool p) |
|
virtual bool | Is_Att_VegGrass () |
|
virtual void | Set_Att_VegGrass (bool p) |
|
virtual bool | Is_Att_VegGooseGrass () |
|
virtual void | Set_Att_VegGooseGrass (bool p) |
|
bool | IsMatureCereal () |
|
bool | IsMaize () |
|
bool | IsCereal () |
|
bool | IsGooseGrass () |
|
void | SetVegPatchy (bool p) |
|
virtual void | InsectMortality (double a_fraction) |
|
virtual void | ReduceWeedBiomass (double a_fraction) |
|
virtual void | ToggleCattleGrazing (void) |
|
virtual void | TogglePigGrazing (void) |
|
virtual void | GrazeVegetation (double a_grams, bool a_force) |
|
virtual void | GrazeVegetationHeight (double a_reduc) |
|
virtual void | GrazeVegetationTotal (double a_grams) |
| The function that reduces the vegetation due to grazing. More...
|
|
virtual void | SetVegType (TTypesOfVegetation a_vege_type) |
|
virtual void | SetVegType (TTypesOfVegetation a_vege_type, TTypesOfVegetation a_weed_type) |
|
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 | SetVegHeight (double a_veg_height) |
|
virtual void | SetDigestibility (double a_digestability) |
|
virtual void | SetGrazingLevel (int a_grazing) |
|
virtual void | SetVegParameters (double a_veg_height, double a_LAtotal, double a_LAgreen, double a_WeedBiomass) |
|
virtual void | SetGrowthPhase (int a_phase) |
|
virtual void | StoreLAItotal () |
|
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 a_reduc) |
|
virtual void | ReduceVeg_Extended (double a_reduc) |
|
virtual void | ResetDigestibility () |
| sets growth record to zero More...
|
|
virtual int | GetVegPhase () |
|
virtual void | SetSpeciesFunction (TTypesOfPopulation a_species) |
| Sets the correct species simulation behaviour for the current species. More...
|
|
void | SetInterestedBiomassFraction (double a_interested_biomass_fraction) |
| Function to set the instrested biomass fraction. More...
|
|
| LE (Landscape *L) |
|
virtual | ~LE (void) |
|
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 double | GetVegGrowthStage (void) |
|
virtual APoint | GetCentroid () |
|
virtual int | GetCentroidX () |
|
virtual int | GetCentroidY () |
|
virtual void | SetCentroid (int x, int y) |
|
virtual double | GetDayDegrees (void) |
|
virtual void | ToggleIrrigation (void) |
|
virtual void | SetVegBiomass (int) |
|
virtual void | GrazeVeg_Extended (double) |
|
virtual double | GetTrafficLoad (void) |
|
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) |
|
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) |
|
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) |
|
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) |
|
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 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...
|
|