![]() |
ALMaSS
1.2 (after EcoStack, March 2024)
The Animal, Landscape and Man Simulation System
|
The base class for all farm types. More...
#include <Farm.h>
Public Member Functions | |
virtual void | FarmActions (void) |
FarmActions() will use the global date to manage all queued field events. More... | |
bool | FarmerActions (void) |
The starting point for farmer behaviour not part of crop management e.g. decision making. More... | |
virtual void | InitiateManagement (void) |
Kicks off the farm's management. More... | |
void | AddField (LE *a_newfield) |
Adds a field to a farm. More... | |
void | RemoveField (LE *a_field) |
Removes a field from a farm. More... | |
Farm (FarmManager *a_manager) | |
Farm constructor - creates an instance of each possible crop type. More... | |
virtual | ~Farm (void) |
Farm destructor - deletes all crop instances and empties event queues. More... | |
void | SetFarmNumber (int a_farm_num) |
int | GetFarmNumber (void) |
virtual bool | Spraying_herbicides (TTypesOfVegetation) |
virtual bool | Spraying_fungins (TTypesOfVegetation) |
virtual double | Prob_multiplier () |
void | Assign_rotation (vector< TTypesOfVegetation >a_new_rotation) |
FarmManager * | GetFarmManager () |
virtual void | Harvested (TTypesOfCrops a_toc, double a_yield) |
Records harvest results. More... | |
virtual void | Insecticide (int a_area) |
Records the costs of insecticide treatment, and associated score changes. More... | |
virtual void | Herbicide (int a_area) |
Records the costs of herbicide treatment, and associated score change. More... | |
TTypesOfFarm | GetFarmType () |
Returns the farm type. More... | |
polylist * | ListOpenFields (int a_openness) |
Returns a list of fields with openness above a_openness. More... | |
void | Centroids () |
Finds farm's centroids - x and y. More... | |
int | GetNoFields () |
Returns the number of the fields owned. More... | |
int | GetNoOpenFields (int a_openness) |
Returns the number of the fields above an openness of a_openness. More... | |
int | GetAreaOpenFields (int a_openness) |
Returns the area of the fields above an openness of a_openness. More... | |
APoint | GetValidCoords () |
Returns the valid coordinates of the first field owned by a farm. More... | |
int | GetMaxOpenness () |
Returns the maximum openness score of the fields. More... | |
Farmer * | GetFarmer () |
Returns the pointer to this farm's farmer. More... | |
LE * | SetFunctionData (LE *, double, double, int, FarmToDo) |
carries out standard setting of data and deals with possible unsprayed margins, returns a pointer to UM or nullptr More... | |
void | SetFunctionDataNoUM (LE *, double, double, int, FarmToDo) |
carries out standard setting of data when UMs should be ignored More... | |
virtual bool | SleepAllDay (LE *a_field, double a_user, int a_days) |
Nothing to to today on a_field. More... | |
virtual bool | AutumnPlough (LE *a_field, double a_user, int a_days) |
Carry out a ploughing event in the autumn on a_field. More... | |
void | CalculateTreatmentCosts (FarmToDo a_treatment, LE *a_field) |
virtual bool | StubblePlough (LE *a_field, double a_user, int a_days) |
Carry out a stubble ploughing event on a_field. This is similar to normal plough but shallow (normally 6-8cm, is special cases up to 12-15cm). Done as a part of after-harvest treatments (instead of stubble cultivation) More... | |
virtual bool | StubbleCultivatorHeavy (LE *a_field, double a_user, int a_days) |
Carry out a stubble cultivation event on a_field. This is non-inversion type of cultivation which can be done instead of autumn plough (on a depth up to 40 cm even, if necessary) More... | |
virtual bool | AutumnHarrow (LE *a_field, double a_user, int a_days) |
Carry out a harrow event in the autumn on a_field. More... | |
virtual bool | AutumnRoll (LE *a_field, double a_user, int a_days) |
Carry out a roll event in the autumn on a_field. More... | |
virtual bool | PreseedingCultivator (LE *a_field, double a_user, int a_days) |
Carry out preseeding cultivation on a_field (tilling set including cultivator and string roller to compact soil) More... | |
virtual bool | PreseedingCultivatorSow (LE *a_field, double a_user, int a_days, double a_seed_coating_amount=-1, PlantProtectionProducts a_ppp=ppp_foobar) |
Carry out preseeding cultivation together with sow on a_field (tilling and sowing set including cultivator and string roller to compact soil) More... | |
virtual bool | AutumnSow (LE *a_field, double a_user, int a_days, double a_seed_coating_amount=-1, PlantProtectionProducts a_ppp=ppp_foobar) |
Carry out a sowing event in the autumn on a_field. More... | |
virtual bool | WinterPlough (LE *a_field, double a_user, int a_days) |
Carry out a ploughing event in the winter on a_field. More... | |
virtual bool | WinterHarrow (LE *a_field, double a_user, int a_days) |
Carry out a harrow event in the winter on a_field. More... | |
virtual bool | DeepPlough (LE *a_field, double a_user, int a_days) |
Carry out a deep ploughing event on a_field. More... | |
virtual bool | SpringPlough (LE *a_field, double a_user, int a_days) |
Carry out a ploughing event in the spring on a_field. More... | |
virtual bool | SpringHarrow (LE *a_field, double a_user, int a_days) |
Carry out a harrow event in the spring on a_field. More... | |
virtual bool | SpringRoll (LE *a_field, double a_user, int a_days) |
Carry out a roll event in the spring on a_field. More... | |
virtual bool | SpringSow (LE *a_field, double a_user, int a_days, double a_seed_coating_amount=-1, PlantProtectionProducts a_ppp=ppp_foobar) |
Carry out a sowing event in the spring on a_field. More... | |
virtual bool | SpringSowWithFerti (LE *a_field, double a_user, int a_days, double a_seed_coating_amount=-1, PlantProtectionProducts a_ppp=ppp_foobar) |
Carry out a sowing event with start fertilizer in the spring on a_field. More... | |
virtual bool | AutumnSowWithFerti (LE *a_field, double a_user, int a_days, double a_seed_coating_amount=-1, PlantProtectionProducts a_ppp=ppp_foobar) |
Carry out a sowing event with start fertilizer in the autumn on a_field. More... | |
virtual bool | HerbicideTreat (LE *a_field, double a_user, int a_days) |
Apply herbicide to a_field. More... | |
virtual bool | GrowthRegulator (LE *a_field, double a_user, int a_days) |
Apply growth regulator to a_field. More... | |
virtual bool | FungicideTreat (LE *a_field, double a_user, int a_days) |
Apply fungicide to a_field. More... | |
virtual bool | InsecticideTreat (LE *a_field, double a_user, int a_days) |
Apply insecticide to a_field. More... | |
virtual bool | BiocideTreat (LE *a_field, double a_user, int a_days) |
Apply Biocide to a_field. More... | |
virtual bool | OrganicInsecticide (LE *a_field, double a_user, int a_days) |
Biocide applied on a_field. More... | |
virtual bool | OrganicHerbicide (LE *a_field, double a_user, int a_days) |
Biocide applied on a_field. More... | |
virtual bool | OrganicFungicide (LE *a_field, double a_user, int a_days) |
Biocide applied on a_field. More... | |
virtual bool | Pheromone (LE *a_field, double a_user, int a_days) |
Pheromone applied on a_field - same as with org. pesticides for now. More... | |
virtual bool | ProductApplication (LE *a_field, double a_user, int a_days, double a_applicationrate, PlantProtectionProducts a_ppp, bool a_isgranularpesticide=false, int a_orcharddrifttype=0) |
Apply test pesticide to a_field. More... | |
virtual bool | ProductApplication_DateLimited (LE *a_field, double, int, double a_applicationrate, PlantProtectionProducts a_ppp, bool a_isgranularpesticide=false) |
Special pesticide trial functionality. More... | |
virtual bool | Molluscicide (LE *a_field, double a_user, int a_days) |
Apply molluscicide to a_field. More... | |
virtual bool | RowCultivation (LE *a_field, double a_user, int a_days) |
Carry out a harrowing between crop rows on a_field. More... | |
virtual bool | Strigling (LE *a_field, double a_user, int a_days) |
Carry out a mechanical weeding on a_field. More... | |
virtual bool | StriglingSow (LE *a_field, double a_user, int a_days, double a_seed_coating_amount=-1, PlantProtectionProducts a_ppp=ppp_foobar) |
Carry out a mechanical weeding followed by sowing on a_field. More... | |
virtual bool | StriglingHill (LE *a_field, double a_user, int a_days) |
Carry out a mechanical weeding on a_field followed by hilling up (probably on potatoes) More... | |
virtual bool | HillingUp (LE *a_field, double a_user, int a_days) |
Do hilling up on a_field, probably of potatoes. More... | |
virtual bool | Water (LE *a_field, double a_user, int a_days) |
Carry out a watering on a_field. More... | |
virtual bool | Swathing (LE *a_field, double a_user, int a_days) |
Cut the crop on a_field and leave it lying (probably rape) More... | |
virtual bool | Harvest (LE *a_field, double a_user, int a_days) |
Carry out a harvest on a_field. More... | |
virtual bool | HarvestLong (LE *a_field, double a_user, int a_days) |
Carry out a harvest on a_field (only differs in the DoIt chance cf harvest) More... | |
virtual bool | HarvestBushFruit (LE *a_field, double a_user, int a_days) |
Harvest bush fruit on a_field - no tramlines since fruits are picked by hand, the bush stays on field with same vegetation height, thus suspects same % insects. More... | |
virtual bool | HarvestBF_Machine (LE *a_field, double a_user, int a_days) |
Harvest bush fruit on a_field - tramlines since fruits are picked by machine, the bush stays on field with same vegetation height, thus suspects same % insects. More... | |
virtual bool | CattleOut (LE *a_field, double a_user, int a_days) |
Start a grazing event on a_field today. More... | |
virtual bool | CattleOut (LE *a_field, double a_user, int a_days, bool a_should_eat) |
Start an intensive grazing event on a_field today. More... | |
virtual bool | CattleOutLowGrazing (LE *a_field, double a_user, int a_days) |
Start a extensive grazing event on a_field today. More... | |
virtual bool | CattleIsOut (LE *a_field, double a_user, int a_days, int a_max) |
Generate a 'cattle_out' event for every day the cattle are on a_field. More... | |
virtual bool | CattleIsOut (LE *a_field, double a_user, int a_days, int a_max, bool a_should_eat) |
Generate a 'cattle_out' event for every day the cattle are on a_field. More... | |
virtual bool | CattleIsOutLow (LE *a_field, double a_user, int a_days, int a_max) |
Generate a 'cattle_out_low' event for every day the cattle are on a_field. More... | |
virtual bool | CattleIsOutLow2 (LE *a_field, double a_user, int a_days, int a_max, int a_max_days) |
Generate a 'cattle_out_low2' event for every day the cattle are on a_field, cattle is low grazing and can stay on the field till a_max date but no more days than defined by a_max_days a_days defines the number of days from the day the cattle is put on the field (set by a flag in the management plan) More... | |
virtual bool | PigsOut (LE *a_field, double a_user, int a_days) |
Generate a 'pigs_out' event for every day the cattle are on a_field. More... | |
virtual bool | PigsAreOut (LE *a_field, double a_user, int a_days) |
Start a pig grazing event on a_field today or soon. More... | |
virtual bool | PigsAreOutForced (LE *a_field, double a_user, int a_days) |
Start a pig grazing event on a_field today - no exceptions. More... | |
virtual bool | CutToHay (LE *a_field, double a_user, int a_days) |
Carry out hay cutting on a_field. More... | |
virtual bool | CutWeeds (LE *a_field, double a_user, int a_days) |
Carry out weed topping on a_field. More... | |
virtual bool | CutToSilage (LE *a_field, double a_user, int a_days) |
Cut vegetation for silage on a_field. More... | |
virtual bool | CutOrch (LE *a_field, double a_user, int a_days) |
Cut vegetation on orchard crop. //based on cut to silage - values from cutting function of orchard. More... | |
virtual bool | StrawChopping (LE *a_field, double a_user, int a_days) |
Carry out straw chopping on a_field. More... | |
virtual bool | HayTurning (LE *a_field, double a_user, int a_days) |
Carry out hay turning on a_field. More... | |
virtual bool | HayBailing (LE *a_field, double a_user, int a_days) |
Carry out hay bailing on a_field. More... | |
virtual bool | BurnStrawStubble (LE *a_field, double a_user, int a_days) |
Burn stubble on a_field. More... | |
virtual bool | BurnTop (LE *a_field, double a_user, int a_days) |
Burn tops of e.g. potatoes on a_field. More... | |
virtual bool | StubbleHarrowing (LE *a_field, double a_user, int a_days) |
Carry out stubble harrowing on a_field. More... | |
virtual bool | FP_NPKS (LE *a_field, double a_user, int a_days) |
Apply NPKS fertilizer, on a_field owned by an arable farmer. More... | |
virtual bool | FP_NPK (LE *a_field, double a_user, int a_days) |
Apply NPK fertilizer, on a_field owned by an arable farmer. More... | |
virtual bool | FP_NC (LE *a_field, double a_user, int a_days) |
Apply NC fertilizer, on a_field owned by an arable farmer. More... | |
virtual bool | FP_NK (LE *a_field, double a_user, int a_days) |
Apply NK fertilizer, on a_field owned by an arable farmer. More... | |
virtual bool | FP_NS (LE *a_field, double a_user, int a_days) |
Apply NS fertilizer, on a_field owned by an arable farmer. More... | |
virtual bool | FP_N (LE *a_field, double a_user, int a_days) |
Apply N fertilizer, on a_field owned by an arable farmer. More... | |
virtual bool | FP_PK (LE *a_field, double a_user, int a_days) |
Apply PK fertilizer, on a_field owned by an arable farmer. More... | |
virtual bool | FP_P (LE *a_field, double a_user, int a_days) |
Apply P fertilizer, on a_field owned by an arable farmer. More... | |
virtual bool | FP_K (LE *a_field, double a_user, int a_days) |
Apply K fertilizer, on a_field owned by an arable farmer. More... | |
virtual bool | FP_SK (LE *a_field, double a_user, int a_days) |
Apply SK fertilizer, on a_field owned by an arable farmer. More... | |
virtual bool | FP_LiquidNH3 (LE *a_field, double a_user, int a_days) |
Apply liquid ammonia fertilizer to a_field owned by an arable farmer. More... | |
virtual bool | FP_Slurry (LE *a_field, double a_user, int a_days) |
Apply slurry to a_field owned by an arable farmer. More... | |
virtual bool | FP_ManganeseSulphate (LE *a_field, double a_user, int a_days) |
Apply Manganse Sulphate to a_field owned by an arable farmer. More... | |
virtual bool | FP_Boron (LE *a_field, double a_user, int a_days) |
Apply soluble Boron to a_field owned by an arable farmer. More... | |
virtual bool | FP_AmmoniumSulphate (LE *a_field, double a_user, int a_days) |
Apply Ammonium Sulphate to a_field owned by an arable farmer. More... | |
virtual bool | FP_Manure (LE *a_field, double a_user, int a_days) |
Spread manure on a_field owned by an arable farmer. More... | |
virtual bool | FP_GreenManure (LE *a_field, double a_user, int a_days) |
Spread green manure on a_field owned by an arable farmer. More... | |
virtual bool | FP_Sludge (LE *a_field, double a_user, int a_days) |
Spread sewege on a_field owned by an arable farmer. More... | |
virtual bool | FP_RSM (LE *a_field, double a_user, int a_days) |
RSM (ammonium nitrate solution) applied on a_field owned by an arable farmer. More... | |
virtual bool | FP_Calcium (LE *a_field, double a_user, int a_days) |
Calcium applied on a_field owned by an arable farmer. More... | |
virtual bool | FA_NK (LE *a_field, double a_user, int a_days) |
Apply NK fertilizer, on a_field owned by an stock farmer. More... | |
virtual bool | FA_NPKS (LE *a_field, double a_user, int a_days) |
Apply NPKS fertilizer, on a_field owned by a stock farmer. More... | |
virtual bool | FA_NPK (LE *a_field, double a_user, int a_days) |
Apply NPK fertilizer to a_field owned by an stock farmer. More... | |
virtual bool | FA_PK (LE *a_field, double a_user, int a_days) |
Apply PK fertilizer to a_field owned by an stock farmer. More... | |
virtual bool | FA_P (LE *a_field, double a_user, int a_days) |
Apply P fertilizer, on a_field owned by stock farmer. More... | |
virtual bool | FA_K (LE *a_field, double a_user, int a_days) |
Apply K fertilizer, on a_field owned by stock farmer. More... | |
virtual bool | FA_SK (LE *a_field, double a_user, int a_days) |
Apply SK fertilizer, on a_field owned by an stock farmer. More... | |
virtual bool | FA_Slurry (LE *a_field, double a_user, int a_days) |
Spready slurry on a_field owned by an stock farmer. More... | |
virtual bool | FA_ManganeseSulphate (LE *a_field, double a_user, int a_days) |
Apply manganese sulphate to a_field owned by an stock farmer. More... | |
virtual bool | FA_AmmoniumSulphate (LE *a_field, double a_user, int a_days) |
Apply ammonium sulphate to a_field owned by an stock farmer. More... | |
virtual bool | FA_Manure (LE *a_field, double a_user, int a_days) |
Spread manure on a_field owned by an stock farmer. More... | |
virtual bool | FA_GreenManure (LE *a_field, double a_user, int a_days) |
Spread green manure on a_field owned by an stock farmer. More... | |
virtual bool | FA_Sludge (LE *a_field, double a_user, int a_days) |
Spread sewege sludge on a_field owned by an stock farmer. More... | |
virtual bool | FA_RSM (LE *a_field, double a_user, int a_days) |
RSM (ammonium nitrate solution) applied on a_field owned by a stock farmer. More... | |
virtual bool | FA_Calcium (LE *a_field, double a_user, int a_days) |
Calcium applied on a_field owned by a stock farmer. More... | |
virtual bool | BedForming (LE *a_field, double a_user, int a_days) |
Do bed forming up on a_field, probably of carrots. More... | |
virtual bool | ShallowHarrow (LE *a_field, double a_user, int a_days) |
Carry out a shallow harrow event on a_field, e.g., after grass cutting event. More... | |
virtual bool | HeavyCultivatorAggregate (LE *a_field, double a_user, int a_days) |
Carry out a heavy cultivation event on a_field. This is non-inversion type of cultivation which can be done after fertilizers application on spring for a spring crop. More... | |
virtual bool | FlowerCutting (LE *a_field, double a_user, int a_days) |
Flower cutting applied on a_field. More... | |
virtual bool | BulbHarvest (LE *a_field, double a_user, int a_days) |
Carry out a bulb harvest on a_field. More... | |
virtual bool | StrawCovering (LE *a_field, double a_user, int a_days) |
Straw covering applied on a_field. More... | |
virtual bool | StrawRemoval (LE *a_field, double a_user, int a_days) |
Straw covering applied on a_field. More... | |
virtual bool | IrrigationStart (LE *a_field, double a_user, int a_days) |
Start a irrigation event on a_field today. More... | |
virtual bool | Irrigation (LE *a_field, double a_user, int a_days, int a_max) |
Generate an 'irrigation' event with a frequency defined by a_freq in the irrigation period on a_field. More... | |
virtual bool | Pruning (LE *a_field, double a_user, int a_days) |
Pruning applied on a_field - details needs to be added (e.g., impact on biomass, influence/impacts in species code)! More... | |
virtual bool | Shredding (LE *a_field, double a_user, int a_days) |
Shredding (destruction of the pruning residues with a shredders using hammer mower) applied on a_field. More... | |
virtual bool | LeafThinning (LE *a_field, double a_user, int a_days) |
LeafThinning (leaf removal to increase areation and sun exposure of fruits, e.g., grapes) applied on a_field. More... | |
virtual bool | GreenHarvest (LE *a_field, double a_user, int a_days) |
GreenHarvest (remove of excess production that may affect the desired quality of the fruits, e.g., grapes) applied on a_field. More... | |
virtual bool | FruitHarvest (LE *a_field, double a_user, int a_days) |
FruitHarvest (harvest of the mature fruits, e.g., grapes) applied on a_field. More... | |
virtual bool | Suckering (LE *a_field, double a_user, int a_days) |
virtual bool | Mowing (LE *a_field, double a_user, int a_days) |
Physical/mechanical weed control in the between-row area using a rotary mower cutter. More... | |
virtual bool | FiberCovering (LE *a_field, double a_user, int a_days) |
Fiber covering applied on a_field. More... | |
virtual bool | FiberRemoval (LE *a_field, double a_user, int a_days) |
Fiber covering removed from a_field. More... | |
virtual bool | FP_Cu (LE *a_field, double a_user, int a_days) |
Apply Cu fertilizer, on a_field owned by plant farmer (orchard) More... | |
virtual bool | FA_N (LE *a_field, double a_user, int a_days) |
Apply N fertilizer, on a_field owned by a stock farmer. More... | |
virtual bool | FA_Cu (LE *a_field, double a_user, int a_days) |
Apply Cu fertilizer, on a_field owned by stock farmer (orchard) More... | |
virtual bool | FA_Boron (LE *a_field, double a_user, int a_days) |
Apply soluble Boron to a_field owned by a stock farmer. More... | |
virtual bool | FA_PKS (LE *a_field, double a_user, int a_days) |
Apply PKS fertilizer to a_field owned by an stock farmer. More... | |
virtual bool | FP_PKS (LE *a_field, double a_user, int a_days) |
Apply PKS fertilizer to a_field owned by an arable farmer. More... | |
virtual bool | HarvestShoots (LE *a_field, double a_user, int a_days) |
HarvestShoots applied on a_field (e.g. asparagus) - details needs to be added (e.g., impact on biomass, influence/impacts in species code)! More... | |
virtual bool | ManualWeeding (LE *a_field, double a_user, int a_days) |
Manual weeding on a_field - no tramlines since weeding by hand, the bush stays on field with same vegetation height, thus suspects same % insects. More... | |
void | AddNewEvent (TTypesOfVegetation a_event, long a_date, LE *a_field, int a_todo, long a_num, bool a_lock, int a_start, bool a_first_year, TTypesOfVegetation a_crop, FarmManagementCategory a_fmc, bool a_forcespring, bool a_forcespringOK) |
Adds an event to the event queue for a farm. More... | |
bool | DoIt (double a_probability) |
Return chance out of 0 to 100. More... | |
bool | DoIt_prob (double a_probability) |
Return chance out of 0 to 1. More... | |
TTypesOfFarm | GetType (void) |
string | GetRotFilename (void) |
int | GetArea (void) |
Returns the area of arable fields owned by that farm. More... | |
int | GetTotalArea (void) |
Returns the area of all fields owned by that farm. More... | |
double | GetAreaDouble (void) |
Returns the area of arable fields owned by that farm. More... | |
bool | IsStockFarmer (void) |
virtual void | MakeStockFarmer (void) |
double | GetIntensity (void) |
void | SetIntensity (double a_intensity) |
APoint | GetCentroids () |
TTypesOfVegetation | GetPreviousTov (int a_index) |
TTypesOfVegetation | GetCrop (int a_index) |
TTypesOfVegetation | GetNextCrop (int a_index) |
int | GetNoCrops () |
void | AddHunter (Hunter *a_hunter) |
void | RemoveHunter (Hunter *a_hunter) |
int | GetNextCropStartDate (LE *a_field, TTypesOfVegetation &a_curr_veg) |
Returns the start date of the next crop in the rotation. More... | |
Public Attributes | |
string | m_rotfilename |
Protected Member Functions | |
int | GetFirstDate (TTypesOfVegetation a_tov) |
Gets the start date for a crop type. More... | |
int | GetForceSpringOK (TTypesOfVegetation a_tov) |
Gets the start date for a crop type. More... | |
virtual int | GetFirstCropIndex (TTypesOfLandscapeElement a_type) |
Gets the first crop for the farm. More... | |
virtual int | GetNextCropIndex (int a_rot_index) |
Returns the next crop in the rotation. More... | |
virtual void | HandleEvents (void) |
If there are events to carry out do this, and perhaps start a new crop. More... | |
bool | LeSwitch (FarmEvent *ev) |
Call do function for any crop with an outstanding event. Signal if the crop has terminated. More... | |
void | CheckRotationManagementLoop (FarmEvent *ev) |
void | ReadRotation (std::string fname) |
Reads a rotation file into the rotation. More... | |
void | AssignPermanentCrop (TTypesOfVegetation tov, int pct) |
Used to assign a permanent crop to an otherwise rotational field polygon. More... | |
int | InvIntPartition (vector< tpct > *items, int target) |
Finds all possible sums of the integers in the items array. More... | |
Protected Attributes | |
FarmManager * | m_OurManager |
Pointer to the FarmManager. More... | |
Farmer * | m_OurFarmer |
LowPriority< FarmEvent * > | m_queue |
vector< LE * > | m_fields |
vector< TTypesOfVegetation > | m_rotation |
vector< PermCropData > | m_PermCrops |
TTypesOfFarm | m_farmtype |
HunterList | m_HuntersList |
A list of hunters allocated to this farm. More... | |
bool | m_stockfarmer |
int | m_farm_num |
int | m_rotation_sync_index |
double | m_intensity |
indicates the farm intensity - 1 = normal, otherwise linear scale More... | |
int | m_farm_centroidx |
Farm's centroid, value x. Equal to the average of the x centroid values of all farm's fields. More... | |
int | m_farm_centroidy |
Farm's centroid, value y. Equal to the average of the y centroid values of all farm's fields. More... | |
TTypesOfFarm | m_FarmType |
The farms farm type - see TTypesOfFarm enum for types - note the use of UserDefined farms. More... | |
The base class for all farm types.
Farm::Farm | ( | FarmManager * | a_manager | ) |
Farm constructor - creates an instance of each possible crop type.
References FarmManager::GetFarmerList(), FarmManager::GetLandscape(), and tof_Foobar.
|
virtual |
Farm destructor - deletes all crop instances and empties event queues.
References LowPriPair< ELEMTYPE >::m_element.
void Farm::AddField | ( | LE * | a_newfield | ) |
Adds a field to a farm.
References tole_AlmondPlantation, tole_AsparagusPerm, tole_BushFruit, tole_ChristmasTrees, tole_EnergyCrop, tole_FarmBufferZone, tole_FarmFeedingGround, tole_FarmForest, tole_FarmYoungForest, tole_FlowersPerm, tole_GreenFallow, tole_MushroomPerm, tole_NaturalFarmGrass, tole_OAsparagusPerm, tole_OBushFruit, tole_OChristmasTrees, tole_OEnergyCrop, tole_OFarmForest, tole_OFarmYoungForest, tole_OliveGrove, tole_OOrchard, tole_OPermPasture, tole_OPermPastureLowYield, tole_OPermPasturePigs, tole_Orchard, tole_OtherPermCrop, tole_PermanentSetaside, tole_PermPasture, tole_PermPastureLowYield, tole_PermPasturePigs, tole_PermPastureTussocky, tole_PermPastureTussockyWet, tole_PlantNursery, tole_SolarPanel, tole_WalnutPlantation, tole_WoodyEnergyCrop, and tole_YoungForest.
|
inline |
References m_HuntersList.
void Farm::AddNewEvent | ( | TTypesOfVegetation | a_event, |
long | a_date, | ||
LE * | a_field, | ||
int | a_todo, | ||
long | a_num, | ||
bool | a_lock, | ||
int | a_start, | ||
bool | a_first_year, | ||
TTypesOfVegetation | a_crop, | ||
FarmManagementCategory | a_fmc, | ||
bool | a_forcespring, | ||
bool | a_forcespringOK | ||
) |
Adds an event to the event queue for a farm.
Referenced by 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(), NLMaizeSpring::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(), and Crop::SimpleEvent_().
void Farm::Assign_rotation | ( | vector< TTypesOfVegetation > | a_new_rotation | ) |
|
protected |
Used to assign a permanent crop to an otherwise rotational field polygon.
References CompPcts(), g_random_fnc(), GetArea(), tpct::index, InvIntPartition(), m_fields, tpct::pct, and tov_Undefined.
|
virtual |
Carry out a harrow event in the autumn on a_field.
carries out standard setting of data and deals with possible unsprayed margins, returns a pointer to UM or nullptr
References autumn_harrow, DO_IT_PROB, g_weather, and Weather::Raining().
Referenced by WinterRapeStrigling::Do(), DK_OLegume::Do(), OWinterBarleyExt::Do(), OWinterBarley::Do(), OWinterRye::Do(), DE_OWinterWheat::Do(), OTriticale::Do(), DK_OWinterBarley::Do(), UKBeans::Do(), DK_OSugarBeet::Do(), DK_OFodderBeet::Do(), DE_OWinterRape::Do(), OWinterWheat::Do(), OWinterWheatUndersown::Do(), OWinterWheatUndersownExt::Do(), Triticale::Do(), UKBeet::Do(), OWinterRape::Do(), UKSpringBarley::Do(), UKWinterBarley::Do(), DK_OWinterRape::Do(), DE_OCarrots::Do(), DK_WinterBarley::Do(), DKOBroadBeans_test::Do(), UKWinterWheat::Do(), WinterRyeStrigling::Do(), PLCarrots::Do(), UKWinterRape::Do(), WinterRye::Do(), DK_Cabbages::Do(), PTBeans::Do(), PTTurnipGrazed::Do(), DK_WinterWheat::Do(), DK_WinterWheat_CC::Do(), PTOtherDryBeans::Do(), PTHorticulture::Do(), PLFodderLucerne1::Do(), DK_Potato::Do(), DK_OBushFruit_Perm2::Do(), PTOats::Do(), DE_HerbsPerennial_1year::Do(), DE_OHerbsPerennial_1year::Do(), WinterWheatStrigling::Do(), WinterWheatStriglingSingle::Do(), WinterWheatStriglingCulm::Do(), PLBeans::Do(), PTWinterBarley::Do(), PTWinterRye::Do(), PTWinterWheat::Do(), DK_WinterRape::Do(), PTTriticale::Do(), PTGrassGrazed::Do(), PTYellowLupin::Do(), WinterRape::Do(), WinterBarleyStrigling::Do(), DK_PotatoSeed::Do(), DK_PotatoIndustry::Do(), PTRyegrass::Do(), WinterBarley::Do(), PLWinterRye::Do(), DK_OBushFruit_Perm1::Do(), FR_Sorghum::Do(), FR_Maize::Do(), DK_OWinterWheat_CC::Do(), FR_Maize_Silage::Do(), PLMaizeSilage::Do(), PLSpringBarley::Do(), DK_OWinterWheat::Do(), PLMaize::Do(), FR_WinterTriticale::Do(), FI_OWinterRye::Do(), PLWinterTriticale::Do(), FR_Sunflower::Do(), DK_OWinterFodderGrass::Do(), DE_OTriticale::Do(), DE_OWinterRye::Do(), FI_OWinterWheat::Do(), PLWinterBarley::Do(), PLWinterWheat::Do(), PLBeet::Do(), DK_OWinterCloverGrassGrazedSown::Do(), PLWinterWheatLate::Do(), PLSpringWheat::Do(), PLPotatoes::Do(), PLWinterRape::Do(), DE_GrasslandSilageAnnual::Do(), FR_WinterBarley::Do(), FI_WinterWheat::Do(), DK_BushFruit_Perm2::Do(), IRWinterBarley::Do(), IRWinterOats::Do(), FI_WinterRye::Do(), DE_Triticale::Do(), FR_WinterWheat::Do(), IRWinterWheat::Do(), FR_WinterRape::Do(), DE_WinterRape::Do(), WinterWheat::Do(), DE_Potatoes::Do(), DE_PotatoesIndustry::Do(), DK_OChristmasTrees_Perm::Do(), and DK_ChristmasTrees_Perm::Do().
|
virtual |
Carry out a ploughing event in the autumn on a_field.
References autumn_plough, DO_IT_PROB, g_weather, and Weather::Raining().
Referenced by NorwegianOats::Do(), WinterRapeStrigling::Do(), NorwegianSpringBarley::Do(), DK_OLegume::Do(), DK_CerealLegume_Whole::Do(), DK_CerealLegume::Do(), FI_OPotato_North::Do(), FI_OPotato_South::Do(), FI_OPotatoIndustry_North::Do(), FI_OPotatoIndustry_South::Do(), DK_Legume_Peas::Do(), FI_OStarchPotato_South::Do(), FI_OStarchPotato_North::Do(), DK_SpringBarley_Green::Do(), OWinterBarleyExt::Do(), DK_SpringBarleySilage::Do(), OWinterBarley::Do(), DK_FodderBeet::Do(), DK_MaizeSilage::Do(), OWinterRye::Do(), DK_Legume_Beans::Do(), DK_OWinterRye::Do(), FI_SugarBeet::Do(), DK_SpringOats::Do(), DK_SugarBeet::Do(), DK_SpringOats_CC::Do(), DK_OWinterRye_CC::Do(), DK_OCerealLegume_Whole::Do(), Maize::Do(), DE_OWinterWheat::Do(), MaizeSilage::Do(), MaizeStrigling::Do(), OTriticale::Do(), DK_OWinterBarley::Do(), DK_Maize::Do(), DK_SpringWheat::Do(), Oats::Do(), OSpringBarleyExt::Do(), DK_OSugarBeet::Do(), SpringBarleySeed::Do(), DK_Legume_Whole::Do(), DK_OCerealLegume::Do(), OSpringBarley::Do(), SpringBarleyCloverGrassStrigling::Do(), FI_Potato_North::Do(), FieldPeas::Do(), FieldPeasSilage::Do(), FieldPeasStrigling::Do(), DK_OFodderBeet::Do(), DE_OWinterRape::Do(), OWinterWheat::Do(), OWinterWheatUndersown::Do(), OWinterWheatUndersownExt::Do(), FI_StarchPotato_North::Do(), SpringBarleyCloverGrass::Do(), FI_PotatoIndustry_North::Do(), OFodderBeet::Do(), Triticale::Do(), FI_Potato_South::Do(), FI_PotatoIndustry_South::Do(), FI_StarchPotato_South::Do(), OWinterRape::Do(), DE_OCabbages::Do(), DK_OVegSeeds::Do(), DE_OSugarBeet::Do(), DK_SpringBarleyCloverGrass::Do(), UKSpringBarley::Do(), UKWinterBarley::Do(), DK_WinterFodderGrass::Do(), DK_OMaizeSilage::Do(), SpringBarleyPeaCloverGrassStrigling::Do(), DK_OWinterRape::Do(), DK_SpringBarley::Do(), DK_SpringBarley_CC::Do(), DK_OMaize::Do(), DK_WinterCloverGrassGrazedSown::Do(), DK_OSpringBarleySilage::Do(), DK_OCabbages::Do(), PotatoesIndustry::Do(), DK_WinterBarley::Do(), DKOBroadBeans_test::Do(), Potatoes::Do(), FodderBeet::Do(), NorwegianPotatoes::Do(), DK_VegSeeds::Do(), DK_WinterRye::Do(), DK_WinterRye_CC::Do(), SpringBarleySKManagement::Do(), UKWinterWheat::Do(), WinterRyeStrigling::Do(), SpringBarleySilage::Do(), UKWinterRape::Do(), SpringBarleyStrigling::Do(), SpringBarleyStriglingSingle::Do(), SpringBarleyPTreatment::Do(), SpringBarleyStriglingCulm::Do(), WinterRye::Do(), PTTurnipGrazed::Do(), PTBeans::Do(), NLWinterWheat::Do(), DK_OPotato::Do(), DK_WinterWheat::Do(), DK_OPotatoIndustry::Do(), DK_OPotatoSeed::Do(), DK_WinterWheat_CC::Do(), PTOtherDryBeans::Do(), SpringBarley::Do(), PTHorticulture::Do(), DK_OSeedGrassRye_Spring::Do(), DK_OBushFruit_Perm2::Do(), WinterWheatStrigling::Do(), WinterWheatStriglingSingle::Do(), WinterWheatStriglingCulm::Do(), DK_WinterRape::Do(), PTFodderMix::Do(), FI_OSpringBarley_Malt::Do(), WinterBarleyStrigling::Do(), WinterRape::Do(), PTGrassGrazed::Do(), FI_OFabaBean::Do(), FI_OTurnipRape::Do(), FI_OSpringOats::Do(), FI_OSpringRape::Do(), FI_OSpringWheat::Do(), WinterBarley::Do(), FI_OSpringBarley_Fodder::Do(), PLWinterRye::Do(), FI_TurnipRape::Do(), DK_OWinterWheat_CC::Do(), DK_OWinterWheat::Do(), FI_FabaBean::Do(), FI_SpringRape::Do(), NLTulips::Do(), FI_OWinterRye::Do(), FI_SpringBarley_Malt::Do(), PLWinterTriticale::Do(), SE_SpringBarley::Do(), PTCloverGrassGrazed1::Do(), FI_OWinterWheat::Do(), DE_WinterRye::Do(), DK_OWinterFodderGrass::Do(), DE_OTriticale::Do(), DE_OWinterRye::Do(), DK_OWinterCloverGrassGrazedSown::Do(), DE_OWinterBarley::Do(), PLWinterBarley::Do(), PLWinterWheat::Do(), FI_SpringWheat::Do(), FI_SpringOats::Do(), PLWinterWheatLate::Do(), PTPermanentGrassGrazed::Do(), SE_WinterRape_Seed::Do(), FI_SpringBarley_Fodder::Do(), DE_WinterBarley::Do(), SE_WinterWheat::Do(), DK_SeedGrassRye_Spring::Do(), PLWinterRape::Do(), FI_WinterWheat::Do(), DK_BushFruit_Perm2::Do(), FR_WinterBarley::Do(), IRWinterBarley::Do(), IRWinterOats::Do(), FR_WinterWheat::Do(), DE_WinterWheat::Do(), FI_WinterRye::Do(), DE_WinterWheatLate::Do(), DE_Triticale::Do(), FR_WinterRape::Do(), IRWinterWheat::Do(), DE_WinterRape::Do(), DK_SeedGrassFescue_Spring::Do(), WinterWheat::Do(), DK_OrchCherry::Do(), DK_OChristmasTrees_Perm::Do(), and DK_ChristmasTrees_Perm::Do().
|
virtual |
Carry out a roll event in the autumn on a_field.
References autumn_roll, DO_IT_PROB, g_weather, and Weather::Raining().
Referenced by OTriticale::Do(), DK_SpringWheat::Do(), Triticale::Do(), DK_WinterFodderGrass::Do(), DK_WinterCloverGrassGrazedSown::Do(), DK_WinterBarley::Do(), DK_WinterRye::Do(), DK_WinterRye_CC::Do(), WinterRyeStrigling::Do(), WinterRye::Do(), DK_WinterWheat::Do(), DK_WinterWheat_CC::Do(), WinterWheatStriglingSingle::Do(), WinterWheatStrigling::Do(), WinterWheatStriglingCulm::Do(), PTGrassGrazed::Do(), PLWinterRye::Do(), PLWinterTriticale::Do(), PTCloverGrassGrazed1::Do(), PLWinterBarley::Do(), PLWinterWheat::Do(), PLWinterWheatLate::Do(), DE_WinterBarley::Do(), PLWinterRape::Do(), IRWinterOats::Do(), IRWinterBarley::Do(), DE_WinterWheatLate::Do(), IRWinterWheat::Do(), DE_WinterRape::Do(), and WinterWheat::Do().
|
virtual |
Carry out a sowing event in the autumn on a_field.
References autumn_sow, LE::CalculateFlowerResourceForCropSow(), Pesticide::DailyQueueAddSeedCoating(), DO_IT_PROB, g_pest, g_weather, LE::GetPollenNectarCurveRef(), Weather::Raining(), LE::SetGrowthPhase(), LE::SetLastSownVeg(), and sow.
Referenced by GenericCatchCrop::Do(), WinterRapeStrigling::Do(), DK_OCatchCrop::Do(), OWinterBarleyExt::Do(), DK_CatchCrop::Do(), OWinterBarley::Do(), OWinterRye::Do(), DK_OWinterRye::Do(), OTriticale::Do(), DE_OWinterWheat::Do(), DK_OWinterRye_CC::Do(), DK_OWinterBarley::Do(), UKBeans::Do(), DE_OWinterRape::Do(), OWinterWheat::Do(), OWinterWheatUndersown::Do(), OWinterWheatUndersownExt::Do(), Triticale::Do(), OWinterRape::Do(), DK_WinterFodderGrass::Do(), DK_OWinterRape::Do(), DK_WinterCloverGrassGrazedSown::Do(), UKWinterWheat::Do(), WinterRyeStrigling::Do(), UKWinterRape::Do(), WinterRye::Do(), PTTurnipGrazed::Do(), PTBeans::Do(), PTOtherDryBeans::Do(), DK_WinterWheat_CC::Do(), PTHorticulture::Do(), PTOats::Do(), DK_OBushFruit_Perm2::Do(), WinterWheatStrigling::Do(), WinterWheatStriglingCulm::Do(), WinterWheatStriglingSingle::Do(), PTWinterBarley::Do(), PTWinterRye::Do(), PTWinterWheat::Do(), PTTriticale::Do(), DK_WinterRape::Do(), PTFodderMix::Do(), PTYellowLupin::Do(), WinterBarleyStrigling::Do(), WinterRape::Do(), PTGrassGrazed::Do(), PTRyegrass::Do(), WinterBarley::Do(), PLWinterRye::Do(), DK_OBushFruit_Perm1::Do(), DK_OWinterWheat_CC::Do(), DK_OWinterWheat::Do(), FI_OWinterRye::Do(), NLTulips::Do(), PLWinterTriticale::Do(), PTCloverGrassGrazed1::Do(), FI_OWinterWheat::Do(), DK_OWinterFodderGrass::Do(), DE_WinterRye::Do(), DE_OWinterRye::Do(), DE_OTriticale::Do(), DK_OWinterCloverGrassGrazedSown::Do(), DE_OWinterBarley::Do(), PLWinterWheat::Do(), PLWinterBarley::Do(), PLWinterWheatLate::Do(), PTPermanentGrassGrazed::Do(), DE_WinterBarley::Do(), SE_WinterWheat::Do(), PLWinterRape::Do(), FR_WinterBarley::Do(), FI_WinterWheat::Do(), DK_BushFruit_Perm2::Do(), IRWinterOats::Do(), IRSpringBarley::Do(), IRSpringOats::Do(), IRWinterBarley::Do(), DE_Triticale::Do(), FR_WinterWheat::Do(), FI_WinterRye::Do(), IRSpringWheat::Do(), DE_WinterWheat::Do(), DE_WinterWheatLate::Do(), IRWinterWheat::Do(), FR_WinterRape::Do(), DE_WinterRape::Do(), WinterWheat::Do(), DK_OChristmasTrees_Perm::Do(), and DK_ChristmasTrees_Perm::Do().
|
virtual |
Carry out a sowing event with start fertilizer in the autumn on a_field.
References autumn_sow_with_ferti, LE::CalculateFlowerResourceForCropSow(), Pesticide::DailyQueueAddSeedCoating(), DO_IT_PROB, g_pest, g_weather, LE::GetPollenNectarCurveRef(), Weather::Raining(), LE::SetGrowthPhase(), LE::SetLastSownVeg(), and sow.
Referenced by SE_WinterRape_Seed::Do(), and SE_WinterWheat::Do().
|
virtual |
Do bed forming up on a_field, probably of carrots.
References bed_forming, DO_IT_PROB, EL_TRAMLINE_DECAYTIME, g_weather, and Weather::Raining().
Referenced by NLCarrotsSpring::Do(), DE_OCarrots::Do(), DK_OCarrots::Do(), NLCarrots::Do(), DK_Carrots_Spring::Do(), PLCarrots::Do(), DK_Carrots::Do(), UKPotatoes::Do(), PTPotatoes::Do(), NLPotatoesSpring::Do(), NLPotatoes::Do(), NLTulips::Do(), and DE_Carrots::Do().
|
virtual |
Apply Biocide to a_field.
References biocide, cfg_biocide_reduction_val, cfg_pest_max_wind, DO_IT_PROB, EL_TRAMLINE_DECAYTIME, g_weather, Weather::GetWind(), LE::Insecticide(), l_farm_insecticide_kills, Weather::Raining(), LE::SetLastTreatment(), LE::SetTramlinesDecay(), CfgFloat::value(), and CfgBool::value().
Referenced by FI_SugarBeet::Do(), FI_Potato_North::Do(), FI_StarchPotato_North::Do(), FI_PotatoIndustry_North::Do(), FI_Potato_South::Do(), FI_PotatoIndustry_South::Do(), FI_StarchPotato_South::Do(), BEWinterWheatCC::Do(), BEWinterWheat::Do(), NLWinterWheat::Do(), DK_WinterWheat::Do(), DK_WinterWheat_CC::Do(), DK_Potato::Do(), DK_WinterRape::Do(), BEPotatoesSpring::Do(), DK_PotatoSeed::Do(), DK_PotatoIndustry::Do(), NLPotatoesSpring::Do(), BEPotatoes::Do(), FR_Maize::Do(), FR_Maize_Silage::Do(), PLMaizeSilage::Do(), NLPotatoes::Do(), PLMaize::Do(), FI_SpringRape::Do(), PLWinterWheat::Do(), FI_SpringWheat::Do(), PLWinterWheatLate::Do(), PLPotatoes::Do(), PLWinterRape::Do(), FI_WinterWheat::Do(), DE_WinterWheatLate::Do(), DE_WinterWheat::Do(), FR_WinterWheat::Do(), FR_WinterRape::Do(), FR_Potatoes::Do(), DE_WinterRape::Do(), DE_Potatoes::Do(), and DE_PotatoesIndustry::Do().
|
virtual |
Carry out a bulb harvest on a_field.
References bulb_harvest, Calendar::Date(), DO_IT_PROB, EL_TRAMLINE_DECAYTIME, g_date, g_pest, g_weather, LE::GetInsectPop(), LE::GetMapIndex(), LE::GetMaxX(), LE::GetMaxY(), LE::GetMinX(), LE::GetMinY(), Weather::GetRainPeriod(), LE::GetVegBiomass(), harvest1, LE::PollenNectarReset(), LE::RecalculateBugsNStuff(), Pesticide::ReducePlantPesticide(), LE::ResetDigestibility(), and LE::SetGrowthPhase().
Referenced by NLTulips::Do().
|
virtual |
Burn stubble on a_field.
References burn_straw_stubble, Calendar::Date(), DO_IT_PROB, g_date, g_weather, and Weather::GetRainPeriod().
Referenced by OSeedGrass1::Do(), OSeedGrass2::Do(), SeedGrass1::Do(), SeedGrass2::Do(), SpringBarleySeed::Do(), DE_OCarrots::Do(), DK_OCarrots::Do(), DK_SeedGrassRye_Spring::Do(), and DK_SeedGrassFescue_Spring::Do().
|
virtual |
Burn tops of e.g. potatoes on a_field.
References burn_top, Calendar::Date(), DO_IT_PROB, g_date, g_weather, and Weather::GetRainPeriod().
Referenced by DK_OPotato::Do(), DK_OPotatoSeed::Do(), and DK_OPotatoIndustry::Do().
References LE::AddManagementActionDone(), cfg_UseSocioEconomicFarm, FarmFuncsCostBenefits::EconomicCost, FarmFuncsCostBenefits::EnvImpact, FarmManager::Get_FarmFuncsCB(), LE::GetArea(), FarmFuncsCostBenefits::LabourCost, m_OurFarmer, m_OurManager, FarmFuncsCostBenefits::ManagementCategory, FarmFuncsCostBenefits::RiskAvoidance, and CfgBool::value().
|
virtual |
Generate a 'cattle_out' event for every day the cattle are on a_field.
This is the main grazing method and as such is called by all grazed field management plans each day the cattle are out.
References cattle_out, Calendar::DayInYear(), g_date, g_landscape_ptr, LE::GetUnsprayedMarginPolyRef(), LE::GetVegBiomass(), LE::GrazeVegetation(), l_farm_cattle_veg_reduce, LE::SetLastTreatment(), Landscape::SupplyLEPointer(), LE::ToggleCattleGrazing(), and CfgFloat::value().
Referenced by DK_GrassTussocky_Perm::Do(), PermanentGrassLowYield::Do(), DK_OGrassLowYield_Perm::Do(), OPermanentGrassGrazed::Do(), DK_GrassLowYield_Perm::Do(), PermanentGrassGrazed::Do(), OBarleyPeaCloverGrass::Do(), SpringBarleyCloverGrassStrigling::Do(), SpringBarleyCloverGrass::Do(), DK_WinterFodderGrass::Do(), SpringBarleyPeaCloverGrassStrigling::Do(), DK_WinterCloverGrassGrazedSown::Do(), DK_SpringFodderGrass::Do(), NLGrassGrazedExtensive2::Do(), NLPermanentGrassGrazedExtensive::Do(), SetAside::Do(), NLGrassGrazedExtensive1Spring::Do(), NLGrassGrazedExtensiveLast::Do(), NLGrassGrazedExtensive1::Do(), DK_OGrassGrazed_Perm::Do(), DK_GrassGrazed_Perm::Do(), DE_OPermanentGrassLowYield::Do(), DE_PermanentGrassLowYield::Do(), DE_PermanentGrassGrazed::Do(), FR_Grassland_Perm::Do(), UKPermanentGrass::Do(), DE_GreenFallow_1year::Do(), UKTempGrass::Do(), FI_GreenFallow_1year::Do(), FI_NaturalGrassland_Perm::Do(), DE_OGreenFallow_1year::Do(), NLGrassGrazed2::Do(), NLPermanentGrassGrazed::Do(), DK_CloverGrassGrazed1::Do(), FI_GreenFallow_Perm::Do(), NLGrassGrazedLast::Do(), NLGrassGrazed1Spring::Do(), FI_BufferZone::Do(), FI_BufferZone_Perm::Do(), FI_NaturalGrassland::Do(), NLGrassGrazed1::Do(), FI_GrasslandPasturePerennial2::Do(), FI_GrasslandSilagePerennial1::Do(), FI_GrasslandPasturePerennial1::Do(), FI_FeedingGround::Do(), FI_GrasslandSilagePerennial2::Do(), DK_OSpringFodderGrass::Do(), FI_GrasslandSilageAnnual::Do(), DK_OCloverGrassGrazed3::Do(), DK_OCloverGrassGrazed1::Do(), DK_OCloverGrassGrazed2::Do(), DK_OWinterFodderGrass::Do(), DK_OWinterCloverGrassGrazedSown::Do(), DK_CloverGrassGrazed3::Do(), DK_CloverGrassGrazed2::Do(), FR_Grassland::Do(), IRGrassland_no_reseed::Do(), and IRGrassland_reseed::Do().
|
virtual |
Generate a 'cattle_out' event for every day the cattle are on a_field.
This is the main grazing method and as such is called by all grazed field management plans each day the cattle are out.
References cattle_out, cfg_farm_cattle_reduce_height, Calendar::DayInYear(), g_date, g_landscape_ptr, LE::GetCattleGrazing(), LE::GetUnsprayedMarginPolyRef(), LE::GrazeVegetationHeight(), harvest2, LE::SetGrowthPhase(), LE::SetLastTreatment(), Landscape::SupplyLEPointer(), LE::ToggleCattleGrazing(), and CfgArray_Double::value().
|
virtual |
Generate a 'cattle_out_low' event for every day the cattle are on a_field.
References cattle_out_low, Calendar::DayInYear(), g_date, g_landscape_ptr, LE::GetUnsprayedMarginPolyRef(), LE::GetVegBiomass(), LE::GrazeVegetation(), l_farm_cattle_veg_reduce2, LE::SetLastTreatment(), Landscape::SupplyLEPointer(), LE::ToggleCattleGrazing(), and CfgFloat::value().
Referenced by PermanentGrassTussocky::Do(), OPermanentGrassGrazed::Do(), OBarleyPeaCloverGrass::Do(), and DE_OPermanentGrassGrazed::Do().
|
virtual |
Generate a 'cattle_out_low2' event for every day the cattle are on a_field, cattle is low grazing and can stay on the field till a_max date but no more days than defined by a_max_days a_days defines the number of days from the day the cattle is put on the field (set by a flag in the management plan)
References cattle_out_low, Calendar::DayInYear(), g_date, g_landscape_ptr, LE::GetUnsprayedMarginPolyRef(), LE::GetVegBiomass(), LE::GrazeVegetation(), l_farm_cattle_veg_reduce2, LE::SetLastTreatment(), Landscape::SupplyLEPointer(), LE::ToggleCattleGrazing(), and CfgFloat::value().
Referenced by PTTurnipGrazed::Do(), PTShrubPastures::Do(), PTCloverGrassGrazed2::Do(), PTFodderMix::Do(), PTGrassGrazed::Do(), PTYellowLupin::Do(), PTCloverGrassGrazed1::Do(), and PTPermanentGrassGrazed::Do().
|
virtual |
Start a grazing event on a_field today.
This is the main initiate grazing method and as such is called by all grazed field management plans at the moment cattle are put out.
References cattle_out, DO_IT_PROB, g_landscape_ptr, LE::GetUnsprayedMarginPolyRef(), LE::GrazeVegetation(), l_farm_cattle_veg_reduce, LE::SetLastTreatment(), Landscape::SupplyLEPointer(), LE::ToggleCattleGrazing(), and CfgFloat::value().
Referenced by DK_GrassTussocky_Perm::Do(), PermanentGrassLowYield::Do(), DK_OGrassLowYield_Perm::Do(), OPermanentGrassGrazed::Do(), DK_GrassLowYield_Perm::Do(), PermanentGrassGrazed::Do(), OBarleyPeaCloverGrass::Do(), SpringBarleyCloverGrassStrigling::Do(), SpringBarleyCloverGrass::Do(), DK_WinterFodderGrass::Do(), SpringBarleyPeaCloverGrassStrigling::Do(), DK_WinterCloverGrassGrazedSown::Do(), DK_SpringFodderGrass::Do(), NLGrassGrazedExtensive2::Do(), NLPermanentGrassGrazedExtensive::Do(), SetAside::Do(), NLGrassGrazedExtensive1Spring::Do(), NLGrassGrazedExtensiveLast::Do(), NLGrassGrazedExtensive1::Do(), DK_OGrassGrazed_Perm::Do(), DK_GrassGrazed_Perm::Do(), DE_OPermanentGrassLowYield::Do(), DE_PermanentGrassLowYield::Do(), DE_PermanentGrassGrazed::Do(), FR_Grassland_Perm::Do(), UKPermanentGrass::Do(), DE_GreenFallow_1year::Do(), UKTempGrass::Do(), FI_GreenFallow_1year::Do(), FI_NaturalGrassland_Perm::Do(), DE_OGreenFallow_1year::Do(), NLGrassGrazed2::Do(), NLPermanentGrassGrazed::Do(), DK_CloverGrassGrazed1::Do(), FI_GreenFallow_Perm::Do(), NLGrassGrazedLast::Do(), NLGrassGrazed1Spring::Do(), FI_BufferZone::Do(), FI_BufferZone_Perm::Do(), FI_NaturalGrassland::Do(), NLGrassGrazed1::Do(), FI_GrasslandPasturePerennial2::Do(), FI_GrasslandSilagePerennial1::Do(), FI_GrasslandPasturePerennial1::Do(), FI_FeedingGround::Do(), FI_GrasslandSilagePerennial2::Do(), DK_OSpringFodderGrass::Do(), FI_GrasslandSilageAnnual::Do(), DK_OCloverGrassGrazed3::Do(), DK_OCloverGrassGrazed1::Do(), DK_OCloverGrassGrazed2::Do(), DK_OWinterFodderGrass::Do(), DK_OWinterCloverGrassGrazedSown::Do(), DK_CloverGrassGrazed3::Do(), DK_CloverGrassGrazed2::Do(), FR_Grassland::Do(), IRGrassland_no_reseed::Do(), and IRGrassland_reseed::Do().
|
virtual |
Start an intensive grazing event on a_field today.
This is the main initiate grazing method and as such is called by all grazed field management plans at the moment cattle are put out.
References cattle_out, cfg_farm_cattle_reduce_height, DO_IT_PROB, g_landscape_ptr, LE::GetCattleGrazing(), LE::GetUnsprayedMarginPolyRef(), LE::GrazeVegetationHeight(), LE::SetLastTreatment(), Landscape::SupplyLEPointer(), LE::ToggleCattleGrazing(), and CfgArray_Double::value().
|
virtual |
Start a extensive grazing event on a_field today.
References cattle_out_low, DO_IT_PROB, g_landscape_ptr, LE::GetUnsprayedMarginPolyRef(), LE::GrazeVegetation(), l_farm_cattle_veg_reduce2, LE::SetLastTreatment(), Landscape::SupplyLEPointer(), LE::ToggleCattleGrazing(), and CfgFloat::value().
Referenced by PermanentGrassTussocky::Do(), OPermanentGrassGrazed::Do(), OBarleyPeaCloverGrass::Do(), PTTurnipGrazed::Do(), DE_OPermanentGrassGrazed::Do(), PTShrubPastures::Do(), PTFodderMix::Do(), PTCloverGrassGrazed2::Do(), PTGrassGrazed::Do(), PTYellowLupin::Do(), PTCloverGrassGrazed1::Do(), and PTPermanentGrassGrazed::Do().
void Farm::Centroids | ( | ) |
Finds farm's centroids - x and y.
Calculate a farm's centroid as an average of its fields' centroids.
For now we assume the farmer location is the same as the farm centroid.
References g_msg, GetFarmNumber(), m_farm_centroidx, m_farm_centroidy, m_fields, m_OurFarmer, and MapErrorMsg::Warn().
|
protected |
Rotation error check function
References Calendar::Date(), g_date, g_msg, FarmEvent::m_field, MapErrorMsg::Warn(), and WARN_BUG.
|
virtual |
Cut vegetation on orchard crop. //based on cut to silage - values from cutting function of orchard.
References DO_IT_PROB, g_weather, l_el_o_cut_green, l_el_o_cut_height, l_el_o_cut_total, mow, Weather::Raining(), LE::SetMownDecay(), LE::SetVegParameters(), and CfgFloat::value().
Referenced by OrchardCrop::Do(), BEOrchardCrop::Do(), NLOrchardCrop::Do(), DK_OBushFruit_Perm2::Do(), DK_OOrchCherry::Do(), DK_OOrchPear::Do(), DK_OOrchApple::Do(), DK_OOrchardCrop_Perm::Do(), PTVineyards::Do(), DK_BushFruit_Perm2::Do(), DK_OrchCherry::Do(), DK_OrchPear::Do(), DK_OrchOther::Do(), DK_OrchardCrop_Perm::Do(), DK_OrchApple::Do(), and ITOOrchard::Do().
|
virtual |
Carry out hay cutting on a_field.
References cut_to_hay, Calendar::Date(), DO_IT_PROB, g_date, g_weather, Weather::GetRainPeriod(), harvest1, LE::SetGrowthPhase(), and LE::SetVegHeight().
Referenced by PermanentSetAside::Do(), PermanentGrassLowYield::Do(), DK_OGrassLowYield_Perm::Do(), OPermanentGrassGrazed::Do(), DK_GrassLowYield_Perm::Do(), PermanentGrassGrazed::Do(), DK_OptimalFlowerMix3::Do(), DK_OCerealLegume_Whole::Do(), DK_OCerealLegume::Do(), SetAside::Do(), PTSetAside::Do(), DK_OGrassGrazed_Perm::Do(), DK_GrassGrazed_Perm::Do(), DK_OSeedGrassRye_Spring::Do(), DK_SetAside::Do(), DK_OSetAside_SummerMow::Do(), DK_OSetAside::Do(), DK_SetAside_SummerMow::Do(), PTRyegrass::Do(), FI_FeedingGround::Do(), and DK_SeedGrassFescue_Spring::Do().
|
virtual |
Cut vegetation for silage on a_field.
References cut_to_silage, DO_IT_PROB, g_weather, harvest1, Weather::Raining(), LE::ResetDigestibility(), LE::SetGrowthPhase(), and LE::SetVegHeight().
Referenced by OSBarleySilage::Do(), OBarleyPeaCloverGrass::Do(), PLFodderLucerne2::Do(), DK_WinterFodderGrass::Do(), NLGrassGrazedExtensive2::Do(), DK_SpringFodderGrass::Do(), NLPermanentGrassGrazedExtensive::Do(), DK_WinterCloverGrassGrazedSown::Do(), SetAside::Do(), NLGrassGrazedExtensive1Spring::Do(), NLGrassGrazedExtensiveLast::Do(), NLGrassGrazedExtensive1::Do(), DE_OPermanentGrassLowYield::Do(), DE_PermanentGrassLowYield::Do(), DE_PermanentGrassGrazed::Do(), PLFodderLucerne1::Do(), UKPermanentGrass::Do(), FR_Grassland_Perm::Do(), FI_GreenFallow_1year::Do(), UKTempGrass::Do(), DE_GreenFallow_1year::Do(), DE_OGreenFallow_1year::Do(), DE_OPermanentGrassGrazed::Do(), FI_NaturalGrassland_Perm::Do(), DK_CloverGrassGrazed1::Do(), NLGrassGrazed2::Do(), NLPermanentGrassGrazed::Do(), NLGrassGrazed1Spring::Do(), NLGrassGrazedLast::Do(), FI_GreenFallow_Perm::Do(), DE_OGrasslandSilageAnnual::Do(), FI_BufferZone::Do(), FI_BufferZone_Perm::Do(), PTMaize_Hort::Do(), PTMaize::Do(), ITGrassland::Do(), PTFodderMix::Do(), FI_NaturalGrassland::Do(), NLGrassGrazed1::Do(), FI_GrasslandPasturePerennial1::Do(), FI_GrasslandSilagePerennial1::Do(), FI_GrasslandSilagePerennial2::Do(), DK_OSpringFodderGrass::Do(), DK_OCloverGrassGrazed3::Do(), DK_OCloverGrassGrazed1::Do(), DK_OCloverGrassGrazed2::Do(), DK_OWinterFodderGrass::Do(), DK_CloverGrassGrazed3::Do(), DK_OWinterCloverGrassGrazedSown::Do(), DK_CloverGrassGrazed2::Do(), DE_GrasslandSilageAnnual::Do(), FR_Grassland::Do(), IRGrassland_no_reseed::Do(), and IRGrassland_reseed::Do().
|
virtual |
Carry out weed topping on a_field.
References cut_weeds, DO_IT_PROB, g_weather, and Weather::Raining().
Referenced by PermanentGrassLowYield::Do(), DK_OGrassLowYield_Perm::Do(), OPermanentGrassGrazed::Do(), DK_GrassLowYield_Perm::Do(), PermanentGrassGrazed::Do(), DE_PermanentGrassGrazed::Do(), PTOliveGroveTraditional::Do(), DE_HerbsPerennial_after1year::Do(), DE_OHerbsPerennial_after1year::Do(), DE_HerbsPerennial_1year::Do(), and DE_OHerbsPerennial_1year::Do().
|
virtual |
Carry out a deep ploughing event on a_field.
References deep_ploughing, DO_IT_PROB, g_weather, and Weather::Raining().
Referenced by WinterRapeStrigling::Do(), DE_OWinterWheat::Do(), OWinterWheatUndersown::Do(), OWinterWheat::Do(), OWinterWheatUndersownExt::Do(), DE_OCarrots::Do(), DK_OEnergyCrop_Perm::Do(), DK_OCarrots::Do(), DK_EnergyCrop_Perm::Do(), DK_Carrots_Spring::Do(), DK_Carrots::Do(), NLWinterWheat::Do(), SpringRape::Do(), WinterWheatStrigling::Do(), WinterWheatStriglingCulm::Do(), WinterWheatStriglingSingle::Do(), WinterRape::Do(), DK_OOrchCherry::Do(), DK_OOrchPear::Do(), DE_OTriticale::Do(), DE_OWinterRye::Do(), DK_OOrchApple::Do(), DE_OWinterBarley::Do(), DK_OOrchOther::Do(), DK_OOrchardCrop_Perm::Do(), DE_Triticale::Do(), FR_Potatoes::Do(), WinterWheat::Do(), DK_OrchCherry::Do(), DK_OrchPear::Do(), DK_OrchApple::Do(), DK_OrchOther::Do(), DK_OrchardCrop_Perm::Do(), DK_OChristmasTrees_Perm::Do(), and DK_ChristmasTrees_Perm::Do().
bool Farm::DoIt | ( | double | a_probability | ) |
Return chance out of 0 to 100.
References g_rand_uni_fnc().
Referenced by OrchardCrop::Do(), PermanentGrassTussocky::Do(), WinterRapeStrigling::Do(), DK_GrassTussocky_Perm::Do(), NorwegianSpringBarley::Do(), NorwegianOats::Do(), OSeedGrass1::Do(), BroadBeans::Do(), OSeedGrass2::Do(), PermanentGrassLowYield::Do(), OSBarleySilage::Do(), DK_OGrassLowYield_Perm::Do(), OFieldPeas::Do(), OFieldPeasSilage::Do(), OPermanentGrassGrazed::Do(), SeedGrass1::Do(), OCarrots::Do(), DK_GrassLowYield_Perm::Do(), PermanentGrassGrazed::Do(), OBarleyPeaCloverGrass::Do(), OMaizeSilage::Do(), OWinterBarleyExt::Do(), SeedGrass2::Do(), OWinterBarley::Do(), OWinterRye::Do(), DK_OSpringBarleyCloverGrass::Do(), DE_OMaizeSilage::Do(), DE_OOats::Do(), DK_OptimalFlowerMix3::Do(), OOats::Do(), DE_OSpringRye::Do(), DE_OWinterWheat::Do(), DK_OSpringBarley_CC::Do(), Maize::Do(), MaizeSilage::Do(), MaizeStrigling::Do(), DE_OMaize::Do(), OTriticale::Do(), Oats::Do(), OSpringBarleyExt::Do(), DK_OSpringBarley::Do(), SpringBarleySeed::Do(), OSpringBarley::Do(), SpringBarleyCloverGrassStrigling::Do(), FieldPeas::Do(), FieldPeasSilage::Do(), FieldPeasStrigling::Do(), DummyCropPestTesting::Do(), OPotatoes::Do(), DE_OWinterRape::Do(), OWinterWheat::Do(), OWinterWheatUndersownExt::Do(), OWinterWheatUndersown::Do(), SpringBarleyCloverGrass::Do(), OFodderBeet::Do(), OWinterRape::Do(), PLFodderLucerne2::Do(), Triticale::Do(), Carrots::Do(), DE_OSugarBeet::Do(), SpringBarleyPeaCloverGrassStrigling::Do(), DE_OPotatoes::Do(), SetAside::Do(), PotatoesIndustry::Do(), SugarBeet::Do(), Potatoes::Do(), FodderBeet::Do(), DKOBroadBeans_test::Do(), NorwegianPotatoes::Do(), SpringBarleySKManagement::Do(), PLCarrots::Do(), PTSetAside::Do(), SpringBarleySilage::Do(), WinterRyeStrigling::Do(), SpringBarleySpr::Do(), SpringBarleyStriglingCulm::Do(), DE_PermanentGrassLowYield::Do(), SpringBarleyPTreatment::Do(), DE_OPermanentGrassLowYield::Do(), WinterRye::Do(), SpringBarleyStriglingSingle::Do(), SpringBarleyStrigling::Do(), PLSpringBarleySpr::Do(), FI_OCaraway2::Do(), SpringBarley::Do(), PLFodderLucerne1::Do(), DE_GreenFallow_1year::Do(), FI_GreenFallow_1year::Do(), FI_NaturalGrassland_Perm::Do(), FI_Caraway2::Do(), SpringRape::Do(), DE_OGreenFallow_1year::Do(), PLBeetSpr::Do(), PLBeans::Do(), WinterWheatStrigling::Do(), WinterWheatStriglingCulm::Do(), WinterWheatStriglingSingle::Do(), FI_GreenFallow_Perm::Do(), DE_OGrasslandSilageAnnual::Do(), FI_BufferZone::Do(), FI_BufferZone_Perm::Do(), FI_NaturalGrassland::Do(), FI_OSpringBarley_Malt::Do(), DK_SetAside::Do(), DK_OSetAside_PerennialFlower::Do(), DK_OSetAside_SummerMow::Do(), WinterBarleyStrigling::Do(), WinterRape::Do(), DK_OSetAside::Do(), FI_OCaraway1::Do(), FI_OFabaBean::Do(), FR_SpringBarley::Do(), FI_OSpringRape::Do(), FI_OSpringWheat::Do(), FI_OTurnipRape::Do(), OSpringBarleyPigs::Do(), FI_OSpringOats::Do(), DK_SetAside_SummerMow::Do(), FI_GrasslandPasturePerennial1::Do(), FI_GrasslandPasturePerennial2::Do(), FI_GrasslandSilagePerennial1::Do(), FR_SpringOats::Do(), FI_OSpringBarley_Fodder::Do(), WinterBarley::Do(), PLWinterRye::Do(), FI_FeedingGround::Do(), FI_GrasslandSilagePerennial2::Do(), FI_TurnipRape::Do(), FR_Sorghum::Do(), DK_OSpringFodderGrass::Do(), FI_GrasslandSilageAnnual::Do(), DK_OCloverGrassGrazed3::Do(), FR_Maize_Silage::Do(), FR_Maize::Do(), DK_OCloverGrassGrazed1::Do(), DK_OCloverGrassGrazed2::Do(), PLMaizeSilage::Do(), PLSpringBarley::Do(), PLMaize::Do(), FI_FabaBean::Do(), FI_OWinterRye::Do(), FR_WinterTriticale::Do(), FI_SpringRape::Do(), FI_Caraway1::Do(), PLWinterTriticale::Do(), FR_Sunflower::Do(), FI_SpringBarley_Malt::Do(), SE_SpringBarley::Do(), DE_OWinterRye::Do(), FI_OWinterWheat::Do(), DE_OTriticale::Do(), DE_WinterRye::Do(), DK_OWinterFodderGrass::Do(), PLBeet::Do(), FI_SprSpringBarley_Fodder::Do(), DE_OWinterBarley::Do(), FI_SpringWheat::Do(), DK_OWinterCloverGrassGrazedSown::Do(), PLWinterBarley::Do(), FI_SpringOats::Do(), PLWinterWheatLate::Do(), PLSpringWheat::Do(), SE_WinterRape_Seed::Do(), FI_SpringBarley_Fodder::Do(), PLPotatoes::Do(), SE_WinterWheat::Do(), FR_SpringWheat::Do(), DE_WinterBarley::Do(), PLWinterRape::Do(), DE_GrasslandSilageAnnual::Do(), FI_WinterWheat::Do(), FR_WinterBarley::Do(), FR_Grassland::Do(), DE_Triticale::Do(), DE_WinterWheat::Do(), FI_WinterRye::Do(), DE_WinterWheatLate::Do(), FR_WinterWheat::Do(), FR_Potatoes::Do(), FR_WinterRape::Do(), DE_WinterRape::Do(), WinterWheat::Do(), DE_SugarBeet::Do(), DE_Potatoes::Do(), DE_PotatoesIndustry::Do(), DK_OChristmasTrees_Perm::Do(), DK_ChristmasTrees_Perm::Do(), WinterRape::HerbiZero(), SpringRape::RowcolOne(), and WinterRape::RowcolOne().
bool Farm::DoIt_prob | ( | double | a_probability | ) |
Return chance out of 0 to 1.
References g_rand_uni_fnc().
Referenced by UKMaize::Do(), BECatchPeaCrop::Do(), DK_OLegume::Do(), DE_OPeas::Do(), DK_OCatchCrop::Do(), DK_CerealLegume::Do(), DK_CerealLegume_Whole::Do(), DK_Legume_Peas::Do(), DK_SpringBarley_Green::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_OLegume_Peas_CC::Do(), DE_OLegume::Do(), DK_SpringBarleySilage::Do(), DK_OLegume_Beans::Do(), DK_OLegume_Beans_CC::Do(), DK_OLegume_Peas::Do(), DK_OLentils::Do(), BEOrchardCrop::Do(), DK_CatchCrop::Do(), DK_MaizeSilage::Do(), DK_FodderBeet::Do(), DK_OLupines::Do(), NLOrchardCrop::Do(), DK_OSpringBarleyCloverGrass::Do(), DK_OWinterRye::Do(), DK_Legume_Beans::Do(), DK_SpringOats::Do(), DK_SpringOats_CC::Do(), DK_SugarBeet::Do(), FI_SugarBeet::Do(), DE_OMaizeSilage::Do(), DK_OWinterRye_CC::Do(), DE_OWinterWheat::Do(), DK_OCerealLegume_Whole::Do(), DK_OLegume_Whole_CC::Do(), DK_OLegume_Whole::Do(), DK_OLegumeCloverGrass_Whole::Do(), DE_OMaize::Do(), DK_OptimalFlowerMix1::Do(), DK_OSpringBarley_CC::Do(), UKBeans::Do(), DK_Maize::Do(), DK_SpringWheat::Do(), NLMaizeSpring::Do(), DK_OWinterBarley::Do(), DK_Legume_Whole::Do(), DK_OCerealLegume::Do(), DK_OSpringBarley::Do(), DK_OSugarBeet::Do(), DK_OFodderBeet::Do(), FI_Potato_North::Do(), FI_StarchPotato_North::Do(), FI_PotatoIndustry_North::Do(), UKBeet::Do(), BEMaize::Do(), FI_Potato_South::Do(), FI_PotatoIndustry_South::Do(), FI_StarchPotato_South::Do(), DK_OSpringOats::Do(), DK_OSpringWheat::Do(), DK_SpringBarleyCloverGrass::Do(), DE_OSugarBeet::Do(), DE_OCabbages::Do(), NLBeetSpring::Do(), NLMaize::Do(), DK_OVegSeeds::Do(), UKSpringBarley::Do(), UKWinterBarley::Do(), DK_WinterFodderGrass::Do(), DE_OBushFruitPerm::Do(), DK_OSpringOats_CC::Do(), DK_OWinterRape::Do(), DE_OPotatoes::Do(), DK_SpringBarley::Do(), DK_SpringBarley_CC::Do(), DK_OMaize::Do(), DK_OMaizeSilage::Do(), NLCarrotsSpring::Do(), DK_OCabbages::Do(), DK_SpringFodderGrass::Do(), DK_WinterCloverGrassGrazedSown::Do(), DK_OEnergyCrop_Perm::Do(), NLBeet::Do(), NLGrassGrazedExtensive2::Do(), NLPermanentGrassGrazedExtensive::Do(), DK_OSpringBarleySilage::Do(), DK_OCarrots::Do(), NLCarrots::Do(), NLGrassGrazedExtensive1Spring::Do(), NLGrassGrazedExtensiveLast::Do(), DK_WinterBarley::Do(), NLCabbageSpring::Do(), BEWinterBarley::Do(), BEWinterBarleyCC::Do(), NLSpringBarleySpring::Do(), BEWinterWheat::Do(), DK_VegSeeds::Do(), BEWinterWheatCC::Do(), DK_EnergyCrop_Perm::Do(), NLGrassGrazedExtensive1::Do(), DK_WinterRye::Do(), DK_WinterRye_CC::Do(), NLCabbage::Do(), DK_Carrots_Spring::Do(), UKWinterWheat::Do(), DK_OGrassGrazed_Perm::Do(), PTSetAside::Do(), DK_Carrots::Do(), UKWinterRape::Do(), DK_GrassGrazed_Perm::Do(), TestCrop::Do(), NLSpringBarley::Do(), DK_Cabbages::Do(), DK_OMixedVeg::Do(), NLWinterWheat::Do(), DK_WinterWheat::Do(), DK_WinterWheat_CC::Do(), DE_PermanentGrassGrazed::Do(), DK_OPotato::Do(), PTCabbage_Hort::Do(), DK_OPotatoIndustry::Do(), DK_OPotatoSeed::Do(), DK_Potato::Do(), UKPermanentGrass::Do(), FR_Grassland_Perm::Do(), UKPotatoes::Do(), UKTempGrass::Do(), PTOliveGroveTraditional::Do(), DK_OBushFruit_Perm2::Do(), PTOats::Do(), DK_OSeedGrassRye_Spring::Do(), DE_HerbsPerennial_after1year::Do(), DE_OPermanentGrassGrazed::Do(), DE_HerbsPerennial_1year::Do(), DK_MixedVeg::Do(), DE_OHerbsPerennial_after1year::Do(), DK_CloverGrassGrazed1::Do(), NLPermanentGrassGrazed::Do(), NLGrassGrazed2::Do(), NLGrassGrazed1Spring::Do(), DE_OHerbsPerennial_1year::Do(), NLGrassGrazedLast::Do(), PTWinterWheat::Do(), FI_BufferZone::Do(), FI_BufferZone_Perm::Do(), DE_OGrasslandSilageAnnual::Do(), PTWinterRye::Do(), PTMaize_Hort::Do(), PTWinterBarley::Do(), PTFodderMix::Do(), DK_SetAside::Do(), DK_WinterRape::Do(), FI_NaturalGrassland::Do(), PTTriticale::Do(), ITGrassland::Do(), PTCloverGrassGrazed2::Do(), DK_PotatoSeed::Do(), DK_OSetAside_AnnualFlower::Do(), BEPotatoesSpring::Do(), DK_OSetAside_PerennialFlower::Do(), PTGrassGrazed::Do(), PTYellowLupin::Do(), NLGrassGrazed1::Do(), DE_Maize::Do(), DE_BushFruitPerm::Do(), DK_PotatoIndustry::Do(), DK_SetAside_SummerMow::Do(), DE_MaizeSilage::Do(), DE_OAsparagusEstablishedPlantation::Do(), FR_SpringBarley::Do(), NLPotatoesSpring::Do(), FR_SpringOats::Do(), FI_GrasslandSilagePerennial2::Do(), DE_SpringBarley::Do(), DK_OOrchCherry::Do(), DK_OSpringFodderGrass::Do(), DK_OBushFruit_Perm1::Do(), FI_GrasslandSilageAnnual::Do(), FR_Sorghum::Do(), BEPotatoes::Do(), DK_OWinterWheat_CC::Do(), FR_Maize_Silage::Do(), DK_OCloverGrassGrazed3::Do(), DE_AsparagusEstablishedPlantation::Do(), FR_Maize::Do(), DK_OWinterWheat::Do(), DK_OCloverGrassGrazed2::Do(), NLPotatoes::Do(), DK_OCloverGrassGrazed1::Do(), FR_WinterTriticale::Do(), FI_SpringRape::Do(), NLTulips::Do(), DE_Peas::Do(), DE_Legumes::Do(), FR_Sunflower::Do(), PTCloverGrassGrazed1::Do(), FI_Caraway1::Do(), DE_OWinterRye::Do(), DE_OTriticale::Do(), FI_OWinterWheat::Do(), DE_WinterRye::Do(), DK_OOrchPear::Do(), DK_OWinterFodderGrass::Do(), DE_OWinterBarley::Do(), DK_CloverGrassGrazed3::Do(), DK_OOrchOther::Do(), PLWinterWheat::Do(), DK_OOrchApple::Do(), DK_OOrchardCrop_Perm::Do(), DK_OWinterCloverGrassGrazedSown::Do(), DE_Carrots::Do(), DK_CloverGrassGrazed2::Do(), PLWinterWheatLate::Do(), DK_BushFruit_Perm1::Do(), PTPermanentGrassGrazed::Do(), PLPotatoes::Do(), SE_WinterRape_Seed::Do(), FI_SpringBarley_Fodder::Do(), DE_Oats::Do(), SE_WinterWheat::Do(), DE_Cabbage::Do(), FR_SpringWheat::Do(), DE_WinterBarley::Do(), DE_SpringRye::Do(), DK_SeedGrassRye_Spring::Do(), PLWinterRape::Do(), FR_WinterBarley::Do(), FI_WinterWheat::Do(), DK_BushFruit_Perm2::Do(), IRSpringOats::Do(), IRWinterBarley::Do(), FR_Grassland::Do(), IRWinterOats::Do(), IRSpringBarley::Do(), IRSpringWheat::Do(), DE_Triticale::Do(), DE_WinterWheat::Do(), DE_WinterWheatLate::Do(), FR_WinterWheat::Do(), IRWinterWheat::Do(), FR_Potatoes::Do(), FR_WinterRape::Do(), DE_WinterRape::Do(), DE_Orchard::Do(), DK_SeedGrassFescue_Spring::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().
|
virtual |
Apply ammonium sulphate to a_field owned by an stock farmer.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, fa_ammoniumsulphate, g_weather, and Weather::Raining().
Referenced by UKMaize::Do(), DK_SpringOats::Do(), DK_SpringOats_CC::Do(), DK_SpringWheat::Do(), NLMaizeSpring::Do(), UKBeet::Do(), NLBeetSpring::Do(), NLMaize::Do(), UKSpringBarley::Do(), UKWinterBarley::Do(), NLCarrotsSpring::Do(), DK_OWinterRape::Do(), NLBeet::Do(), NLCarrots::Do(), NLCabbageSpring::Do(), NLSpringBarleySpring::Do(), DK_WinterBarley::Do(), NLCabbage::Do(), UKWinterWheat::Do(), WinterRyeStrigling::Do(), PLCarrots::Do(), UKWinterRape::Do(), WinterRye::Do(), NLSpringBarley::Do(), NLWinterWheat::Do(), PLSpringBarleySpr::Do(), DK_WinterWheat::Do(), DK_WinterWheat_CC::Do(), UKPotatoes::Do(), PLBeetSpr::Do(), PLBeans::Do(), DK_WinterRape::Do(), DE_Maize::Do(), DE_MaizeSilage::Do(), NLPotatoesSpring::Do(), DE_SpringBarley::Do(), PLWinterRye::Do(), PLSpringBarley::Do(), NLPotatoes::Do(), PLMaize::Do(), PLMaizeSilage::Do(), NLTulips::Do(), PLWinterTriticale::Do(), DE_WinterRye::Do(), PLBeet::Do(), PLWinterBarley::Do(), PLWinterWheat::Do(), DE_Carrots::Do(), PLWinterWheatLate::Do(), PLSpringWheat::Do(), PLPotatoes::Do(), DE_Oats::Do(), DE_Cabbage::Do(), DE_WinterBarley::Do(), DK_SeedGrassRye_Spring::Do(), DE_SpringRye::Do(), PLWinterRape::Do(), IRSpringOats::Do(), IRWinterOats::Do(), IRWinterBarley::Do(), IRSpringBarley::Do(), DE_Triticale::Do(), DE_WinterWheat::Do(), DE_WinterWheatLate::Do(), IRSpringWheat::Do(), IRWinterWheat::Do(), DE_WinterRape::Do(), DE_Orchard::Do(), DK_SeedGrassFescue_Spring::Do(), DE_SugarBeet::Do(), DE_Potatoes::Do(), and DE_PotatoesIndustry::Do().
|
virtual |
Apply soluble Boron to a_field owned by a stock farmer.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, fa_boron, g_weather, and Weather::Raining().
Referenced by DE_OWinterRape::Do(), DE_OSugarBeet::Do(), DE_OPotatoes::Do(), DE_OCarrots::Do(), DK_OCarrots::Do(), DK_Carrots_Spring::Do(), DK_Carrots::Do(), DK_WinterRape::Do(), DK_OOrchPear::Do(), DK_OOrchardCrop_Perm::Do(), DK_OOrchApple::Do(), DK_OOrchOther::Do(), DK_OrchPear::Do(), DK_OrchOther::Do(), DK_OrchApple::Do(), and DK_OrchardCrop_Perm::Do().
|
virtual |
Calcium applied on a_field owned by a stock farmer.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, fa_calcium, g_weather, and Weather::Raining().
Referenced by DK_WinterBarley::Do(), DK_WinterRye::Do(), DK_WinterRye_CC::Do(), PLCarrots::Do(), PLSpringBarleySpr::Do(), DK_OPotatoSeed::Do(), DK_OPotato::Do(), DK_OPotatoIndustry::Do(), DK_WinterWheat::Do(), DK_WinterWheat_CC::Do(), PTOats::Do(), PLBeetSpr::Do(), PLBeans::Do(), PTWinterWheat::Do(), PTWinterBarley::Do(), PTWinterRye::Do(), PTFodderMix::Do(), PTTriticale::Do(), PTRyegrass::Do(), PLWinterRye::Do(), PLMaizeSilage::Do(), PLSpringBarley::Do(), PLMaize::Do(), PLWinterTriticale::Do(), PTCloverGrassGrazed1::Do(), PLBeet::Do(), PLWinterBarley::Do(), PLWinterWheat::Do(), PLSpringWheat::Do(), PLWinterWheatLate::Do(), PTPermanentGrassGrazed::Do(), PLPotatoes::Do(), PLWinterRape::Do(), DE_SugarBeet::Do(), DE_Potatoes::Do(), DE_PotatoesIndustry::Do(), DE_OOrchard::Do(), DK_OChristmasTrees_Perm::Do(), and DK_ChristmasTrees_Perm::Do().
|
virtual |
Apply Cu fertilizer, on a_field owned by stock farmer (orchard)
References DO_IT_PROB, fa_cu, g_weather, and Weather::Raining().
Referenced by DK_OOrchApple::Do(), DK_OOrchardCrop_Perm::Do(), DK_OOrchOther::Do(), DK_OrchApple::Do(), DK_OrchardCrop_Perm::Do(), and DK_OrchOther::Do().
|
virtual |
Spread green manure on a_field owned by an stock farmer.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, fa_greenmanure, g_weather, and Weather::Raining().
|
virtual |
Apply K fertilizer, on a_field owned by stock farmer.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, fa_k, g_weather, and Weather::Raining().
Referenced by DE_WinterWheatLate::Do(), and DE_WinterRape::Do().
|
virtual |
Apply manganese sulphate to a_field owned by an stock farmer.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, fa_manganesesulphate, g_weather, and Weather::Raining().
Referenced by DE_OWinterRape::Do(), DE_OSugarBeet::Do(), DE_OPotatoes::Do(), NLCabbageSpring::Do(), DK_WinterBarley::Do(), NLCabbage::Do(), DK_WinterRye::Do(), DK_WinterRye_CC::Do(), UKWinterWheat::Do(), PLSpringBarleySpr::Do(), DK_WinterWheat_CC::Do(), DK_WinterWheat::Do(), DK_Potato::Do(), UKPotatoes::Do(), PLBeetSpr::Do(), PLBeans::Do(), DK_PotatoSeed::Do(), DK_PotatoIndustry::Do(), NLPotatoesSpring::Do(), PLWinterRye::Do(), NLPotatoes::Do(), PLMaize::Do(), PLMaizeSilage::Do(), PLSpringBarley::Do(), PLWinterTriticale::Do(), PLBeet::Do(), PLWinterWheat::Do(), PLWinterBarley::Do(), PLWinterWheatLate::Do(), PLSpringWheat::Do(), PLPotatoes::Do(), DE_Cabbage::Do(), PLWinterRape::Do(), DE_WinterRape::Do(), DE_SugarBeet::Do(), DE_Potatoes::Do(), and DE_PotatoesIndustry::Do().
|
virtual |
Spread manure on a_field owned by an stock farmer.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, fa_manure, g_weather, and Weather::Raining().
Referenced by WinterRapeStrigling::Do(), OSBarleySilage::Do(), NLCatchCropPea::Do(), OBarleyPeaCloverGrass::Do(), OMaizeSilage::Do(), OWinterBarleyExt::Do(), OWinterBarley::Do(), OWinterRye::Do(), DE_OSpringRye::Do(), DE_OOats::Do(), DE_OMaizeSilage::Do(), OOats::Do(), DE_OWinterWheat::Do(), OTriticale::Do(), DE_OMaize::Do(), Maize::Do(), DK_OCerealLegume_Whole::Do(), MaizeStrigling::Do(), MaizeSilage::Do(), OSpringBarleyExt::Do(), Oats::Do(), DK_Legume_Whole::Do(), DK_OSugarBeet::Do(), DK_OCerealLegume::Do(), OSpringBarley::Do(), SpringBarleyCloverGrassStrigling::Do(), FieldPeas::Do(), FieldPeasSilage::Do(), FieldPeasStrigling::Do(), DK_OFodderBeet::Do(), OPotatoes::Do(), DE_OWinterRape::Do(), OWinterWheat::Do(), OWinterWheatUndersown::Do(), OWinterWheatUndersownExt::Do(), SpringBarleyCloverGrass::Do(), OFodderBeet::Do(), OWinterRape::Do(), Triticale::Do(), DE_OSugarBeet::Do(), DE_OPotatoes::Do(), SpringBarleyPeaCloverGrassStrigling::Do(), DE_OCarrots::Do(), DK_OCarrots::Do(), FodderBeet::Do(), SpringBarleySKManagement::Do(), WinterRyeStrigling::Do(), SpringBarleySilage::Do(), DK_OGrassGrazed_Perm::Do(), SpringBarleyStriglingCulm::Do(), DK_GrassGrazed_Perm::Do(), SpringBarleyStrigling::Do(), SpringBarleyStriglingSingle::Do(), WinterRye::Do(), SpringBarleyPTreatment::Do(), DK_OMixedVeg::Do(), DE_PermanentGrassGrazed::Do(), PTCabbage::Do(), PTCabbage_Hort::Do(), SpringBarley::Do(), PTHorticulture::Do(), PTPotatoes::Do(), SpringRape::Do(), DK_OBushFruit_Perm2::Do(), WinterWheatStriglingSingle::Do(), WinterWheatStrigling::Do(), WinterWheatStriglingCulm::Do(), WinterRape::Do(), WinterBarleyStrigling::Do(), DE_OAsparagusEstablishedPlantation::Do(), WinterBarley::Do(), DK_OOrchCherry::Do(), DK_OSpringFodderGrass::Do(), DE_AsparagusEstablishedPlantation::Do(), DK_OCloverGrassGrazed3::Do(), DK_OCloverGrassGrazed1::Do(), DK_OCloverGrassGrazed2::Do(), NLTulips::Do(), DK_OOrchPear::Do(), DK_OWinterFodderGrass::Do(), DE_OTriticale::Do(), DE_OWinterRye::Do(), DK_OOrchApple::Do(), DK_OOrchardCrop_Perm::Do(), DE_OWinterBarley::Do(), DK_OOrchOther::Do(), DK_OWinterCloverGrassGrazedSown::Do(), DE_Triticale::Do(), DE_Orchard::Do(), WinterWheat::Do(), DK_OrchCherry::Do(), DK_OrchPear::Do(), DK_OrchardCrop_Perm::Do(), DK_OrchOther::Do(), DK_OrchApple::Do(), DE_OOrchard::Do(), DK_OChristmasTrees_Perm::Do(), and DK_ChristmasTrees_Perm::Do().
|
virtual |
Apply N fertilizer, on a_field owned by a stock farmer.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, fa_n, g_weather, and Weather::Raining().
Referenced by DE_HerbsPerennial_after1year::Do(), DE_HerbsPerennial_1year::Do(), DE_OHerbsPerennial_after1year::Do(), DE_OHerbsPerennial_1year::Do(), DE_OAsparagusEstablishedPlantation::Do(), DE_AsparagusEstablishedPlantation::Do(), and DK_BushFruit_Perm1::Do().
|
virtual |
Apply NK fertilizer, on a_field owned by an stock farmer.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, fa_nk, g_weather, and Weather::Raining().
Referenced by DK_OBushFruit_Perm1::Do().
|
virtual |
Apply NPK fertilizer to a_field owned by an stock farmer.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, fa_npk, g_weather, and Weather::Raining().
Referenced by OMaizeSilage::Do(), PermanentGrassGrazed::Do(), Maize::Do(), OTriticale::Do(), MaizeSilage::Do(), MaizeStrigling::Do(), SpringBarleyCloverGrassStrigling::Do(), OFodderBeet::Do(), SpringBarleyCloverGrass::Do(), Triticale::Do(), UKBeet::Do(), Carrots::Do(), NLBeetSpring::Do(), DE_OBushFruitPerm::Do(), DK_WinterFodderGrass::Do(), UKSpringBarley::Do(), SpringBarleyPeaCloverGrassStrigling::Do(), NLCarrotsSpring::Do(), NLPermanentGrassGrazedExtensive::Do(), NLGrassGrazedExtensive2::Do(), DK_SpringFodderGrass::Do(), NLBeet::Do(), DK_WinterCloverGrassGrazedSown::Do(), NLGrassGrazedExtensiveLast::Do(), NLCarrots::Do(), NLGrassGrazedExtensive1Spring::Do(), NLSpringBarleySpring::Do(), PotatoesIndustry::Do(), DK_WinterBarley::Do(), NLCabbageSpring::Do(), SugarBeet::Do(), FodderBeet::Do(), NorwegianPotatoes::Do(), Potatoes::Do(), DK_WinterRye_CC::Do(), NLCabbage::Do(), SpringBarleySKManagement::Do(), DK_Carrots_Spring::Do(), NLGrassGrazedExtensive1::Do(), DK_WinterRye::Do(), PLCarrots::Do(), SpringBarleySilage::Do(), SpringBarleySpr::Do(), DK_Carrots::Do(), NLSpringBarley::Do(), SpringBarleyStriglingSingle::Do(), SpringBarleyPTreatment::Do(), SpringBarleyStrigling::Do(), UKWinterRape::Do(), SpringBarleyStriglingCulm::Do(), PLSpringBarleySpr::Do(), PTBeans::Do(), DK_OPotato::Do(), DK_WinterWheat::Do(), DK_WinterWheat_CC::Do(), DK_OPotatoSeed::Do(), DK_OPotatoIndustry::Do(), PTCabbage::Do(), PTCabbage_Hort::Do(), PTOtherDryBeans::Do(), SpringBarley::Do(), PLFodderLucerne1::Do(), PTHorticulture::Do(), DK_Potato::Do(), UKPermanentGrass::Do(), UKPotatoes::Do(), UKTempGrass::Do(), PTPotatoes::Do(), DK_OSeedGrassRye_Spring::Do(), PTOats::Do(), NLPermanentGrassGrazed::Do(), NLGrassGrazed2::Do(), WinterWheatStriglingCulm::Do(), NLGrassGrazedLast::Do(), FI_GreenFallow_Perm::Do(), NLGrassGrazed1Spring::Do(), WinterWheatStriglingSingle::Do(), WinterWheatStrigling::Do(), PTWinterWheat::Do(), FI_BufferZone::Do(), FI_BufferZone_Perm::Do(), PTMaize::Do(), PTWinterBarley::Do(), PTWinterRye::Do(), PTMaize_Hort::Do(), FI_NaturalGrassland::Do(), PTFodderMix::Do(), PTCloverGrassGrazed2::Do(), PTTriticale::Do(), ITGrassland::Do(), PTGrassGrazed::Do(), PTSorghum::Do(), PTYellowLupin::Do(), WinterBarleyStrigling::Do(), DK_PotatoSeed::Do(), DE_BushFruitPerm::Do(), NLGrassGrazed1::Do(), FI_GrasslandPasturePerennial2::Do(), DK_PotatoIndustry::Do(), WinterBarley::Do(), PTRyegrass::Do(), NLPotatoesSpring::Do(), FI_GrasslandSilagePerennial2::Do(), DK_OBushFruit_Perm1::Do(), NLPotatoes::Do(), PLSpringBarley::Do(), PTCloverGrassGrazed1::Do(), DE_Carrots::Do(), PTPermanentGrassGrazed::Do(), DK_BushFruit_Perm1::Do(), DE_Cabbage::Do(), DE_Oats::Do(), DE_SpringRye::Do(), DE_GrasslandSilageAnnual::Do(), DK_BushFruit_Perm2::Do(), IRSpringOats::Do(), IRSpringBarley::Do(), IRSpringWheat::Do(), DE_WinterRape::Do(), DE_Orchard::Do(), DK_SeedGrassFescue_Spring::Do(), WinterWheat::Do(), IRGrassland_no_reseed::Do(), DE_OOrchard::Do(), IRGrassland_reseed::Do(), ITOrchard::Do(), DK_OChristmasTrees_Perm::Do(), ITOOrchard::Do(), and DK_ChristmasTrees_Perm::Do().
|
virtual |
Apply NPKS fertilizer, on a_field owned by a stock farmer.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, fa_npks, g_weather, and Weather::Raining().
Referenced by DK_OVegSeeds::Do(), DK_SpringBarleyCloverGrass::Do(), DK_SpringBarley_CC::Do(), DK_SpringBarley::Do(), DK_VegSeeds::Do(), DK_MixedVeg::Do(), PLWinterRye::Do(), PLSpringBarley::Do(), PLWinterTriticale::Do(), PLWinterWheat::Do(), PLWinterBarley::Do(), PLWinterWheatLate::Do(), PLSpringWheat::Do(), PLPotatoes::Do(), PLWinterRape::Do(), IRGrassland_no_reseed::Do(), IRGrassland_reseed::Do(), ITOrchard::Do(), and ITOOrchard::Do().
|
virtual |
Apply P fertilizer, on a_field owned by stock farmer.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, fa_p, g_weather, and Weather::Raining().
Referenced by DE_WinterWheatLate::Do().
|
virtual |
Apply PK fertilizer to a_field owned by an stock farmer.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, fa_pk, g_weather, and Weather::Raining().
Referenced by UKBeans::Do(), PLFodderLucerne2::Do(), DK_WinterRye_CC::Do(), DK_WinterRye::Do(), PLCarrots::Do(), NLWinterWheat::Do(), PLFodderLucerne1::Do(), DE_HerbsPerennial_after1year::Do(), DE_HerbsPerennial_1year::Do(), DE_OHerbsPerennial_after1year::Do(), PLBeetSpr::Do(), PLBeans::Do(), DE_OHerbsPerennial_1year::Do(), DE_OAsparagusEstablishedPlantation::Do(), PLWinterRye::Do(), DE_SpringBarley::Do(), DE_AsparagusEstablishedPlantation::Do(), PLMaize::Do(), PLMaizeSilage::Do(), NLTulips::Do(), PLWinterTriticale::Do(), DE_WinterRye::Do(), PLWinterWheat::Do(), PLBeet::Do(), PLWinterBarley::Do(), PLSpringWheat::Do(), PLWinterWheatLate::Do(), PLPotatoes::Do(), DK_BushFruit_Perm1::Do(), DE_WinterBarley::Do(), DE_GrasslandSilageAnnual::Do(), DK_BushFruit_Perm2::Do(), IRWinterOats::Do(), IRWinterBarley::Do(), DE_WinterWheat::Do(), DE_Triticale::Do(), FR_WinterRape::Do(), IRWinterWheat::Do(), DE_Orchard::Do(), DE_SugarBeet::Do(), DE_Potatoes::Do(), and DE_PotatoesIndustry::Do().
|
virtual |
Apply PKS fertilizer to a_field owned by an stock farmer.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, fa_pks, g_weather, and Weather::Raining().
Referenced by DE_OPeas::Do(), and DE_OLegume::Do().
|
virtual |
RSM (ammonium nitrate solution) applied on a_field owned by a stock farmer.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, fa_rsm, g_weather, and Weather::Raining().
Referenced by PLSpringBarleySpr::Do(), PLWinterRye::Do(), PLMaize::Do(), PLMaizeSilage::Do(), PLSpringBarley::Do(), PLWinterTriticale::Do(), PLWinterWheat::Do(), PLWinterBarley::Do(), PLSpringWheat::Do(), PLWinterWheatLate::Do(), and PLWinterRape::Do().
|
virtual |
Apply SK fertilizer, on a_field owned by an stock farmer.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, fa_sk, g_weather, and Weather::Raining().
Referenced by DK_Legume_Peas::Do(), DK_OLegume_Peas_CC::Do(), DK_OLegume_Beans::Do(), DK_OLegume_Beans_CC::Do(), DK_OLentils::Do(), DK_OLegume_Peas::Do(), DK_OLupines::Do(), DK_Legume_Beans::Do(), DK_OLegume_Whole::Do(), DK_OLegume_Whole_CC::Do(), DK_OLegumeCloverGrass_Whole::Do(), DK_OSpringFodderGrass::Do(), DE_Peas::Do(), DE_Legumes::Do(), DK_OWinterFodderGrass::Do(), and DK_OWinterCloverGrassGrazedSown::Do().
|
virtual |
Spread sewege sludge on a_field owned by an stock farmer.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, fa_sludge, g_weather, and Weather::Raining().
Referenced by WinterRyeStrigling::Do(), and WinterRye::Do().
|
virtual |
Spready slurry on a_field owned by an stock farmer.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, fa_slurry, g_weather, and Weather::Raining().
Referenced by UKMaize::Do(), OSBarleySilage::Do(), NLCatchCropPea::Do(), OPermanentGrassGrazed::Do(), OCarrots::Do(), DK_CerealLegume::Do(), DK_CerealLegume_Whole::Do(), OBarleyPeaCloverGrass::Do(), OMaizeSilage::Do(), DK_SpringBarley_Green::Do(), OWinterBarleyExt::Do(), DK_SpringBarleySilage::Do(), OWinterBarley::Do(), DK_OSpringBarleyCloverGrass::Do(), DK_MaizeSilage::Do(), OWinterRye::Do(), DK_OWinterRye::Do(), DE_OMaizeSilage::Do(), DK_SpringOats::Do(), DK_SpringOats_CC::Do(), OOats::Do(), DK_OSpringBarley_CC::Do(), DK_OWinterRye_CC::Do(), Maize::Do(), MaizeSilage::Do(), DE_OMaize::Do(), MaizeStrigling::Do(), DE_OWinterWheat::Do(), OTriticale::Do(), DK_OWinterBarley::Do(), DK_Maize::Do(), Oats::Do(), DK_SpringWheat::Do(), OSpringBarleyExt::Do(), DK_OSpringBarley::Do(), OSpringBarley::Do(), SpringBarleyCloverGrassStrigling::Do(), OPotatoes::Do(), OWinterWheat::Do(), OWinterWheatUndersown::Do(), OWinterWheatUndersownExt::Do(), SpringBarleyCloverGrass::Do(), OFodderBeet::Do(), DK_OSpringOats::Do(), DK_OSpringWheat::Do(), Triticale::Do(), OWinterRape::Do(), Carrots::Do(), DK_SpringBarleyCloverGrass::Do(), NLMaize::Do(), DE_OCabbages::Do(), DK_OSpringOats_CC::Do(), UKSpringBarley::Do(), UKWinterBarley::Do(), DK_WinterFodderGrass::Do(), SpringBarleyPeaCloverGrassStrigling::Do(), DK_OWinterRape::Do(), DE_OPotatoes::Do(), DK_SpringBarley::Do(), DK_SpringBarley_CC::Do(), DK_OMaize::Do(), DK_OMaizeSilage::Do(), DK_OSpringBarleySilage::Do(), NLGrassGrazedExtensive2::Do(), NLPermanentGrassGrazedExtensive::Do(), DK_SpringFodderGrass::Do(), DK_OEnergyCrop_Perm::Do(), DK_WinterCloverGrassGrazedSown::Do(), NLGrassGrazedExtensive1Spring::Do(), NLGrassGrazedExtensiveLast::Do(), PotatoesIndustry::Do(), SugarBeet::Do(), DK_WinterBarley::Do(), Potatoes::Do(), FodderBeet::Do(), NorwegianPotatoes::Do(), DK_EnergyCrop_Perm::Do(), SpringBarleySKManagement::Do(), NLCabbage::Do(), NLGrassGrazedExtensive1::Do(), DK_WinterRye::Do(), DK_WinterRye_CC::Do(), SpringBarleySilage::Do(), UKWinterWheat::Do(), WinterRyeStrigling::Do(), WinterRye::Do(), SpringBarleyStrigling::Do(), SpringBarleyStriglingSingle::Do(), UKWinterRape::Do(), SpringBarleyPTreatment::Do(), SpringBarleyStriglingCulm::Do(), NLSpringBarley::Do(), NLWinterWheat::Do(), DK_OMixedVeg::Do(), DE_PermanentGrassGrazed::Do(), SpringBarley::Do(), DK_WinterWheat::Do(), DK_WinterWheat_CC::Do(), PLFodderLucerne1::Do(), UKPermanentGrass::Do(), UKPotatoes::Do(), UKTempGrass::Do(), PTOats::Do(), DK_OBushFruit_Perm2::Do(), NLGrassGrazed2::Do(), NLPermanentGrassGrazed::Do(), WinterWheatStriglingSingle::Do(), WinterWheatStrigling::Do(), NLGrassGrazed1Spring::Do(), NLGrassGrazedLast::Do(), WinterWheatStriglingCulm::Do(), FI_GreenFallow_Perm::Do(), PLBeans::Do(), DE_OGrasslandSilageAnnual::Do(), FI_BufferZone_Perm::Do(), PTWinterBarley::Do(), PTWinterRye::Do(), PTWinterWheat::Do(), FI_BufferZone::Do(), FI_NaturalGrassland::Do(), PTTriticale::Do(), DK_WinterRape::Do(), PTYellowLupin::Do(), WinterBarleyStrigling::Do(), FI_OCaraway1::Do(), NLGrassGrazed1::Do(), DE_Maize::Do(), FI_GrasslandPasturePerennial1::Do(), FI_GrasslandSilagePerennial1::Do(), DE_MaizeSilage::Do(), PTRyegrass::Do(), WinterBarley::Do(), FI_OSpringBarley_Fodder::Do(), PLWinterRye::Do(), FI_GrasslandSilagePerennial2::Do(), DK_OOrchCherry::Do(), FI_GrasslandSilageAnnual::Do(), DK_OWinterWheat_CC::Do(), PLMaize::Do(), PLSpringBarley::Do(), NLPotatoes::Do(), PLMaizeSilage::Do(), DK_OWinterWheat::Do(), FI_Caraway1::Do(), FR_Sunflower::Do(), PTCloverGrassGrazed1::Do(), SE_SpringBarley::Do(), PLWinterTriticale::Do(), DE_OTriticale::Do(), DE_OWinterRye::Do(), PLWinterBarley::Do(), FI_SprSpringBarley_Fodder::Do(), PLBeet::Do(), DE_OWinterBarley::Do(), PLWinterWheat::Do(), PLWinterWheatLate::Do(), PLSpringWheat::Do(), PTPermanentGrassGrazed::Do(), FI_SpringBarley_Fodder::Do(), PLPotatoes::Do(), DE_Cabbage::Do(), DE_Oats::Do(), DE_SpringRye::Do(), PLWinterRape::Do(), DE_GrasslandSilageAnnual::Do(), IRWinterOats::Do(), IRWinterBarley::Do(), IRSpringOats::Do(), IRSpringBarley::Do(), IRSpringWheat::Do(), IRWinterWheat::Do(), WinterWheat::Do(), DE_SugarBeet::Do(), DK_OrchCherry::Do(), IRGrassland_no_reseed::Do(), DE_Potatoes::Do(), DE_PotatoesIndustry::Do(), and IRGrassland_reseed::Do().
|
virtual |
FarmActions() will use the global date to manage all queued field events.
Starts the main management loop for the farm and performs some error checking.
The main crop management events are done in HandleEvents by the crop management method within CropManagement. This calls all the fields and actions any events on the queue. Subsequently there are some checks for runaway or stuck management codes The FarmerBehaviour section allows for implementation of Farmer behaviour - it implements the Step code of the animals populations approach to allow for complex behaviours to be added.
References count, g_msg, MapErrorMsg::Warn(), and WARN_BUG.
bool Farm::FarmerActions | ( | void | ) |
The starting point for farmer behaviour not part of crop management e.g. decision making.
Call farmer behaviour each day.
This is called each day and call the farmer Step method to exhibit behaviour. This is a simplified form of the animal behaviour but could be expanded by adding BeginStep and EndStep. When a farmer is done for the day GetStepDone returns true.
|
virtual |
Fiber covering applied on a_field.
References DO_IT_PROB, fiber_covering, g_weather, and Weather::Raining().
Referenced by DK_MixedVeg::Do(), and DK_BushFruit_Perm1::Do().
|
virtual |
Fiber covering removed from a_field.
References DO_IT_PROB, fiber_removal, g_weather, and Weather::Raining().
Referenced by DK_MixedVeg::Do(), and DK_BushFruit_Perm1::Do().
|
virtual |
Flower cutting applied on a_field.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, flower_cutting, g_weather, Weather::Raining(), and LE::SetVegHeight().
Referenced by NLTulips::Do().
|
virtual |
Apply Ammonium Sulphate to a_field owned by an arable farmer.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, fp_ammoniumsulphate, g_weather, and Weather::Raining().
Referenced by UKMaize::Do(), DK_SpringOats::Do(), DK_SpringOats_CC::Do(), DK_SpringWheat::Do(), NLMaizeSpring::Do(), UKBeet::Do(), NLBeetSpring::Do(), NLMaize::Do(), UKSpringBarley::Do(), UKWinterBarley::Do(), DK_OWinterRape::Do(), NLCarrotsSpring::Do(), NLBeet::Do(), NLCarrots::Do(), NLCabbageSpring::Do(), DK_WinterBarley::Do(), NLSpringBarleySpring::Do(), NLCabbage::Do(), UKWinterWheat::Do(), PLCarrots::Do(), UKWinterRape::Do(), NLSpringBarley::Do(), PLSpringBarleySpr::Do(), NLWinterWheat::Do(), DK_WinterWheat::Do(), DK_WinterWheat_CC::Do(), UKPotatoes::Do(), PLBeetSpr::Do(), PLBeans::Do(), DK_WinterRape::Do(), DE_Maize::Do(), DE_MaizeSilage::Do(), NLPotatoesSpring::Do(), PLWinterRye::Do(), DE_SpringBarley::Do(), NLPotatoes::Do(), PLMaize::Do(), PLMaizeSilage::Do(), PLSpringBarley::Do(), FR_WinterTriticale::Do(), NLTulips::Do(), PLWinterTriticale::Do(), DE_WinterRye::Do(), PLWinterBarley::Do(), PLWinterWheat::Do(), PLBeet::Do(), PLSpringWheat::Do(), PLWinterWheatLate::Do(), DE_Carrots::Do(), PLPotatoes::Do(), FR_SpringWheat::Do(), DE_Cabbage::Do(), DE_Oats::Do(), DE_WinterBarley::Do(), DK_SeedGrassRye_Spring::Do(), DE_SpringRye::Do(), PLWinterRape::Do(), FI_WinterWheat::Do(), FR_WinterBarley::Do(), IRWinterOats::Do(), IRSpringOats::Do(), IRSpringBarley::Do(), IRWinterBarley::Do(), IRSpringWheat::Do(), DE_WinterWheatLate::Do(), DE_Triticale::Do(), DE_WinterWheat::Do(), FI_WinterRye::Do(), FR_WinterWheat::Do(), IRWinterWheat::Do(), FR_Potatoes::Do(), FR_WinterRape::Do(), DE_WinterRape::Do(), DE_Orchard::Do(), DK_SeedGrassFescue_Spring::Do(), DE_SugarBeet::Do(), DE_Potatoes::Do(), and DE_PotatoesIndustry::Do().
|
virtual |
Apply soluble Boron to a_field owned by an arable farmer.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, fp_boron, g_weather, and Weather::Raining().
Referenced by DE_OWinterRape::Do(), DE_OSugarBeet::Do(), DE_OPotatoes::Do(), DE_OCarrots::Do(), DK_OCarrots::Do(), DK_Carrots_Spring::Do(), DK_Carrots::Do(), DK_WinterRape::Do(), DK_OOrchPear::Do(), DK_OOrchardCrop_Perm::Do(), DK_OOrchApple::Do(), DK_OOrchOther::Do(), DK_OrchPear::Do(), DK_OrchOther::Do(), DK_OrchApple::Do(), and DK_OrchardCrop_Perm::Do().
|
virtual |
Calcium applied on a_field owned by an arable farmer.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, fp_calcium, g_weather, and Weather::Raining().
Referenced by DK_WinterBarley::Do(), DK_WinterRye::Do(), DK_WinterRye_CC::Do(), PLCarrots::Do(), PLSpringBarleySpr::Do(), DK_OPotatoSeed::Do(), DK_OPotato::Do(), DK_OPotatoIndustry::Do(), DK_WinterWheat::Do(), DK_WinterWheat_CC::Do(), PTOats::Do(), PLBeetSpr::Do(), PLBeans::Do(), PTWinterBarley::Do(), PTWinterWheat::Do(), PTWinterRye::Do(), PTFodderMix::Do(), PTTriticale::Do(), PTRyegrass::Do(), PLWinterRye::Do(), FR_Maize_Silage::Do(), PLMaize::Do(), PLMaizeSilage::Do(), PLSpringBarley::Do(), FR_Sunflower::Do(), PLWinterTriticale::Do(), PTCloverGrassGrazed1::Do(), PLWinterWheat::Do(), PLBeet::Do(), PLWinterBarley::Do(), PLWinterWheatLate::Do(), PLSpringWheat::Do(), PTPermanentGrassGrazed::Do(), PLPotatoes::Do(), PLWinterRape::Do(), FR_WinterRape::Do(), DE_SugarBeet::Do(), DE_Potatoes::Do(), DE_PotatoesIndustry::Do(), DE_OOrchard::Do(), DK_OChristmasTrees_Perm::Do(), and DK_ChristmasTrees_Perm::Do().
|
virtual |
Apply Cu fertilizer, on a_field owned by plant farmer (orchard)
References DO_IT_PROB, fp_cu, g_weather, and Weather::Raining().
Referenced by DK_OOrchApple::Do(), DK_OOrchardCrop_Perm::Do(), DK_OOrchOther::Do(), DK_OrchApple::Do(), DK_OrchardCrop_Perm::Do(), and DK_OrchOther::Do().
|
virtual |
Spread green manure on a_field owned by an arable farmer.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, fp_greenmanure, g_weather, and Weather::Raining().
|
virtual |
Apply K fertilizer, on a_field owned by an arable farmer.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, fp_k, g_weather, and Weather::Raining().
Referenced by DE_WinterWheatLate::Do(), and DE_WinterRape::Do().
|
virtual |
Apply liquid ammonia fertilizer to a_field owned by an arable farmer.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, fp_liquidNH3, g_weather, and Weather::Raining().
Referenced by SpringBarleySeed::Do(), SpringBarleySKManagement::Do(), SpringBarleySilage::Do(), SpringBarleySpr::Do(), SpringBarleyPTreatment::Do(), SpringBarleyStriglingSingle::Do(), SpringBarleyStriglingCulm::Do(), SpringBarleyStrigling::Do(), and SpringBarley::Do().
|
virtual |
Apply Manganse Sulphate to a_field owned by an arable farmer.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, fp_manganesesulphate, g_weather, and Weather::Raining().
Referenced by DE_OWinterRape::Do(), DE_OSugarBeet::Do(), DK_OVegSeeds::Do(), DE_OPotatoes::Do(), NLCabbageSpring::Do(), DK_WinterBarley::Do(), DK_VegSeeds::Do(), DK_WinterRye_CC::Do(), NLCabbage::Do(), DK_WinterRye::Do(), UKWinterWheat::Do(), WinterRyeStrigling::Do(), WinterRye::Do(), PLSpringBarleySpr::Do(), DK_WinterWheat::Do(), DK_WinterWheat_CC::Do(), UKPotatoes::Do(), DK_Potato::Do(), PLBeetSpr::Do(), WinterWheatStriglingSingle::Do(), PLBeans::Do(), WinterWheatStrigling::Do(), WinterWheatStriglingCulm::Do(), WinterBarleyStrigling::Do(), DK_PotatoSeed::Do(), DK_PotatoIndustry::Do(), WinterBarley::Do(), NLPotatoesSpring::Do(), PLWinterRye::Do(), PLMaizeSilage::Do(), PLMaize::Do(), PLSpringBarley::Do(), NLPotatoes::Do(), PLWinterTriticale::Do(), PLWinterBarley::Do(), PLWinterWheat::Do(), PLBeet::Do(), PLSpringWheat::Do(), PLWinterWheatLate::Do(), PLPotatoes::Do(), DE_Cabbage::Do(), PLWinterRape::Do(), DE_WinterRape::Do(), WinterWheat::Do(), DE_SugarBeet::Do(), DE_Potatoes::Do(), and DE_PotatoesIndustry::Do().
|
virtual |
Spread manure on a_field owned by an arable farmer.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, fp_manure, g_weather, and Weather::Raining().
Referenced by NLCatchCropPea::Do(), OWinterBarleyExt::Do(), OWinterBarley::Do(), OWinterRye::Do(), DE_OMaizeSilage::Do(), DE_OMaize::Do(), DK_OCerealLegume_Whole::Do(), DE_OWinterWheat::Do(), OSpringBarleyExt::Do(), DK_Legume_Whole::Do(), DK_OSugarBeet::Do(), DK_OCerealLegume::Do(), OSpringBarley::Do(), FieldPeas::Do(), FieldPeasSilage::Do(), FieldPeasStrigling::Do(), DK_OFodderBeet::Do(), OPotatoes::Do(), DE_OWinterRape::Do(), OWinterWheat::Do(), OWinterWheatUndersown::Do(), OWinterWheatUndersownExt::Do(), OWinterRape::Do(), DE_OSugarBeet::Do(), DE_OPotatoes::Do(), DE_OCarrots::Do(), DK_OCarrots::Do(), DK_OGrassGrazed_Perm::Do(), DK_Cabbages::Do(), DK_GrassGrazed_Perm::Do(), DK_OMixedVeg::Do(), PTCabbage::Do(), PTCabbage_Hort::Do(), DE_PermanentGrassGrazed::Do(), PTHorticulture::Do(), PTPotatoes::Do(), DK_OBushFruit_Perm2::Do(), FR_SpringBarley::Do(), DE_OAsparagusEstablishedPlantation::Do(), FR_SpringOats::Do(), DK_OOrchCherry::Do(), DK_OSpringFodderGrass::Do(), DE_AsparagusEstablishedPlantation::Do(), FR_Maize::Do(), FR_Maize_Silage::Do(), DK_OCloverGrassGrazed3::Do(), DK_OCloverGrassGrazed1::Do(), DK_OCloverGrassGrazed2::Do(), NLTulips::Do(), SE_SpringBarley::Do(), FR_Sunflower::Do(), DE_OWinterRye::Do(), DK_OOrchPear::Do(), DE_OTriticale::Do(), DK_OWinterFodderGrass::Do(), DK_OWinterCloverGrassGrazedSown::Do(), DK_OOrchardCrop_Perm::Do(), DK_OOrchOther::Do(), DE_OWinterBarley::Do(), DK_OOrchApple::Do(), FR_SpringWheat::Do(), DE_Triticale::Do(), FR_Potatoes::Do(), DE_Orchard::Do(), DK_OrchCherry::Do(), DK_OrchPear::Do(), DK_OrchOther::Do(), DK_OrchApple::Do(), DK_OrchardCrop_Perm::Do(), DE_OOrchard::Do(), DK_OChristmasTrees_Perm::Do(), and DK_ChristmasTrees_Perm::Do().
|
virtual |
Apply N fertilizer, on a_field owned by an arable farmer.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, fp_n, g_weather, and Weather::Raining().
Referenced by FR_Grassland_Perm::Do(), DE_HerbsPerennial_after1year::Do(), DE_HerbsPerennial_1year::Do(), DE_OHerbsPerennial_after1year::Do(), DE_OHerbsPerennial_1year::Do(), DE_OAsparagusEstablishedPlantation::Do(), DE_AsparagusEstablishedPlantation::Do(), FR_Maize::Do(), FR_Maize_Silage::Do(), FR_Sunflower::Do(), DK_BushFruit_Perm1::Do(), FR_Grassland::Do(), and FR_WinterRape::Do().
|
virtual |
Apply NC fertilizer, on a_field owned by an arable farmer.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, fp_nc, g_weather, and Weather::Raining().
Referenced by FR_SpringWheat::Do(), and SE_WinterWheat::Do().
|
virtual |
Apply NK fertilizer, on a_field owned by an arable farmer.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, fp_nk, g_weather, and Weather::Raining().
Referenced by FI_OCaraway2::Do(), FI_Caraway2::Do(), and DK_OBushFruit_Perm1::Do().
|
virtual |
Apply NPK fertilizer, on a_field owned by an arable farmer.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, fp_npk, g_weather, and Weather::Raining().
Referenced by OSeedGrass1::Do(), OSeedGrass2::Do(), SeedGrass1::Do(), PermanentGrassGrazed::Do(), SeedGrass2::Do(), FI_SugarBeet::Do(), SpringBarleySeed::Do(), UKBeet::Do(), Carrots::Do(), NLBeetSpring::Do(), DK_WinterFodderGrass::Do(), UKSpringBarley::Do(), DE_OBushFruitPerm::Do(), NLCarrotsSpring::Do(), DK_SpringFodderGrass::Do(), DK_WinterCloverGrassGrazedSown::Do(), NLGrassGrazedExtensive2::Do(), NLPermanentGrassGrazedExtensive::Do(), DK_OEnergyCrop_Perm::Do(), NLBeet::Do(), NLCarrots::Do(), NLGrassGrazedExtensive1Spring::Do(), NLGrassGrazedExtensiveLast::Do(), NLCabbageSpring::Do(), DK_WinterBarley::Do(), NLSpringBarleySpring::Do(), PotatoesIndustry::Do(), NorwegianPotatoes::Do(), Potatoes::Do(), PTOliveGroveIntensive::Do(), DK_EnergyCrop_Perm::Do(), NLGrassGrazedExtensive1::Do(), DK_Carrots_Spring::Do(), DK_WinterRye::Do(), DK_WinterRye_CC::Do(), NLCabbage::Do(), SpringBarleySKManagement::Do(), WinterRyeStrigling::Do(), PLCarrots::Do(), SpringBarleySilage::Do(), DK_Carrots::Do(), SpringBarleySpr::Do(), SpringBarleyStriglingSingle::Do(), UKWinterRape::Do(), WinterRye::Do(), SpringBarleyStriglingCulm::Do(), NLSpringBarley::Do(), SpringBarleyPTreatment::Do(), SpringBarleyStrigling::Do(), PLSpringBarleySpr::Do(), PTBeans::Do(), PTOliveGroveSuperIntensive::Do(), DK_WinterWheat::Do(), DK_WinterWheat_CC::Do(), DK_OPotato::Do(), FI_OCaraway2::Do(), PTCabbage::Do(), PTCabbage_Hort::Do(), DK_OPotatoIndustry::Do(), DK_OPotatoSeed::Do(), PTOtherDryBeans::Do(), SpringBarley::Do(), PLFodderLucerne1::Do(), PTHorticulture::Do(), UKPermanentGrass::Do(), UKPotatoes::Do(), DK_Potato::Do(), UKTempGrass::Do(), PTOliveGroveTraditional::Do(), PTPotatoes::Do(), FI_Caraway2::Do(), PTOats::Do(), DK_OSeedGrassRye_Spring::Do(), NLGrassGrazed2::Do(), NLPermanentGrassGrazed::Do(), NLGrassGrazed1Spring::Do(), WinterWheatStriglingCulm::Do(), NLGrassGrazedLast::Do(), WinterWheatStrigling::Do(), WinterWheatStriglingSingle::Do(), PTMaize::Do(), PTMaize_Hort::Do(), PTWinterRye::Do(), PTWinterWheat::Do(), PTWinterBarley::Do(), PTFodderMix::Do(), PTCloverGrassGrazed2::Do(), PTTriticale::Do(), ITGrassland::Do(), DK_PotatoSeed::Do(), PTYellowLupin::Do(), BEPotatoesSpring::Do(), PTGrassGrazed::Do(), PTSorghum::Do(), WinterBarleyStrigling::Do(), NLGrassGrazed1::Do(), FI_OCaraway1::Do(), DE_BushFruitPerm::Do(), DK_PotatoIndustry::Do(), WinterBarley::Do(), NLPotatoesSpring::Do(), PTRyegrass::Do(), DK_OOrchCherry::Do(), DK_OBushFruit_Perm1::Do(), FI_GrasslandSilageAnnual::Do(), FR_Sorghum::Do(), FR_Maize_Silage::Do(), FR_Maize::Do(), NLPotatoes::Do(), PLSpringBarley::Do(), FI_Caraway1::Do(), PTCloverGrassGrazed1::Do(), SE_SpringBarley::Do(), DE_Carrots::Do(), DK_BushFruit_Perm1::Do(), SE_WinterRape_Seed::Do(), PTPermanentGrassGrazed::Do(), DE_Oats::Do(), DE_Cabbage::Do(), FR_SpringWheat::Do(), DE_SpringRye::Do(), PTVineyards::Do(), DE_GrasslandSilageAnnual::Do(), DK_BushFruit_Perm2::Do(), FR_WinterBarley::Do(), IRSpringBarley::Do(), IRSpringOats::Do(), FR_Grassland::Do(), FR_WinterWheat::Do(), IRSpringWheat::Do(), DE_WinterRape::Do(), DE_Orchard::Do(), DK_SeedGrassFescue_Spring::Do(), WinterWheat::Do(), DK_OrchCherry::Do(), IRGrassland_no_reseed::Do(), DE_OOrchard::Do(), IRGrassland_reseed::Do(), ITOrchard::Do(), DK_OChristmasTrees_Perm::Do(), ITOOrchard::Do(), and DK_ChristmasTrees_Perm::Do().
|
virtual |
Apply NPKS fertilizer, on a_field owned by an arable farmer.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, fp_npks, g_weather, and Weather::Raining().
Referenced by WinterRapeStrigling::Do(), DK_CerealLegume_Whole::Do(), DK_CerealLegume::Do(), FI_OPotato_South::Do(), FI_OPotatoIndustry_North::Do(), FI_OPotatoIndustry_South::Do(), FI_OStarchPotato_North::Do(), FI_OStarchPotato_South::Do(), DK_SpringBarley_Green::Do(), FI_OPotato_North::Do(), DK_SpringBarleySilage::Do(), FI_SugarBeet::Do(), FI_Potato_North::Do(), FI_StarchPotato_North::Do(), FI_PotatoIndustry_North::Do(), FI_PotatoIndustry_South::Do(), FI_Potato_South::Do(), FI_StarchPotato_South::Do(), DK_SpringBarleyCloverGrass::Do(), DK_OVegSeeds::Do(), DK_SpringBarley::Do(), DK_SpringBarley_CC::Do(), DK_VegSeeds::Do(), SpringRape::Do(), DK_MixedVeg::Do(), FI_OSpringBarley_Malt::Do(), WinterRape::Do(), FI_OFabaBean::Do(), FR_SpringBarley::Do(), FI_OSpringOats::Do(), FI_OSpringRape::Do(), FI_OSpringWheat::Do(), FI_GrasslandPasturePerennial1::Do(), FI_GrasslandSilagePerennial1::Do(), FI_OTurnipRape::Do(), FR_SpringOats::Do(), FI_OSpringBarley_Fodder::Do(), PLWinterRye::Do(), FI_TurnipRape::Do(), FR_Maize_Silage::Do(), FI_FabaBean::Do(), PLSpringBarley::Do(), FI_SpringRape::Do(), FI_OWinterRye::Do(), FI_SpringBarley_Malt::Do(), PLWinterTriticale::Do(), FI_OWinterWheat::Do(), FI_SprSpringBarley_Fodder::Do(), PLWinterWheat::Do(), FI_SpringWheat::Do(), PLWinterBarley::Do(), PLWinterWheatLate::Do(), PLSpringWheat::Do(), FI_SpringOats::Do(), FI_SpringBarley_Fodder::Do(), PLPotatoes::Do(), PLWinterRape::Do(), FI_WinterWheat::Do(), FI_WinterRye::Do(), IRGrassland_no_reseed::Do(), IRGrassland_reseed::Do(), ITOrchard::Do(), and ITOOrchard::Do().
|
virtual |
Apply NS fertilizer, on a_field owned by an arable farmer.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, fp_ns, g_weather, and Weather::Raining().
Referenced by SE_SpringBarley::Do(), SE_WinterRape_Seed::Do(), and SE_WinterWheat::Do().
|
virtual |
Apply P fertilizer, on a_field owned by an arable farmer.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, fp_p, g_weather, and Weather::Raining().
Referenced by FR_Sunflower::Do(), DE_WinterWheatLate::Do(), and FR_WinterRape::Do().
|
virtual |
Apply PK fertilizer, on a_field owned by an arable farmer.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, fp_pk, g_weather, and Weather::Raining().
Referenced by UKBeans::Do(), SpringBarleySeed::Do(), PLFodderLucerne2::Do(), DK_WinterRye_CC::Do(), DK_WinterRye::Do(), SpringBarleySKManagement::Do(), SpringBarleySilage::Do(), PLCarrots::Do(), SpringBarleySpr::Do(), SpringBarleyStriglingSingle::Do(), SpringBarleyPTreatment::Do(), SpringBarleyStrigling::Do(), SpringBarleyStriglingCulm::Do(), NLWinterWheat::Do(), SpringBarley::Do(), PLFodderLucerne1::Do(), DE_HerbsPerennial_after1year::Do(), DE_HerbsPerennial_1year::Do(), DE_OHerbsPerennial_after1year::Do(), PLBeetSpr::Do(), PLBeans::Do(), DE_OHerbsPerennial_1year::Do(), DE_OAsparagusEstablishedPlantation::Do(), PLWinterRye::Do(), DE_SpringBarley::Do(), DE_AsparagusEstablishedPlantation::Do(), PLMaize::Do(), PLMaizeSilage::Do(), NLTulips::Do(), PLWinterTriticale::Do(), DE_WinterRye::Do(), PLWinterBarley::Do(), PLBeet::Do(), PLWinterWheat::Do(), PLSpringWheat::Do(), PLWinterWheatLate::Do(), DK_BushFruit_Perm1::Do(), PLPotatoes::Do(), DE_WinterBarley::Do(), DE_GrasslandSilageAnnual::Do(), DK_BushFruit_Perm2::Do(), IRWinterOats::Do(), IRWinterBarley::Do(), FR_WinterWheat::Do(), DE_Triticale::Do(), DE_WinterWheat::Do(), IRWinterWheat::Do(), FR_Potatoes::Do(), DE_Orchard::Do(), DE_SugarBeet::Do(), DE_Potatoes::Do(), and DE_PotatoesIndustry::Do().
|
virtual |
Apply PKS fertilizer to a_field owned by an arable farmer.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, fp_pks, g_weather, and Weather::Raining().
Referenced by DE_OPeas::Do(), and DE_OLegume::Do().
|
virtual |
RSM (ammonium nitrate solution) applied on a_field owned by an arable farmer.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, fp_rsm, g_weather, and Weather::Raining().
Referenced by PLSpringBarleySpr::Do(), PLWinterRye::Do(), PLMaize::Do(), PLMaizeSilage::Do(), PLSpringBarley::Do(), PLWinterTriticale::Do(), PLWinterWheat::Do(), PLWinterBarley::Do(), PLSpringWheat::Do(), PLWinterWheatLate::Do(), and PLWinterRape::Do().
|
virtual |
Apply SK fertilizer, on a_field owned by an arable farmer.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, fp_sk, g_weather, and Weather::Raining().
Referenced by DK_OLegume::Do(), DK_Legume_Peas::Do(), DK_OLegume_Peas_CC::Do(), DK_OLegume_Peas::Do(), DK_OLegume_Beans::Do(), DK_OLentils::Do(), DK_OLegume_Beans_CC::Do(), DK_OLupines::Do(), DK_Legume_Beans::Do(), DK_OLegume_Whole::Do(), DK_OLegume_Whole_CC::Do(), DK_OLegumeCloverGrass_Whole::Do(), DK_OSpringFodderGrass::Do(), DE_Peas::Do(), DE_Legumes::Do(), DK_OWinterFodderGrass::Do(), and DK_OWinterCloverGrassGrazedSown::Do().
|
virtual |
Spread sewege on a_field owned by an arable farmer.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, fp_sludge, g_weather, and Weather::Raining().
Referenced by WinterBarleyStrigling::Do(), and WinterBarley::Do().
|
virtual |
Apply slurry to a_field owned by an arable farmer.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, fp_slurry, g_weather, Weather::GetTemp(), and Weather::Raining().
Referenced by UKMaize::Do(), WinterRapeStrigling::Do(), NLCatchCropPea::Do(), BECatchPeaCrop::Do(), OCarrots::Do(), FI_OPotato_North::Do(), FI_OPotato_South::Do(), FI_OPotatoIndustry_North::Do(), OWinterBarleyExt::Do(), FI_OPotatoIndustry_South::Do(), FI_OStarchPotato_North::Do(), FI_OStarchPotato_South::Do(), OWinterBarley::Do(), DK_MaizeSilage::Do(), DK_OSpringBarleyCloverGrass::Do(), OWinterRye::Do(), DK_OWinterRye::Do(), FI_SugarBeet::Do(), DK_SpringOats::Do(), DK_SpringOats_CC::Do(), DE_OMaizeSilage::Do(), DK_OWinterRye_CC::Do(), DE_OMaize::Do(), DK_OSpringBarley_CC::Do(), DK_Maize::Do(), DK_OWinterBarley::Do(), BEMaizeSpring::Do(), DK_SpringWheat::Do(), OSpringBarleyExt::Do(), OSpringBarley::Do(), DK_OSpringBarley::Do(), OPotatoes::Do(), FI_Potato_North::Do(), FI_StarchPotato_North::Do(), OWinterWheat::Do(), OWinterWheatUndersown::Do(), OWinterWheatUndersownExt::Do(), FI_PotatoIndustry_North::Do(), FI_Potato_South::Do(), PTOliveGroveTradOrganic::Do(), FI_PotatoIndustry_South::Do(), FI_StarchPotato_South::Do(), OWinterRape::Do(), DK_OSpringOats::Do(), DK_OSpringWheat::Do(), DE_OCabbages::Do(), DK_SpringBarleyCloverGrass::Do(), NLMaize::Do(), Carrots::Do(), UKSpringBarley::Do(), UKWinterBarley::Do(), DK_WinterFodderGrass::Do(), DK_OSpringOats_CC::Do(), DK_OWinterRape::Do(), DK_SpringBarley::Do(), DK_SpringBarley_CC::Do(), DK_OMaize::Do(), DK_OMaizeSilage::Do(), DE_OPotatoes::Do(), DK_SpringFodderGrass::Do(), NLGrassGrazedExtensive2::Do(), DK_WinterCloverGrassGrazedSown::Do(), NLPermanentGrassGrazedExtensive::Do(), DK_OSpringBarleySilage::Do(), NLGrassGrazedExtensive1Spring::Do(), NLGrassGrazedExtensiveLast::Do(), DK_WinterBarley::Do(), NLCabbage::Do(), NLGrassGrazedExtensive1::Do(), DK_WinterRye::Do(), DK_WinterRye_CC::Do(), UKWinterWheat::Do(), TestCrop::Do(), UKWinterRape::Do(), NLSpringBarley::Do(), NLWinterWheat::Do(), DK_OMixedVeg::Do(), DK_WinterWheat::Do(), DK_WinterWheat_CC::Do(), DE_PermanentGrassGrazed::Do(), PLFodderLucerne1::Do(), UKPermanentGrass::Do(), FR_Grassland_Perm::Do(), UKPotatoes::Do(), UKTempGrass::Do(), SpringRape::Do(), DK_OBushFruit_Perm2::Do(), PTOats::Do(), NLGrassGrazed2::Do(), NLPermanentGrassGrazed::Do(), WinterWheatStrigling::Do(), WinterWheatStriglingCulm::Do(), WinterWheatStriglingSingle::Do(), NLGrassGrazed1Spring::Do(), NLGrassGrazedLast::Do(), PLBeans::Do(), PTWinterBarley::Do(), PTWinterWheat::Do(), PTWinterRye::Do(), DE_OGrasslandSilageAnnual::Do(), PTTriticale::Do(), DK_WinterRape::Do(), PTYellowLupin::Do(), WinterRape::Do(), NLGrassGrazed1::Do(), DE_Maize::Do(), OSpringBarleyPigs::Do(), FI_OSpringRape::Do(), FI_OTurnipRape::Do(), DE_MaizeSilage::Do(), PTRyegrass::Do(), PLWinterRye::Do(), DK_OWinterWheat_CC::Do(), NLPotatoes::Do(), PLMaize::Do(), DK_OWinterWheat::Do(), PLMaizeSilage::Do(), PLSpringBarley::Do(), FI_SpringRape::Do(), FI_OWinterRye::Do(), PTCloverGrassGrazed1::Do(), PLWinterTriticale::Do(), SE_SpringBarley::Do(), FI_OWinterWheat::Do(), PLBeet::Do(), PLWinterBarley::Do(), PLWinterWheat::Do(), PLWinterWheatLate::Do(), PLSpringWheat::Do(), PLPotatoes::Do(), PTPermanentGrassGrazed::Do(), DE_Oats::Do(), SE_WinterWheat::Do(), DE_Cabbage::Do(), DE_SpringRye::Do(), PLWinterRape::Do(), FI_WinterWheat::Do(), DE_GrasslandSilageAnnual::Do(), FR_Grassland::Do(), IRWinterBarley::Do(), IRWinterOats::Do(), IRSpringOats::Do(), IRSpringBarley::Do(), IRSpringWheat::Do(), FI_WinterRye::Do(), FR_WinterRape::Do(), IRWinterWheat::Do(), WinterWheat::Do(), DE_SugarBeet::Do(), IRGrassland_no_reseed::Do(), DE_Potatoes::Do(), DE_PotatoesIndustry::Do(), and IRGrassland_reseed::Do().
|
virtual |
FruitHarvest (harvest of the mature fruits, e.g., grapes) applied on a_field.
References DO_IT_PROB, g_weather, harvest, and Weather::Raining().
Referenced by DE_OBushFruitPerm::Do(), DK_OMaize::Do(), PTOliveGroveTraditional::Do(), DE_BushFruitPerm::Do(), DK_OOrchCherry::Do(), DK_OOrchPear::Do(), DK_OOrchOther::Do(), DK_OOrchApple::Do(), DK_OOrchardCrop_Perm::Do(), PTVineyards::Do(), DE_Orchard::Do(), DK_OrchCherry::Do(), DK_OrchPear::Do(), DK_OrchApple::Do(), DK_OrchOther::Do(), DK_OrchardCrop_Perm::Do(), DE_OOrchard::Do(), ITOrchard::Do(), and ITOOrchard::Do().
|
virtual |
Apply fungicide to a_field.
References cfg_pest_max_wind, Landscape::CheckForPesticideRecord(), DO_IT_PROB, EL_TRAMLINE_DECAYTIME, fungicide, fungicide_treat, g_landscape_ptr, g_weather, Weather::GetWind(), LE_SIG_NO_FUNGICIDE, Weather::Raining(), LE::SetLastTreatment(), LE::SetTramlinesDecay(), and CfgFloat::value().
Referenced by WinterRapeStrigling::Do(), SeedGrass1::Do(), DK_CerealLegume::Do(), DK_CerealLegume_Whole::Do(), DK_SpringBarley_Green::Do(), SeedGrass2::Do(), DK_SpringBarleySilage::Do(), DK_FodderBeet::Do(), DK_MaizeSilage::Do(), FI_SugarBeet::Do(), DK_SpringOats::Do(), DK_SpringOats_CC::Do(), DK_SugarBeet::Do(), DK_Legume_Beans::Do(), UKBeans::Do(), DK_SpringWheat::Do(), DK_Maize::Do(), SpringBarleySeed::Do(), SpringBarleyCloverGrassStrigling::Do(), FieldPeas::Do(), FieldPeasSilage::Do(), FieldPeasStrigling::Do(), FI_Potato_North::Do(), FI_StarchPotato_North::Do(), SpringBarleyCloverGrass::Do(), FI_PotatoIndustry_North::Do(), FI_PotatoIndustry_South::Do(), FI_StarchPotato_South::Do(), Triticale::Do(), UKBeet::Do(), FI_Potato_South::Do(), DK_SpringBarleyCloverGrass::Do(), NLBeetSpring::Do(), UKSpringBarley::Do(), UKWinterBarley::Do(), SpringBarleyPeaCloverGrassStrigling::Do(), DK_SpringBarley_CC::Do(), DK_SpringBarley::Do(), DE_OPotatoes::Do(), NLCarrotsSpring::Do(), NLBeet::Do(), NLCarrots::Do(), NLCabbageSpring::Do(), DK_WinterBarley::Do(), NLSpringBarleySpring::Do(), PotatoesIndustry::Do(), NorwegianPotatoes::Do(), Potatoes::Do(), PTOliveGroveIntensive::Do(), DK_VegSeeds::Do(), SpringBarleySKManagement::Do(), NLCabbage::Do(), DK_Carrots_Spring::Do(), DK_WinterRye::Do(), DK_WinterRye_CC::Do(), SpringBarleySilage::Do(), SpringBarleySpr::Do(), UKWinterWheat::Do(), WinterRyeStrigling::Do(), DK_Carrots::Do(), PLCarrots::Do(), SpringBarleyPTreatment::Do(), SpringBarleyStrigling::Do(), SpringBarleyStriglingCulm::Do(), SpringBarleyStriglingSingle::Do(), DK_Cabbages::Do(), WinterRye::Do(), NLSpringBarley::Do(), UKWinterRape::Do(), PTOliveGroveSuperIntensive::Do(), NLWinterWheat::Do(), PLSpringBarleySpr::Do(), SpringBarley::Do(), DK_WinterWheat::Do(), DK_WinterWheat_CC::Do(), DK_Potato::Do(), UKPotatoes::Do(), PTOliveGroveTraditional::Do(), PTPotatoes::Do(), SpringRape::Do(), FI_Caraway2::Do(), PLBeetSpr::Do(), DK_MixedVeg::Do(), WinterWheatStrigling::Do(), WinterWheatStriglingCulm::Do(), WinterWheatStriglingSingle::Do(), PLBeans::Do(), DK_WinterRape::Do(), DK_PotatoSeed::Do(), WinterBarleyStrigling::Do(), WinterRape::Do(), DE_BushFruitPerm::Do(), DK_PotatoIndustry::Do(), FR_SpringBarley::Do(), FR_SpringOats::Do(), WinterBarley::Do(), NLPotatoesSpring::Do(), DE_SpringBarley::Do(), PLWinterRye::Do(), FI_TurnipRape::Do(), DE_AsparagusEstablishedPlantation::Do(), NLPotatoes::Do(), PLMaizeSilage::Do(), PLMaize::Do(), PLSpringBarley::Do(), FI_FabaBean::Do(), FI_SpringRape::Do(), NLTulips::Do(), FR_WinterTriticale::Do(), DE_Peas::Do(), SE_SpringBarley::Do(), FI_SpringBarley_Malt::Do(), DE_Legumes::Do(), PLWinterTriticale::Do(), FI_Caraway1::Do(), DE_WinterRye::Do(), FI_SpringWheat::Do(), FI_SprSpringBarley_Fodder::Do(), PLWinterBarley::Do(), PLBeet::Do(), PLWinterWheat::Do(), PLSpringWheat::Do(), PLWinterWheatLate::Do(), DE_Carrots::Do(), FI_SpringOats::Do(), FI_SpringBarley_Fodder::Do(), PLPotatoes::Do(), DK_BushFruit_Perm1::Do(), DE_WinterBarley::Do(), DE_Cabbage::Do(), FR_SpringWheat::Do(), SE_WinterWheat::Do(), DE_Oats::Do(), DE_SpringRye::Do(), DK_SeedGrassRye_Spring::Do(), PLWinterRape::Do(), PTVineyards::Do(), FR_WinterBarley::Do(), DK_BushFruit_Perm2::Do(), FI_WinterWheat::Do(), IRSpringBarley::Do(), IRWinterOats::Do(), IRSpringOats::Do(), IRWinterBarley::Do(), IRSpringWheat::Do(), DE_WinterWheat::Do(), DE_Triticale::Do(), FI_WinterRye::Do(), FR_WinterWheat::Do(), DE_WinterWheatLate::Do(), FR_Potatoes::Do(), IRWinterWheat::Do(), FR_WinterRape::Do(), DE_WinterRape::Do(), DE_Orchard::Do(), WinterWheat::Do(), DE_SugarBeet::Do(), DK_OrchCherry::Do(), DE_Potatoes::Do(), DK_OrchPear::Do(), DK_OrchOther::Do(), DK_OrchApple::Do(), DK_OrchardCrop_Perm::Do(), DE_PotatoesIndustry::Do(), ITOrchard::Do(), and ITOOrchard::Do().
int Farm::GetArea | ( | void | ) |
Returns the area of arable fields owned by that farm.
References tole_Field.
Referenced by AssignPermanentCrop().
double Farm::GetAreaDouble | ( | void | ) |
int Farm::GetAreaOpenFields | ( | int | a_openness | ) |
Returns the area of the fields above an openness of a_openness.
Returns the area of fields owned by that farm with an openness above a_openness
|
inline |
References m_farm_centroidx, m_farm_centroidy, APoint::m_x, and APoint::m_y.
|
inline |
References m_rotation.
|
inline |
|
inline |
References m_OurManager.
|
inline |
References m_farm_num.
Referenced by Landscape::AddBeetleBankIfPossible(), Landscape::BorderAdd(), Centroids(), and InvIntPartition().
|
inline |
|
protectedvirtual |
Gets the first crop for the farm.
This method also synchronises farm rotations either within or between farms if needed. This is useful to try simple what if scenarios.
References g_farm_fixed_rotation_enable, g_farm_fixed_rotation_farms_async, g_random_fnc(), and CfgBool::value().
|
protected |
Gets the start date for a crop type.
|
protected |
Gets the start date for a crop type.
|
inline |
|
inline |
|
inline |
References m_rotation.
|
protectedvirtual |
Returns the next crop in the rotation.
Also provides the possibility of over-riding rotations using configuration settings
References g_farm_enable_crop_rotation, and CfgBool::value().
int Farm::GetNextCropStartDate | ( | LE * | a_field, |
TTypesOfVegetation & | a_curr_veg | ||
) |
Returns the start date of the next crop in the rotation.
References g_farm_fixed_crop_enable, LE::GetRotIndex(), and CfgBool::value().
Referenced by 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(), NLMaizeSpring::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(), and DK_OWinterWheat_CC::Do().
|
inline |
References m_rotation.
|
inline |
int Farm::GetNoOpenFields | ( | int | a_openness | ) |
Returns the number of the fields above an openness of a_openness.
Returns the number of fields owned by that farm with an openness above a_openness
|
inline |
References m_rotation.
Referenced by 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(), FI_GreenFallow_1year::Do(), UKTempGrass::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(), FR_Sorghum::Do(), BEPotatoes::Do(), PLMaizeSilage::Do(), PLMaize::Do(), PLSpringBarley::Do(), FI_OWinterRye::Do(), PLWinterTriticale::Do(), SE_SpringBarley::Do(), FI_OWinterWheat::Do(), PLWinterWheat::Do(), PLBeet::Do(), PLWinterBarley::Do(), PLSpringWheat::Do(), PLWinterWheatLate::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(), ITOOrchard::Do(), and Field::GetPreviousTov().
|
inline |
References m_rotfilename.
int Farm::GetTotalArea | ( | void | ) |
|
inline |
References m_farmtype.
Referenced by PermanentSetAside::Do(), OrchardCrop::Do(), PermanentGrassTussocky::Do(), UKMaize::Do(), DK_GrassTussocky_Perm::Do(), OSeedGrass1::Do(), OSeedGrass2::Do(), BroadBeans::Do(), PermanentGrassLowYield::Do(), YoungForestCrop::Do(), SeedGrass1::Do(), PermanentGrassGrazed::Do(), FI_OPotatoIndustry_North::Do(), FI_OPotatoIndustry_South::Do(), FI_OPotato_South::Do(), FI_OStarchPotato_North::Do(), FI_OStarchPotato_South::Do(), FI_OPotato_North::Do(), BEOrchardCrop::Do(), SeedGrass2::Do(), FI_SugarBeet::Do(), Maize::Do(), MaizeSilage::Do(), OTriticale::Do(), Oats::Do(), BEMaizeSpring::Do(), UKBeans::Do(), DummyCropPestTesting::Do(), FI_Potato_North::Do(), FieldPeas::Do(), FieldPeasSilage::Do(), FI_StarchPotato_North::Do(), OFodderBeet::Do(), FI_PotatoIndustry_North::Do(), BEBeetSpring::Do(), PLFodderLucerne2::Do(), BEMaize::Do(), Triticale::Do(), UKBeet::Do(), Carrots::Do(), UKSpringBarley::Do(), UKWinterBarley::Do(), BEBeet::Do(), SetAside::Do(), BEWinterBarley::Do(), PotatoesIndustry::Do(), BEWinterBarleyCC::Do(), SugarBeet::Do(), NorwegianPotatoes::Do(), DKOBroadBeans_test::Do(), Potatoes::Do(), FodderBeet::Do(), BEWinterWheat::Do(), BEWinterWheatCC::Do(), DK_Carrots_Spring::Do(), PLCarrots::Do(), SpringBarleySilage::Do(), SpringBarleySpr::Do(), UKWinterWheat::Do(), BEGrassGrazed1Spring::Do(), TestCrop::Do(), UKWinterRape::Do(), WinterRye::Do(), BEGrassGrazed2::Do(), PLSpringBarleySpr::Do(), BEGrassGrazedLast::Do(), BEGrassGrazed1::Do(), SpringBarley::Do(), PLFodderLucerne1::Do(), FR_Grassland_Perm::Do(), UKPotatoes::Do(), UKPermanentGrass::Do(), UKTempGrass::Do(), FI_GreenFallow_1year::Do(), FI_NaturalGrassland_Perm::Do(), SpringRape::Do(), PLBeetSpr::Do(), FI_GreenFallow_Perm::Do(), PLBeans::Do(), FI_BufferZone::Do(), FI_BufferZone_Perm::Do(), ITGrassland::Do(), FI_OSpringBarley_Malt::Do(), FI_NaturalGrassland::Do(), BEPotatoesSpring::Do(), WinterRape::Do(), FI_OCaraway1::Do(), FI_OFabaBean::Do(), FI_OSpringRape::Do(), FI_OSpringWheat::Do(), FI_OSpringOats::Do(), FI_OTurnipRape::Do(), FR_SpringOats::Do(), FI_OSpringBarley_Fodder::Do(), WinterBarley::Do(), PLWinterRye::Do(), FI_FeedingGround::Do(), BEPotatoes::Do(), FR_Sorghum::Do(), PLMaize::Do(), PLSpringBarley::Do(), PLMaizeSilage::Do(), FI_OWinterRye::Do(), PLWinterTriticale::Do(), SE_SpringBarley::Do(), FI_OWinterWheat::Do(), FI_SprSpringBarley_Fodder::Do(), PLWinterWheat::Do(), PLBeet::Do(), PLWinterBarley::Do(), PLSpringWheat::Do(), PLWinterWheatLate::Do(), PLPotatoes::Do(), SE_WinterRape_Seed::Do(), SE_WinterWheat::Do(), PLWinterRape::Do(), IRWinterBarley::Do(), IRSpringOats::Do(), IRWinterOats::Do(), IRSpringBarley::Do(), IRSpringWheat::Do(), IRWinterWheat::Do(), WinterWheat::Do(), IRGrassland_no_reseed::Do(), IRGrassland_reseed::Do(), ITOrchard::Do(), and ITOOrchard::Do().
|
inline |
Returns the valid coordinates of the first field owned by a farm.
References m_fields, APoint::m_x, and APoint::m_y.
|
virtual |
GreenHarvest (remove of excess production that may affect the desired quality of the fruits, e.g., grapes) applied on a_field.
References DO_IT_PROB, g_weather, green_harvest, and Weather::Raining().
Referenced by DE_HerbsPerennial_after1year::Do(), DE_HerbsPerennial_1year::Do(), DE_OHerbsPerennial_after1year::Do(), DE_OHerbsPerennial_1year::Do(), and PTVineyards::Do().
|
virtual |
Apply growth regulator to a_field.
References cfg_pest_max_wind, DO_IT_PROB, EL_TRAMLINE_DECAYTIME, g_weather, Weather::GetWind(), growth_regulator, LE_SIG_NO_GROWTH_REG, Weather::Raining(), LE::SetLastTreatment(), LE::SetTramlinesDecay(), and CfgFloat::value().
Referenced by SeedGrass2::Do(), DK_SpringOats_CC::Do(), DK_SpringOats::Do(), DK_SpringWheat::Do(), SpringBarleySeed::Do(), FieldPeas::Do(), SpringBarleyCloverGrassStrigling::Do(), FieldPeasSilage::Do(), FieldPeasStrigling::Do(), SpringBarleyCloverGrass::Do(), Triticale::Do(), DK_SpringBarleyCloverGrass::Do(), UKSpringBarley::Do(), UKWinterBarley::Do(), SpringBarleyPeaCloverGrassStrigling::Do(), DK_SpringBarley_CC::Do(), DK_SpringBarley::Do(), DK_WinterBarley::Do(), NLSpringBarleySpring::Do(), PotatoesIndustry::Do(), NorwegianPotatoes::Do(), Potatoes::Do(), SpringBarleySKManagement::Do(), DK_WinterRye::Do(), DK_WinterRye_CC::Do(), SpringBarleySilage::Do(), SpringBarleySpr::Do(), UKWinterWheat::Do(), WinterRyeStrigling::Do(), SpringBarleyPTreatment::Do(), SpringBarleyStrigling::Do(), SpringBarleyStriglingCulm::Do(), SpringBarleyStriglingSingle::Do(), UKWinterRape::Do(), WinterRye::Do(), NLSpringBarley::Do(), NLWinterWheat::Do(), DK_WinterWheat::Do(), DK_WinterWheat_CC::Do(), SpringBarley::Do(), WinterWheatStrigling::Do(), WinterWheatStriglingCulm::Do(), WinterWheatStriglingSingle::Do(), DK_WinterRape::Do(), WinterBarleyStrigling::Do(), FR_SpringBarley::Do(), FR_SpringOats::Do(), WinterBarley::Do(), DE_SpringBarley::Do(), PLWinterRye::Do(), FR_WinterTriticale::Do(), PLWinterTriticale::Do(), FI_Caraway1::Do(), FI_SpringBarley_Malt::Do(), DE_WinterRye::Do(), FI_SprSpringBarley_Fodder::Do(), FI_SpringWheat::Do(), PLWinterWheat::Do(), PLWinterBarley::Do(), FI_SpringOats::Do(), PLSpringWheat::Do(), PLWinterWheatLate::Do(), FI_SpringBarley_Fodder::Do(), SE_WinterRape_Seed::Do(), DE_Oats::Do(), SE_WinterWheat::Do(), DE_WinterBarley::Do(), FR_SpringWheat::Do(), DK_SeedGrassRye_Spring::Do(), DE_SpringRye::Do(), FR_WinterBarley::Do(), FI_WinterWheat::Do(), DE_Triticale::Do(), DE_WinterWheat::Do(), FR_WinterWheat::Do(), DE_WinterWheatLate::Do(), FI_WinterRye::Do(), DK_SeedGrassFescue_Spring::Do(), WinterWheat::Do(), DK_OrchCherry::Do(), DK_OrchPear::Do(), DK_OrchardCrop_Perm::Do(), DK_OrchOther::Do(), DK_OrchApple::Do(), ITOrchard::Do(), and ITOOrchard::Do().
|
protectedvirtual |
If there are events to carry out do this, and perhaps start a new crop.
Call the management plan for the current crop and it this return done=true starts the next management.
Sets the new index to the rotation.
Save the new veg type as the LE vegetation type
Save the crop veg type as the Field vegetation type
References cfg_UseSocioEconomicFarm, Calendar::Date(), fmc_Others, LE::ForceGrowthInitialiseForFirstYearCrop(), g_date, g_farm_fixed_crop_enable, g_farm_fixed_crop_type, g_landscape_ptr, g_letype, LE::GetRotIndex(), LE::GetUnsprayedMarginPolyRef(), LowPriPair< ELEMTYPE >::m_element, FarmEvent::m_field, FarmEvent::m_forcespring, LowPriPair< ELEMTYPE >::m_pri, PROG_START, LE::ResetDigestibility(), LE::SetPollenNectarType(), LE::SetRotIndex(), LE::SetVegGrowthScalerRand(), LE::SetVegHeight(), LE::SetVegStore(), LE::SetVegType(), Landscape::SupplyLEPointer(), toc_CloverGrassGrazed1, toc_GrazingPigs, toc_OCloverGrassGrazed1, toc_OCloverGrassSilage1, toc_OGrazingPigs, toc_OSetAside, toc_SetAside, tov_Undefined, LE_TypeClass::TranslateVegTypes(), CfgInt::value(), and CfgBool::value().
|
virtual |
Carry out a harvest on a_field.
References Calendar::Date(), DO_IT_PROB, g_date, g_pest, g_weather, LE::GetArea(), LE::GetInsectPop(), LE::GetMapIndex(), LE::GetMaxX(), LE::GetMaxY(), LE::GetMinX(), LE::GetMinY(), Weather::GetRainPeriod(), LE::GetVegBiomass(), harvest, harvest1, LE::PollenNectarReset(), LE::RecalculateBugsNStuff(), Pesticide::ReducePlantPesticide(), LE::ResetDigestibility(), LE::SetBirdMaize(), LE::SetBirdSeed(), LE::SetGrowthPhase(), LE::SetInsectPop(), and LE::SetStubble().
Referenced by UKMaize::Do(), GenericCatchCrop::Do(), NorwegianOats::Do(), WinterRapeStrigling::Do(), NorwegianSpringBarley::Do(), OSeedGrass1::Do(), BroadBeans::Do(), OSeedGrass2::Do(), OFieldPeas::Do(), OFieldPeasSilage::Do(), OCarrots::Do(), DE_OPeas::Do(), DK_OLegume::Do(), SeedGrass1::Do(), DK_CerealLegume::Do(), DK_CerealLegume_Whole::Do(), OBarleyPeaCloverGrass::Do(), OMaizeSilage::Do(), DE_OLegume::Do(), DK_SpringBarley_Green::Do(), DK_Legume_Peas::Do(), OWinterBarleyExt::Do(), DK_OLegume_Peas_CC::Do(), DK_OLentils::Do(), DK_SpringBarleySilage::Do(), OWinterBarley::Do(), DK_OLegume_Beans::Do(), DK_OLegume_Peas::Do(), SeedGrass2::Do(), DK_OLegume_Beans_CC::Do(), DK_OLupines::Do(), DK_OSpringBarleyCloverGrass::Do(), DK_MaizeSilage::Do(), OWinterRye::Do(), DE_OSpringRye::Do(), DK_OWinterRye::Do(), OOats::Do(), DK_Legume_Beans::Do(), DK_SpringOats::Do(), DK_SpringOats_CC::Do(), DE_OMaizeSilage::Do(), DE_OOats::Do(), DK_OLegume_Whole_CC::Do(), DK_OLegumeCloverGrass_Whole::Do(), DK_OSpringBarley_CC::Do(), Maize::Do(), MaizeSilage::Do(), MaizeStrigling::Do(), DE_OWinterWheat::Do(), DK_OWinterRye_CC::Do(), OTriticale::Do(), DE_OMaize::Do(), DK_OCerealLegume_Whole::Do(), DK_OLegume_Whole::Do(), DK_OWinterBarley::Do(), NLMaizeSpring::Do(), Oats::Do(), OSpringBarleyExt::Do(), DK_SpringWheat::Do(), DK_Maize::Do(), UKBeans::Do(), DK_OSpringBarley::Do(), OSpringBarley::Do(), DK_Legume_Whole::Do(), DK_OCerealLegume::Do(), SpringBarleySeed::Do(), FieldPeas::Do(), FieldPeasSilage::Do(), FieldPeasStrigling::Do(), OPotatoes::Do(), SpringBarleyCloverGrassStrigling::Do(), DE_OWinterRape::Do(), OWinterWheat::Do(), OWinterWheatUndersown::Do(), OWinterWheatUndersownExt::Do(), OFodderBeet::Do(), SpringBarleyCloverGrass::Do(), UKBeet::Do(), DK_OSpringOats::Do(), DK_OSpringWheat::Do(), Triticale::Do(), OWinterRape::Do(), PTOliveGroveTradOrganic::Do(), DE_OCabbages::Do(), DE_OSugarBeet::Do(), DK_OVegSeeds::Do(), NLBeetSpring::Do(), Carrots::Do(), NLMaize::Do(), DK_SpringBarleyCloverGrass::Do(), UKSpringBarley::Do(), UKWinterBarley::Do(), DK_OSpringOats_CC::Do(), DK_WinterFodderGrass::Do(), DK_OMaizeSilage::Do(), DE_OPotatoes::Do(), DK_OWinterRape::Do(), NLCarrotsSpring::Do(), DK_SpringBarley::Do(), DK_SpringBarley_CC::Do(), SpringBarleyPeaCloverGrassStrigling::Do(), DK_OSpringBarleySilage::Do(), NLBeet::Do(), DK_SpringFodderGrass::Do(), DE_OCarrots::Do(), DK_WinterCloverGrassGrazedSown::Do(), DK_OCabbages::Do(), DK_OEnergyCrop_Perm::Do(), NLCarrots::Do(), DK_OCarrots::Do(), NLCabbageSpring::Do(), NLSpringBarleySpring::Do(), DK_WinterBarley::Do(), PotatoesIndustry::Do(), FodderBeet::Do(), NorwegianPotatoes::Do(), DKOBroadBeans_test::Do(), Potatoes::Do(), PTOliveGroveIntensive::Do(), DK_EnergyCrop_Perm::Do(), DK_VegSeeds::Do(), DK_Carrots_Spring::Do(), NLCabbage::Do(), DK_WinterRye::Do(), DK_WinterRye_CC::Do(), SpringBarleySKManagement::Do(), UKWinterWheat::Do(), DK_Carrots::Do(), WinterRyeStrigling::Do(), PLCarrots::Do(), SpringBarleySilage::Do(), SpringBarleySpr::Do(), UKWinterRape::Do(), DK_Cabbages::Do(), NLSpringBarley::Do(), WinterRye::Do(), SpringBarleyPTreatment::Do(), SpringBarleyStrigling::Do(), SpringBarleyStriglingSingle::Do(), SpringBarleyStriglingCulm::Do(), DK_OMixedVeg::Do(), NLWinterWheat::Do(), PLSpringBarleySpr::Do(), PTBeans::Do(), PTOliveGroveSuperIntensive::Do(), PTCabbage::Do(), DK_WinterWheat::Do(), DK_WinterWheat_CC::Do(), PTCabbage_Hort::Do(), FI_OCaraway2::Do(), PTOtherDryBeans::Do(), SpringBarley::Do(), PTHorticulture::Do(), UKPotatoes::Do(), PTPotatoes::Do(), DK_OSeedGrassRye_Spring::Do(), SpringRape::Do(), FI_Caraway2::Do(), PTOats::Do(), DK_MixedVeg::Do(), PLBeetSpr::Do(), DK_CloverGrassGrazed1::Do(), WinterWheatStriglingCulm::Do(), WinterWheatStriglingSingle::Do(), WinterWheatStrigling::Do(), PLBeans::Do(), PTMaize_Hort::Do(), PTWinterWheat::Do(), PTMaize::Do(), PTWinterBarley::Do(), PTWinterRye::Do(), PTFodderMix::Do(), DK_WinterRape::Do(), PTCloverGrassGrazed2::Do(), FI_OSpringBarley_Malt::Do(), PTTriticale::Do(), WinterBarleyStrigling::Do(), WinterRape::Do(), PTGrassGrazed::Do(), PTSorghum::Do(), FI_OFabaBean::Do(), FI_OCaraway1::Do(), DE_Maize::Do(), FI_OSpringOats::Do(), FR_SpringBarley::Do(), DE_MaizeSilage::Do(), OSpringBarleyPigs::Do(), FI_OSpringWheat::Do(), FI_GrasslandSilagePerennial1::Do(), FI_OTurnipRape::Do(), FI_GrasslandPasturePerennial1::Do(), FI_OSpringRape::Do(), FR_SpringOats::Do(), WinterBarley::Do(), PTRyegrass::Do(), FI_OSpringBarley_Fodder::Do(), NLPotatoesSpring::Do(), DE_SpringBarley::Do(), PLWinterRye::Do(), FR_Sorghum::Do(), FI_TurnipRape::Do(), FI_GrasslandSilageAnnual::Do(), FR_Maize::Do(), DK_OWinterWheat_CC::Do(), FR_Maize_Silage::Do(), PLMaizeSilage::Do(), FI_FabaBean::Do(), PLSpringBarley::Do(), NLPotatoes::Do(), PLMaize::Do(), DK_OWinterWheat::Do(), FI_OWinterRye::Do(), FR_WinterTriticale::Do(), FI_SpringRape::Do(), FR_Sunflower::Do(), FI_Caraway1::Do(), DE_Peas::Do(), SE_SpringBarley::Do(), FI_SpringBarley_Malt::Do(), DE_Legumes::Do(), PLWinterTriticale::Do(), PTCloverGrassGrazed1::Do(), DE_WinterRye::Do(), DE_OTriticale::Do(), FI_OWinterWheat::Do(), DE_OWinterRye::Do(), PLWinterBarley::Do(), PLWinterWheat::Do(), FI_SprSpringBarley_Fodder::Do(), DK_CloverGrassGrazed3::Do(), FI_SpringWheat::Do(), PLBeet::Do(), DE_OWinterBarley::Do(), DK_CloverGrassGrazed2::Do(), DE_Carrots::Do(), FI_SpringOats::Do(), PLSpringWheat::Do(), PLWinterWheatLate::Do(), FI_SpringBarley_Fodder::Do(), PLPotatoes::Do(), SE_WinterRape_Seed::Do(), SE_WinterWheat::Do(), DE_WinterBarley::Do(), DE_Cabbage::Do(), DE_Oats::Do(), FR_SpringWheat::Do(), DK_SeedGrassRye_Spring::Do(), DE_SpringRye::Do(), PLWinterRape::Do(), FR_WinterBarley::Do(), FI_WinterWheat::Do(), IRSpringBarley::Do(), IRWinterBarley::Do(), IRSpringOats::Do(), IRWinterOats::Do(), DE_WinterWheatLate::Do(), FR_WinterWheat::Do(), FI_WinterRye::Do(), IRSpringWheat::Do(), DE_Triticale::Do(), DE_WinterWheat::Do(), IRWinterWheat::Do(), FR_Potatoes::Do(), FR_WinterRape::Do(), DE_WinterRape::Do(), DK_SeedGrassFescue_Spring::Do(), WinterWheat::Do(), DE_SugarBeet::Do(), DE_Potatoes::Do(), DE_PotatoesIndustry::Do(), DK_OChristmasTrees_Perm::Do(), and DK_ChristmasTrees_Perm::Do().
|
virtual |
Harvest bush fruit on a_field - tramlines since fruits are picked by machine, the bush stays on field with same vegetation height, thus suspects same % insects.
References Calendar::Date(), DO_IT_PROB, EL_TRAMLINE_DECAYTIME, g_date, g_weather, Weather::GetRainPeriod(), harvest1, harvest_bushfruit, and LE::SetGrowthPhase().
Referenced by DK_OBushFruit_Perm2::Do(), DK_OBushFruit_Perm1::Do(), and DK_BushFruit_Perm2::Do().
|
virtual |
Harvest bush fruit on a_field - no tramlines since fruits are picked by hand, the bush stays on field with same vegetation height, thus suspects same % insects.
References Calendar::Date(), DO_IT_PROB, g_date, g_weather, Weather::GetRainPeriod(), harvest1, harvest_bushfruit, and LE::SetGrowthPhase().
Referenced by DK_BushFruit_Perm1::Do().
|
virtual |
|
virtual |
Carry out a harvest on a_field (only differs in the DoIt chance cf harvest)
References Calendar::Date(), DO_IT_PROB_LONG, g_date, g_pest, g_weather, LE::GetArea(), LE::GetInsectPop(), LE::GetMapIndex(), LE::GetMaxX(), LE::GetMaxY(), LE::GetMinX(), LE::GetMinY(), Weather::GetRainPeriod(), LE::GetVegBiomass(), harvest, harvest1, LE::RecalculateBugsNStuff(), Pesticide::ReducePlantPesticide(), LE::ResetDigestibility(), LE::SetBirdMaize(), LE::SetBirdSeed(), LE::SetGrowthPhase(), LE::SetInsectPop(), and LE::SetStubble().
Referenced by FI_OPotato_North::Do(), FI_OStarchPotato_South::Do(), FI_OPotato_South::Do(), FI_OPotatoIndustry_North::Do(), FI_OPotatoIndustry_South::Do(), FI_OStarchPotato_North::Do(), DK_FodderBeet::Do(), DK_SugarBeet::Do(), FI_SugarBeet::Do(), DK_OSugarBeet::Do(), FI_Potato_North::Do(), DK_OFodderBeet::Do(), FI_StarchPotato_North::Do(), FI_PotatoIndustry_North::Do(), FI_Potato_South::Do(), FI_StarchPotato_South::Do(), FI_PotatoIndustry_South::Do(), SugarBeet::Do(), DK_OPotato::Do(), DK_OPotatoIndustry::Do(), DK_OPotatoSeed::Do(), DK_Potato::Do(), DK_PotatoSeed::Do(), and DK_PotatoIndustry::Do().
|
virtual |
HarvestShoots applied on a_field (e.g. asparagus) - details needs to be added (e.g., impact on biomass, influence/impacts in species code)!
References DO_IT_PROB, g_weather, harvestshoots, and Weather::Raining().
Referenced by DE_OAsparagusEstablishedPlantation::Do(), and DE_AsparagusEstablishedPlantation::Do().
|
virtual |
Carry out hay bailing on a_field.
References Calendar::Date(), DO_IT_PROB, g_date, g_weather, Weather::GetRainPeriod(), and hay_bailing.
Referenced by NorwegianOats::Do(), NorwegianSpringBarley::Do(), WinterRapeStrigling::Do(), PermanentGrassLowYield::Do(), OPermanentGrassGrazed::Do(), DK_OGrassLowYield_Perm::Do(), DK_GrassLowYield_Perm::Do(), PermanentGrassGrazed::Do(), OWinterBarleyExt::Do(), OWinterBarley::Do(), OWinterRye::Do(), DK_OSpringBarleyCloverGrass::Do(), DE_OOats::Do(), OOats::Do(), DE_OSpringRye::Do(), DK_OWinterRye::Do(), OTriticale::Do(), DK_OLegumeCloverGrass_Whole::Do(), DK_OSpringBarley_CC::Do(), DE_OWinterWheat::Do(), DK_OWinterRye_CC::Do(), Oats::Do(), OSpringBarleyExt::Do(), DK_OWinterBarley::Do(), OSpringBarley::Do(), DK_OSpringBarley::Do(), SpringBarleySeed::Do(), SpringBarleyCloverGrassStrigling::Do(), OWinterWheat::Do(), OWinterWheatUndersownExt::Do(), OWinterWheatUndersown::Do(), SpringBarleyCloverGrass::Do(), DK_OSpringOats::Do(), DK_OSpringWheat::Do(), Triticale::Do(), DK_SpringBarleyCloverGrass::Do(), DK_OSpringOats_CC::Do(), UKWinterBarley::Do(), UKSpringBarley::Do(), DK_SpringBarley_CC::Do(), DK_SpringBarley::Do(), SpringBarleyPeaCloverGrassStrigling::Do(), DK_OSpringBarleySilage::Do(), NLSpringBarleySpring::Do(), SpringBarleySKManagement::Do(), SpringBarleySpr::Do(), UKWinterWheat::Do(), WinterRyeStrigling::Do(), UKWinterRape::Do(), SpringBarleyPTreatment::Do(), SpringBarleyStrigling::Do(), SpringBarleyStriglingCulm::Do(), SpringBarleyStriglingSingle::Do(), WinterRye::Do(), NLSpringBarley::Do(), PLSpringBarleySpr::Do(), NLWinterWheat::Do(), SpringBarley::Do(), SpringRape::Do(), DK_OSeedGrassRye_Spring::Do(), WinterWheatStriglingCulm::Do(), WinterWheatStrigling::Do(), WinterWheatStriglingSingle::Do(), FI_OSpringBarley_Malt::Do(), PTCloverGrassGrazed2::Do(), PTFodderMix::Do(), WinterRape::Do(), PTSorghum::Do(), WinterBarleyStrigling::Do(), FI_OCaraway1::Do(), OSpringBarleyPigs::Do(), FI_OSpringOats::Do(), FI_OSpringWheat::Do(), FR_SpringBarley::Do(), PTRyegrass::Do(), FI_OSpringBarley_Fodder::Do(), FR_SpringOats::Do(), WinterBarley::Do(), DE_SpringBarley::Do(), PLWinterRye::Do(), DK_OWinterWheat_CC::Do(), PLMaize::Do(), PLMaizeSilage::Do(), PLSpringBarley::Do(), DK_OWinterWheat::Do(), FR_WinterTriticale::Do(), FI_Caraway1::Do(), FI_SpringBarley_Malt::Do(), PLWinterTriticale::Do(), PTCloverGrassGrazed1::Do(), DE_OTriticale::Do(), FI_OWinterWheat::Do(), DE_WinterRye::Do(), DE_OWinterRye::Do(), FI_SpringWheat::Do(), PLWinterBarley::Do(), FI_SprSpringBarley_Fodder::Do(), DE_OWinterBarley::Do(), PLWinterWheat::Do(), FI_SpringOats::Do(), PLWinterWheatLate::Do(), PLSpringWheat::Do(), FI_SpringBarley_Fodder::Do(), DE_Oats::Do(), DE_WinterBarley::Do(), FR_SpringWheat::Do(), DE_SpringRye::Do(), PLWinterRape::Do(), FI_WinterWheat::Do(), FR_WinterBarley::Do(), IRSpringBarley::Do(), IRWinterBarley::Do(), IRWinterOats::Do(), IRSpringOats::Do(), FR_WinterWheat::Do(), DE_WinterWheat::Do(), IRSpringWheat::Do(), DE_WinterWheatLate::Do(), DE_Triticale::Do(), IRWinterWheat::Do(), DE_WinterRape::Do(), and WinterWheat::Do().
|
virtual |
Carry out hay turning on a_field.
References Calendar::Date(), DO_IT_PROB, g_date, g_weather, Weather::GetRainPeriod(), and hay_turning.
Referenced by OSeedGrass1::Do(), OSeedGrass2::Do(), PermanentGrassLowYield::Do(), DK_OGrassLowYield_Perm::Do(), OPermanentGrassGrazed::Do(), SeedGrass1::Do(), DK_GrassLowYield_Perm::Do(), PermanentGrassGrazed::Do(), SeedGrass2::Do(), OWinterRye::Do(), DE_OWinterWheat::Do(), OTriticale::Do(), OWinterWheat::Do(), OWinterWheatUndersown::Do(), OWinterWheatUndersownExt::Do(), Triticale::Do(), WinterRyeStrigling::Do(), WinterRye::Do(), WinterWheatStriglingSingle::Do(), WinterWheatStrigling::Do(), WinterWheatStriglingCulm::Do(), WinterBarleyStrigling::Do(), WinterBarley::Do(), PTRyegrass::Do(), DE_OWinterRye::Do(), DE_OTriticale::Do(), DE_OWinterBarley::Do(), and WinterWheat::Do().
|
virtual |
Carry out a heavy cultivation event on a_field. This is non-inversion type of cultivation which can be done after fertilizers application on spring for a spring crop.
References DO_IT_PROB, g_weather, heavy_cultivator_aggregate, and Weather::Raining().
Referenced by PLSpringBarleySpr::Do(), PLFodderLucerne1::Do(), PLBeetSpr::Do(), PLBeans::Do(), PLSpringBarley::Do(), PLMaizeSilage::Do(), PLMaize::Do(), PLBeet::Do(), PLSpringWheat::Do(), DE_GrasslandSilageAnnual::Do(), and DE_SugarBeet::Do().
|
virtual |
Records the costs of herbicide treatment, and associated score change.
|
virtual |
Apply herbicide to a_field.
Pesticide and similar in this next section
References cfg_pest_max_wind, Landscape::CheckForPesticideRecord(), DO_IT_PROB, EL_HERBICIDE_DELAYTIME, EL_TRAMLINE_DECAYTIME, g_landscape_ptr, g_weather, Weather::GetWind(), herbicide, herbicide_treat, l_farm_herbicide_kills, LE_SIG_NO_HERBICIDE, Weather::Raining(), LE::ReduceWeedBiomass(), LE::SetHerbicideDelay(), LE::SetLastTreatment(), LE::SetTramlinesDecay(), CfgFloat::value(), and CfgBool::value().
Referenced by UKMaize::Do(), PermanentGrassLowYield::Do(), DK_GrassLowYield_Perm::Do(), SeedGrass1::Do(), DK_CerealLegume::Do(), PermanentGrassGrazed::Do(), DK_CerealLegume_Whole::Do(), DK_SpringBarley_Green::Do(), DK_Legume_Peas::Do(), DK_CatchCrop::Do(), DK_SpringBarleySilage::Do(), SeedGrass2::Do(), DK_FodderBeet::Do(), DK_MaizeSilage::Do(), DK_SpringOats::Do(), DK_SpringOats_CC::Do(), DK_SugarBeet::Do(), DK_Legume_Beans::Do(), FI_SugarBeet::Do(), Maize::Do(), MaizeSilage::Do(), MaizeStrigling::Do(), NLMaizeSpring::Do(), DK_SpringWheat::Do(), Oats::Do(), UKBeans::Do(), DK_Maize::Do(), SpringBarleySeed::Do(), DK_Legume_Whole::Do(), FI_Potato_North::Do(), FieldPeas::Do(), FieldPeasSilage::Do(), FI_StarchPotato_North::Do(), FI_PotatoIndustry_North::Do(), SpringBarleyCloverGrass::Do(), UKBeet::Do(), PLFodderLucerne2::Do(), FI_Potato_South::Do(), FI_PotatoIndustry_South::Do(), Triticale::Do(), FI_StarchPotato_South::Do(), DK_SpringBarleyCloverGrass::Do(), NLBeetSpring::Do(), NLMaize::Do(), Carrots::Do(), DK_WinterFodderGrass::Do(), UKSpringBarley::Do(), UKWinterBarley::Do(), DK_SpringBarley::Do(), DK_SpringBarley_CC::Do(), NLCarrotsSpring::Do(), NLBeet::Do(), DK_SpringFodderGrass::Do(), DK_WinterCloverGrassGrazedSown::Do(), NLCarrots::Do(), NLCabbageSpring::Do(), BEWinterBarley::Do(), NLSpringBarleySpring::Do(), SugarBeet::Do(), DK_WinterBarley::Do(), BEWinterBarleyCC::Do(), PotatoesIndustry::Do(), NorwegianPotatoes::Do(), Potatoes::Do(), PTOliveGroveIntensive::Do(), FodderBeet::Do(), BEWinterWheatCC::Do(), DK_VegSeeds::Do(), DK_EnergyCrop_Perm::Do(), BEWinterWheat::Do(), NLCabbage::Do(), DK_Carrots_Spring::Do(), NLGrassGrazedExtensive1::Do(), DK_WinterRye::Do(), DK_WinterRye_CC::Do(), SpringBarleySKManagement::Do(), DK_Carrots::Do(), PLCarrots::Do(), PTSetAside::Do(), SpringBarleySilage::Do(), SpringBarleySpr::Do(), UKWinterWheat::Do(), DK_Cabbages::Do(), NLSpringBarley::Do(), DK_GrassGrazed_Perm::Do(), SpringBarleyPTreatment::Do(), UKWinterRape::Do(), WinterRye::Do(), NLWinterWheat::Do(), PLSpringBarleySpr::Do(), PTOliveGroveSuperIntensive::Do(), DK_WinterWheat::Do(), DK_WinterWheat_CC::Do(), PTCabbage::Do(), PTCabbage_Hort::Do(), SpringBarley::Do(), PTHorticulture::Do(), PLFodderLucerne1::Do(), UKPotatoes::Do(), DK_Potato::Do(), PTOliveGroveTraditional::Do(), PTPotatoes::Do(), FI_Caraway2::Do(), DE_HerbsPerennial_after1year::Do(), SpringRape::Do(), DK_MixedVeg::Do(), DK_CloverGrassGrazed1::Do(), PLBeetSpr::Do(), DE_HerbsPerennial_1year::Do(), PLBeans::Do(), PTMaize::Do(), PTMaize_Hort::Do(), DK_WinterRape::Do(), DK_SetAside::Do(), WinterRape::Do(), WinterBarleyStrigling::Do(), DK_PotatoSeed::Do(), NLGrassGrazed1::Do(), DE_Maize::Do(), DE_BushFruitPerm::Do(), FI_GrasslandSilagePerennial1::Do(), FI_GrasslandPasturePerennial1::Do(), FR_SpringBarley::Do(), DK_PotatoIndustry::Do(), DE_MaizeSilage::Do(), DK_SetAside_SummerMow::Do(), WinterBarley::Do(), NLPotatoesSpring::Do(), FR_SpringOats::Do(), DE_SpringBarley::Do(), PLWinterRye::Do(), FI_TurnipRape::Do(), FR_Sorghum::Do(), FI_GrasslandSilageAnnual::Do(), DE_AsparagusEstablishedPlantation::Do(), FR_Maize::Do(), FR_Maize_Silage::Do(), NLPotatoes::Do(), FI_FabaBean::Do(), PLMaize::Do(), PLMaizeSilage::Do(), PLSpringBarley::Do(), FI_SpringRape::Do(), NLTulips::Do(), FR_WinterTriticale::Do(), DE_Peas::Do(), PLWinterTriticale::Do(), SE_SpringBarley::Do(), FI_SpringBarley_Malt::Do(), FI_Caraway1::Do(), DE_Legumes::Do(), FR_Sunflower::Do(), DE_WinterRye::Do(), FI_SprSpringBarley_Fodder::Do(), PLWinterWheat::Do(), DK_CloverGrassGrazed3::Do(), PLWinterBarley::Do(), PLBeet::Do(), FI_SpringWheat::Do(), FI_SpringOats::Do(), PLSpringWheat::Do(), DE_Carrots::Do(), PLWinterWheatLate::Do(), DK_CloverGrassGrazed2::Do(), FI_SpringBarley_Fodder::Do(), PLPotatoes::Do(), SE_WinterRape_Seed::Do(), DK_BushFruit_Perm1::Do(), DE_Oats::Do(), SE_WinterWheat::Do(), DE_WinterBarley::Do(), DE_Cabbage::Do(), FR_SpringWheat::Do(), DE_SpringRye::Do(), DK_SeedGrassRye_Spring::Do(), PLWinterRape::Do(), PTVineyards::Do(), FR_WinterBarley::Do(), DE_GrasslandSilageAnnual::Do(), FI_WinterWheat::Do(), DK_BushFruit_Perm2::Do(), IRSpringOats::Do(), IRSpringBarley::Do(), IRWinterOats::Do(), FR_Grassland::Do(), IRWinterBarley::Do(), FI_WinterRye::Do(), FR_WinterWheat::Do(), IRSpringWheat::Do(), DE_WinterWheatLate::Do(), DE_WinterWheat::Do(), DE_Triticale::Do(), FR_Potatoes::Do(), IRWinterWheat::Do(), FR_WinterRape::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(), IRGrassland_reseed::Do(), ITOrchard::Do(), DK_ChristmasTrees_Perm::Do(), and WinterRape::HerbiZero().
|
virtual |
Do hilling up on a_field, probably of potatoes.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, g_weather, hilling_up, and Weather::Raining().
Referenced by OPotatoes::Do(), DE_OCarrots::Do(), DK_OCarrots::Do(), PotatoesIndustry::Do(), NorwegianPotatoes::Do(), Potatoes::Do(), DK_Carrots_Spring::Do(), DK_Carrots::Do(), DK_OPotato::Do(), DK_OPotatoIndustry::Do(), DK_OPotatoSeed::Do(), UKPotatoes::Do(), DK_Potato::Do(), PTPotatoes::Do(), DK_PotatoSeed::Do(), DK_PotatoIndustry::Do(), DE_OAsparagusEstablishedPlantation::Do(), NLPotatoesSpring::Do(), DE_AsparagusEstablishedPlantation::Do(), NLPotatoes::Do(), PLPotatoes::Do(), DE_Potatoes::Do(), and DE_PotatoesIndustry::Do().
|
virtual |
Kicks off the farm's management.
Save the crop veg type as the Field vegetation type
Reimplemented in UserDefinedFarm.
References cfg_OliveGroveIntensivePct, cfg_OliveGroveSuperIntensivePct, cfg_OliveGroveTradPct, Calendar::Date(), fmc_Others, g_date, g_farm_fixed_crop_enable, g_farm_fixed_crop_type, g_landscape_ptr, g_letype, g_msg, janfirst, PROG_START, LE::SetGrowthPhase(), LE::SetPollenNectarType(), LE::SetVegType(), Landscape::SupplyLEPointer(), toc_AsparagusEstablishedPlantation, toc_BushFruit, toc_FarmForest, toc_GrazingPigs, toc_Horticulture, toc_OAsparagusEstablishedPlantation, toc_OBushFruit, toc_OFarmForest, toc_OGrazingPigs, toc_OliveGrove, toc_OOrchardCrop, toc_OPermanentGrassGrazed, toc_OPermanentGrassLowYield, toc_OrchardCrop, toc_OYoungForestCrop, toc_PermanentGrassGrazed, toc_PermanentGrassLowYield, toc_PermanentGrassTussocky, toc_PermanentSetAside, toc_Tulips, toc_Vineyards, toc_YoungForestCrop, tole_AlmondPlantation, tole_AsparagusPerm, tole_BushFruit, tole_ChristmasTrees, tole_EnergyCrop, tole_FarmBufferZone, tole_FarmFeedingGround, tole_FarmForest, tole_FarmYoungForest, tole_FlowersPerm, tole_GreenFallow, tole_MushroomPerm, tole_NaturalFarmGrass, tole_OAsparagusPerm, tole_OBushFruit, tole_OChristmasTrees, tole_OEnergyCrop, tole_OFarmForest, tole_OFarmYoungForest, tole_OliveGrove, tole_OOrchard, tole_OPermPasture, tole_OPermPastureLowYield, tole_OPermPasturePigs, tole_Orchard, tole_OtherPermCrop, tole_PermanentSetaside, tole_PermPasture, tole_PermPastureLowYield, tole_PermPasturePigs, tole_PermPastureTussocky, tole_PlantNursery, tole_RiceField, tole_Vineyard, tole_WalnutPlantation, tole_WoodyEnergyCrop, tole_YoungForest, tov_BEOrchardCrop, tov_DEAsparagusEstablishedPlantation, tov_DEOAsparagusEstablishedPlantation, tov_DEOBushFruitPerm, tov_DEOOrchard, tov_DEOPermanentGrassGrazed, tov_DEOPermanentGrassLowYield, tov_DEOrchard, tov_DEPermanentGrassGrazed, tov_DEPermanentGrassLowYield, tov_DKBushFruit_Perm1, tov_DKChristmasTrees_Perm, tov_DKEnergyCrop_Perm, tov_DKFarmForest_Perm, tov_DKFarmYoungForest_Perm, tov_DKGrassGrazed_Perm, tov_DKGrassLowYield_Perm, tov_DKGrassTussocky_Perm, tov_DKGrazingPigs_Perm, tov_DKOBushFruit_Perm1, tov_DKOChristmasTrees_Perm, tov_DKOEnergyCrop_Perm, tov_DKOFarmForest_Perm, tov_DKOFarmYoungForest_Perm, tov_DKOGrassGrazed_Perm, tov_DKOGrassLowYield_Perm, tov_DKOGrazingPigs_Perm, tov_DKOOrchardCrop_Perm, tov_DKOrchardCrop_Perm, tov_DKPlantNursery_Perm, tov_FIBufferZone_Perm, tov_FIFeedingGround, tov_FIGreenFallow_Perm, tov_FINaturalGrassland_Perm, tov_FRGrassland_Perm, tov_ITGrassland, tov_ITOOrchard, tov_ITOrchard, tov_NLOrchardCrop, tov_NLPermanentGrassGrazed, tov_NLPermanentGrassGrazedExtensive, tov_NLTulips, tov_OrchardCrop, tov_PermanentGrassTussocky, tov_PermanentSetAside, tov_PTOliveGroveIntensive, tov_PTOliveGroveSuperIntensive, tov_PTOliveGroveTraditional, tov_PTOliveGroveTradOrganic, tov_PTPermanentGrassGrazed, tov_PTVineyards, tov_UKPermanentGrass, tov_Undefined, tov_YoungForest, LE_TypeClass::TranslateVegTypes(), CfgInt::value(), CfgFloat::value(), CfgBool::value(), MapErrorMsg::Warn(), and WARN_BUG.
Referenced by UserDefinedFarm::InitiateManagement().
|
virtual |
Records the costs of insecticide treatment, and associated score changes.
|
virtual |
Apply insecticide to a_field.
References cfg_pest_max_wind, Landscape::CheckForPesticideRecord(), DO_IT_PROB, EL_TRAMLINE_DECAYTIME, g_landscape_ptr, g_weather, Weather::GetWind(), LE::Insecticide(), insecticide, insecticide_treat, l_farm_insecticide_kills, LE_SIG_NO_INSECTICIDE, Weather::Raining(), LE::SetLastTreatment(), LE::SetTramlinesDecay(), CfgFloat::value(), and CfgBool::value().
Referenced by WinterRapeStrigling::Do(), DK_CerealLegume::Do(), DK_CerealLegume_Whole::Do(), DK_Legume_Peas::Do(), DK_SpringBarley_Green::Do(), BEOrchardCrop::Do(), DK_SpringBarleySilage::Do(), DK_FodderBeet::Do(), NLOrchardCrop::Do(), DK_Legume_Beans::Do(), FI_SugarBeet::Do(), DK_SpringOats::Do(), DK_SpringOats_CC::Do(), DK_SugarBeet::Do(), UKBeans::Do(), DK_SpringWheat::Do(), Oats::Do(), DK_Legume_Whole::Do(), DummyCropPestTesting::Do(), FI_Potato_North::Do(), SpringBarleyCloverGrassStrigling::Do(), FieldPeas::Do(), FieldPeasSilage::Do(), FieldPeasStrigling::Do(), FI_StarchPotato_North::Do(), FI_PotatoIndustry_North::Do(), SpringBarleyCloverGrass::Do(), FI_Potato_South::Do(), PTOliveGroveTradOrganic::Do(), FI_PotatoIndustry_South::Do(), Triticale::Do(), FI_StarchPotato_South::Do(), Carrots::Do(), DK_SpringBarleyCloverGrass::Do(), UKSpringBarley::Do(), UKWinterBarley::Do(), DK_WinterFodderGrass::Do(), SpringBarleyPeaCloverGrassStrigling::Do(), DK_SpringBarley::Do(), DK_SpringBarley_CC::Do(), DK_SpringFodderGrass::Do(), DK_WinterCloverGrassGrazedSown::Do(), PotatoesIndustry::Do(), BEWinterBarley::Do(), BEWinterBarleyCC::Do(), SugarBeet::Do(), NLCabbageSpring::Do(), NLSpringBarleySpring::Do(), Potatoes::Do(), PTOliveGroveIntensive::Do(), FodderBeet::Do(), NorwegianPotatoes::Do(), BEWinterWheat::Do(), BEWinterWheatCC::Do(), DK_VegSeeds::Do(), DK_WinterRye::Do(), DK_WinterRye_CC::Do(), DK_Carrots_Spring::Do(), SpringBarleySKManagement::Do(), NLCabbage::Do(), DK_Carrots::Do(), SpringBarleySilage::Do(), SpringBarleySpr::Do(), UKWinterWheat::Do(), WinterRyeStrigling::Do(), SpringBarleyStrigling::Do(), SpringBarleyStriglingCulm::Do(), SpringBarleyStriglingSingle::Do(), WinterRye::Do(), NLSpringBarley::Do(), UKWinterRape::Do(), DK_Cabbages::Do(), PTOliveGroveSuperIntensive::Do(), NLWinterWheat::Do(), PLSpringBarleySpr::Do(), DK_WinterWheat::Do(), PTCabbage::Do(), PTCabbage_Hort::Do(), DK_WinterWheat_CC::Do(), SpringBarley::Do(), PTHorticulture::Do(), UKPotatoes::Do(), DK_Potato::Do(), PTOliveGroveTraditional::Do(), FI_Caraway2::Do(), SpringRape::Do(), DK_MixedVeg::Do(), PLBeetSpr::Do(), WinterWheatStrigling::Do(), WinterWheatStriglingCulm::Do(), WinterWheatStriglingSingle::Do(), PLBeans::Do(), PTMaize_Hort::Do(), PTMaize::Do(), DK_WinterRape::Do(), WinterBarleyStrigling::Do(), WinterRape::Do(), BEPotatoesSpring::Do(), DK_PotatoSeed::Do(), DE_Maize::Do(), DE_BushFruitPerm::Do(), FR_SpringBarley::Do(), DK_PotatoIndustry::Do(), DE_MaizeSilage::Do(), WinterBarley::Do(), FR_SpringOats::Do(), NLPotatoesSpring::Do(), DE_SpringBarley::Do(), BEPotatoes::Do(), FI_TurnipRape::Do(), DE_AsparagusEstablishedPlantation::Do(), FR_Maize::Do(), FR_Maize_Silage::Do(), PLMaize::Do(), NLPotatoes::Do(), PLSpringBarley::Do(), PLMaizeSilage::Do(), FI_SpringRape::Do(), NLTulips::Do(), DE_Peas::Do(), SE_SpringBarley::Do(), FI_SpringBarley_Malt::Do(), PLWinterTriticale::Do(), FR_Sunflower::Do(), DE_Legumes::Do(), DE_WinterRye::Do(), PLWinterBarley::Do(), PLBeet::Do(), DK_CloverGrassGrazed3::Do(), PLWinterWheat::Do(), FI_SprSpringBarley_Fodder::Do(), FI_SpringWheat::Do(), PLWinterWheatLate::Do(), FI_SpringOats::Do(), DK_CloverGrassGrazed2::Do(), PLSpringWheat::Do(), PLPotatoes::Do(), SE_WinterRape_Seed::Do(), DK_BushFruit_Perm1::Do(), FI_SpringBarley_Fodder::Do(), DE_WinterBarley::Do(), DE_Cabbage::Do(), DE_Oats::Do(), SE_WinterWheat::Do(), FR_SpringWheat::Do(), DE_SpringRye::Do(), PLWinterRape::Do(), PTVineyards::Do(), FR_WinterBarley::Do(), FI_WinterWheat::Do(), DK_BushFruit_Perm2::Do(), IRWinterOats::Do(), IRSpringOats::Do(), IRSpringBarley::Do(), IRWinterBarley::Do(), DE_WinterWheatLate::Do(), DE_Triticale::Do(), FR_WinterWheat::Do(), DE_WinterWheat::Do(), FI_WinterRye::Do(), IRSpringWheat::Do(), FR_Potatoes::Do(), IRWinterWheat::Do(), FR_WinterRape::Do(), DE_WinterRape::Do(), DE_Orchard::Do(), WinterWheat::Do(), DE_SugarBeet::Do(), DK_OrchCherry::Do(), DE_Potatoes::Do(), DK_OrchPear::Do(), DK_OrchOther::Do(), DK_OrchApple::Do(), DK_OrchardCrop_Perm::Do(), DE_PotatoesIndustry::Do(), ITOrchard::Do(), and ITOOrchard::Do().
|
protected |
Finds all possible sums of the integers in the items array.
References g_msg, GetFarmNumber(), WARN_MSG, and MapErrorMsg::WarnAddInfo().
Referenced by AssignPermanentCrop().
|
virtual |
Generate an 'irrigation' event with a frequency defined by a_freq in the irrigation period on a_field.
References Calendar::DayInYear(), EL_TRAMLINE_DECAYTIME, g_date, g_landscape_ptr, g_weather, LE::GetUnsprayedMarginPolyRef(), Weather::Raining(), Landscape::SupplyLEPointer(), LE::ToggleIrrigation(), and water.
Referenced by PTCabbage::Do(), PTCabbage_Hort::Do(), PTHorticulture::Do(), PTPotatoes::Do(), PTMaize_Hort::Do(), PTMaize::Do(), PTSorghum::Do(), DE_OAsparagusEstablishedPlantation::Do(), DE_AsparagusEstablishedPlantation::Do(), ITOrchard::Do(), and ITOOrchard::Do().
|
virtual |
Start a irrigation event on a_field today.
This is the main initiate irrigation method and as such is called at the moment irrigation is started.
References Calendar::Date(), DO_IT_PROB, EL_TRAMLINE_DECAYTIME, g_date, g_weather, Weather::GetRainPeriod(), LE::ToggleIrrigation(), and water.
Referenced by PTCabbage::Do(), PTCabbage_Hort::Do(), PTHorticulture::Do(), PTPotatoes::Do(), PTMaize_Hort::Do(), PTMaize::Do(), PTSorghum::Do(), DE_OAsparagusEstablishedPlantation::Do(), and DE_AsparagusEstablishedPlantation::Do().
|
inline |
References m_stockfarmer.
Referenced by UKMaize::Do(), WinterRapeStrigling::Do(), NLCatchCropPea::Do(), OPermanentGrassGrazed::Do(), BECatchPeaCrop::Do(), DE_OPeas::Do(), OCarrots::Do(), DK_CerealLegume::Do(), PermanentGrassGrazed::Do(), DK_CerealLegume_Whole::Do(), DK_SpringBarley_Green::Do(), DK_Legume_Peas::Do(), DK_OLegume_Peas_CC::Do(), OWinterBarleyExt::Do(), DE_OLegume::Do(), DK_SpringBarleySilage::Do(), DK_OLegume_Beans::Do(), DK_OLegume_Beans_CC::Do(), DK_OLegume_Peas::Do(), DK_OLentils::Do(), OWinterBarley::Do(), DK_MaizeSilage::Do(), DK_OLupines::Do(), DK_OSpringBarleyCloverGrass::Do(), OWinterRye::Do(), DK_Legume_Beans::Do(), DK_SpringOats::Do(), DK_SpringOats_CC::Do(), DE_OSpringRye::Do(), OOats::Do(), DE_OMaizeSilage::Do(), DE_OOats::Do(), DK_OWinterRye::Do(), DK_OCerealLegume_Whole::Do(), DE_OWinterWheat::Do(), DK_OLegume_Whole::Do(), DK_OLegume_Whole_CC::Do(), DK_OLegumeCloverGrass_Whole::Do(), OTriticale::Do(), DK_OSpringBarley_CC::Do(), DE_OMaize::Do(), DK_OWinterRye_CC::Do(), DK_Maize::Do(), UKBeans::Do(), DK_SpringWheat::Do(), NLMaizeSpring::Do(), Oats::Do(), OSpringBarleyExt::Do(), BEMaizeSpring::Do(), DK_OWinterBarley::Do(), DK_Legume_Whole::Do(), DK_OCerealLegume::Do(), OSpringBarley::Do(), DK_OSpringBarley::Do(), DK_OSugarBeet::Do(), FieldPeas::Do(), FieldPeasSilage::Do(), FieldPeasStrigling::Do(), DK_OFodderBeet::Do(), OPotatoes::Do(), DE_OWinterRape::Do(), OWinterWheat::Do(), OWinterWheatUndersown::Do(), OWinterWheatUndersownExt::Do(), BEMaize::Do(), UKBeet::Do(), OWinterRape::Do(), PLFodderLucerne2::Do(), DK_OSpringOats::Do(), DK_OSpringWheat::Do(), Carrots::Do(), DE_OSugarBeet::Do(), DE_OCabbages::Do(), NLBeetSpring::Do(), NLMaize::Do(), DK_SpringBarleyCloverGrass::Do(), DK_OVegSeeds::Do(), UKSpringBarley::Do(), UKWinterBarley::Do(), DK_WinterFodderGrass::Do(), DE_OBushFruitPerm::Do(), DK_OSpringOats_CC::Do(), DE_OPotatoes::Do(), DK_SpringBarley::Do(), DK_SpringBarley_CC::Do(), NLCarrotsSpring::Do(), DK_OMaize::Do(), DK_OMaizeSilage::Do(), DK_OWinterRape::Do(), SetAside::Do(), DK_WinterCloverGrassGrazedSown::Do(), DK_OEnergyCrop_Perm::Do(), NLBeet::Do(), NLGrassGrazedExtensive2::Do(), DE_OCarrots::Do(), NLPermanentGrassGrazedExtensive::Do(), DK_SpringFodderGrass::Do(), DK_OSpringBarleySilage::Do(), DK_OCarrots::Do(), NLCarrots::Do(), NLGrassGrazedExtensive1Spring::Do(), NLGrassGrazedExtensiveLast::Do(), DK_WinterBarley::Do(), NLCabbageSpring::Do(), NLSpringBarleySpring::Do(), PotatoesIndustry::Do(), NorwegianPotatoes::Do(), Potatoes::Do(), DK_VegSeeds::Do(), DK_EnergyCrop_Perm::Do(), SpringBarleySKManagement::Do(), DK_WinterRye::Do(), DK_WinterRye_CC::Do(), NLCabbage::Do(), NLGrassGrazedExtensive1::Do(), DK_Carrots_Spring::Do(), SpringBarleySilage::Do(), UKWinterWheat::Do(), WinterRyeStrigling::Do(), SpringBarleySpr::Do(), DK_OGrassGrazed_Perm::Do(), PLCarrots::Do(), DK_Carrots::Do(), SpringBarleyStriglingSingle::Do(), TestCrop::Do(), SpringBarleyStrigling::Do(), WinterRye::Do(), SpringBarleyStriglingCulm::Do(), BEGrassGrazed1Spring::Do(), NLSpringBarley::Do(), UKWinterRape::Do(), SpringBarleyPTreatment::Do(), DK_GrassGrazed_Perm::Do(), DK_OMixedVeg::Do(), NLWinterWheat::Do(), BEGrassGrazedLast::Do(), BEGrassGrazed2::Do(), PLSpringBarleySpr::Do(), PTBeans::Do(), SpringBarley::Do(), DK_WinterWheat::Do(), DK_WinterWheat_CC::Do(), DE_PermanentGrassGrazed::Do(), DK_OPotato::Do(), PTCabbage_Hort::Do(), DK_OPotatoIndustry::Do(), DK_OPotatoSeed::Do(), PTCabbage::Do(), PTOtherDryBeans::Do(), PLFodderLucerne1::Do(), PTHorticulture::Do(), UKPermanentGrass::Do(), UKPotatoes::Do(), DK_Potato::Do(), UKTempGrass::Do(), PTPotatoes::Do(), DE_HerbsPerennial_after1year::Do(), SpringRape::Do(), DK_OSeedGrassRye_Spring::Do(), DK_OBushFruit_Perm2::Do(), PTOats::Do(), DK_MixedVeg::Do(), DE_OHerbsPerennial_after1year::Do(), NLGrassGrazed2::Do(), NLPermanentGrassGrazed::Do(), PLBeetSpr::Do(), DE_HerbsPerennial_1year::Do(), WinterWheatStriglingSingle::Do(), WinterWheatStriglingCulm::Do(), WinterWheatStrigling::Do(), FI_GreenFallow_Perm::Do(), NLGrassGrazedLast::Do(), DE_OHerbsPerennial_1year::Do(), PLBeans::Do(), NLGrassGrazed1Spring::Do(), PTMaize::Do(), FI_BufferZone::Do(), PTMaize_Hort::Do(), PTWinterRye::Do(), PTWinterWheat::Do(), DE_OGrasslandSilageAnnual::Do(), PTWinterBarley::Do(), DK_WinterRape::Do(), ITGrassland::Do(), PTFodderMix::Do(), PTCloverGrassGrazed2::Do(), PTTriticale::Do(), WinterRape::Do(), PTSorghum::Do(), WinterBarleyStrigling::Do(), DK_PotatoSeed::Do(), BEPotatoesSpring::Do(), PTGrassGrazed::Do(), PTYellowLupin::Do(), DE_BushFruitPerm::Do(), NLGrassGrazed1::Do(), DE_Maize::Do(), DE_MaizeSilage::Do(), DE_OAsparagusEstablishedPlantation::Do(), DK_PotatoIndustry::Do(), FI_OSpringBarley_Fodder::Do(), FR_SpringOats::Do(), WinterBarley::Do(), NLPotatoesSpring::Do(), PTRyegrass::Do(), PLWinterRye::Do(), DK_OOrchCherry::Do(), DE_SpringBarley::Do(), DK_OSpringFodderGrass::Do(), DK_OBushFruit_Perm1::Do(), DK_OWinterWheat_CC::Do(), DE_AsparagusEstablishedPlantation::Do(), FR_Maize::Do(), DK_OCloverGrassGrazed3::Do(), DK_OCloverGrassGrazed1::Do(), DK_OCloverGrassGrazed2::Do(), DK_OWinterWheat::Do(), PLSpringBarley::Do(), NLPotatoes::Do(), PLMaize::Do(), PLMaizeSilage::Do(), NLTulips::Do(), FR_Sunflower::Do(), DE_Peas::Do(), SE_SpringBarley::Do(), PLWinterTriticale::Do(), PTCloverGrassGrazed1::Do(), DE_Legumes::Do(), DK_OOrchPear::Do(), DE_OWinterRye::Do(), DE_OTriticale::Do(), DK_OWinterFodderGrass::Do(), DE_WinterRye::Do(), PLWinterWheat::Do(), DE_OWinterBarley::Do(), DK_OOrchOther::Do(), DK_OOrchApple::Do(), DK_OOrchardCrop_Perm::Do(), FI_SprSpringBarley_Fodder::Do(), DK_OWinterCloverGrassGrazedSown::Do(), PLWinterBarley::Do(), PLBeet::Do(), PLSpringWheat::Do(), PLWinterWheatLate::Do(), DE_Carrots::Do(), PTPermanentGrassGrazed::Do(), FI_SpringBarley_Fodder::Do(), DK_BushFruit_Perm1::Do(), PLPotatoes::Do(), DE_WinterBarley::Do(), FR_SpringWheat::Do(), DE_Oats::Do(), DE_Cabbage::Do(), DK_SeedGrassRye_Spring::Do(), DE_SpringRye::Do(), PLWinterRape::Do(), DE_GrasslandSilageAnnual::Do(), DK_BushFruit_Perm2::Do(), IRWinterBarley::Do(), IRSpringOats::Do(), IRSpringBarley::Do(), IRWinterOats::Do(), IRSpringWheat::Do(), DE_WinterWheat::Do(), DE_WinterWheatLate::Do(), DE_Triticale::Do(), IRWinterWheat::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_OrchardCrop_Perm::Do(), DK_OrchApple::Do(), DK_OrchOther::Do(), DE_PotatoesIndustry::Do(), DE_OOrchard::Do(), IRGrassland_reseed::Do(), ITOrchard::Do(), DK_OChristmasTrees_Perm::Do(), ITOOrchard::Do(), DK_ChristmasTrees_Perm::Do(), and WinterRape::HerbiZero().
|
virtual |
LeafThinning (leaf removal to increase areation and sun exposure of fruits, e.g., grapes) applied on a_field.
References DO_IT_PROB, g_weather, pruning, and Weather::Raining().
Referenced by PTVineyards::Do(), ITOrchard::Do(), and ITOOrchard::Do().
|
protected |
Call do function for any crop with an outstanding event. Signal if the crop has terminated.
References FarmEvent::m_event, FarmEvent::m_field, FarmEvent::m_run, FarmEvent::m_todo, LE::m_tried_to_do, tov_PlantNursery, and tov_YoungForest.
polylist * Farm::ListOpenFields | ( | int | a_openness | ) |
Returns a list of fields with openness above a_openness.
Returns the list of fields more open than a_openness.
References m_fields.
|
inlinevirtual |
Reimplemented in PesticideTrialTreatment, PesticideTrialToxicControl, PesticideTrialControl, OrganicPlant, and ConventionalPlant.
References m_stockfarmer.
|
virtual |
Manual weeding on a_field - no tramlines since weeding by hand, the bush stays on field with same vegetation height, thus suspects same % insects.
References Calendar::Date(), DO_IT_PROB, g_date, g_weather, Weather::GetRainPeriod(), and manual_weeding.
Referenced by DK_OSugarBeet::Do(), DK_OFodderBeet::Do(), DE_OSugarBeet::Do(), DE_OCabbages::Do(), DE_OBushFruitPerm::Do(), DE_OCarrots::Do(), DK_OCabbages::Do(), DK_OCarrots::Do(), DK_Cabbages::Do(), DK_OBushFruit_Perm2::Do(), DE_BushFruitPerm::Do(), DK_BushFruit_Perm2::Do(), DE_OOrchard::Do(), DK_OChristmasTrees_Perm::Do(), and DK_ChristmasTrees_Perm::Do().
|
virtual |
Apply molluscicide to a_field.
References cfg_pest_max_wind, Landscape::CheckForPesticideRecord(), DO_IT_PROB, EL_TRAMLINE_DECAYTIME, g_landscape_ptr, g_weather, Weather::GetWind(), insecticide, LE_SIG_NO_MOLLUSC, molluscicide, Weather::Raining(), LE::SetLastTreatment(), LE::SetTramlinesDecay(), and CfgFloat::value().
Referenced by DK_FodderBeet::Do(), DK_SugarBeet::Do(), DK_OSugarBeet::Do(), DK_OFodderBeet::Do(), DK_OVegSeeds::Do(), DK_OCabbages::Do(), DK_WinterBarley::Do(), DK_VegSeeds::Do(), DK_Cabbages::Do(), DK_WinterWheat::Do(), DK_WinterWheat_CC::Do(), DK_OBushFruit_Perm2::Do(), DK_MixedVeg::Do(), DK_OBushFruit_Perm1::Do(), DK_BushFruit_Perm1::Do(), PLWinterRape::Do(), DK_BushFruit_Perm2::Do(), IRWinterOats::Do(), IRWinterBarley::Do(), IRSpringOats::Do(), IRSpringBarley::Do(), IRSpringWheat::Do(), IRWinterWheat::Do(), and DE_WinterRape::Do().
|
virtual |
Physical/mechanical weed control in the between-row area using a rotary mower cutter.
References DO_IT_PROB, g_landscape_ptr, g_weather, LE::GetUnsprayedMarginPolyRef(), LE::InsectMortality(), mow, Weather::Raining(), LE::ReduceVeg(), LE::SetLastTreatment(), and Landscape::SupplyLEPointer().
Referenced by PTOliveGroveTradOrganic::Do(), PTOliveGroveIntensive::Do(), and PTOliveGroveTraditional::Do().
|
virtual |
Biocide applied on a_field.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, g_weather, org_fungicide, Weather::Raining(), LE::SetLastTreatment(), and LE::SetTramlinesDecay().
Referenced by DK_OOrchPear::Do(), DK_OOrchOther::Do(), DK_OOrchApple::Do(), DK_OOrchardCrop_Perm::Do(), and DE_OOrchard::Do().
|
virtual |
Biocide applied on a_field.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, g_weather, org_herbicide, Weather::Raining(), LE::SetLastTreatment(), and LE::SetTramlinesDecay().
|
virtual |
Biocide applied on a_field.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, g_weather, org_insecticide, Weather::Raining(), LE::SetLastTreatment(), and LE::SetTramlinesDecay().
Referenced by DE_OPotatoes::Do(), DK_OMixedVeg::Do(), DK_OOrchCherry::Do(), DK_OOrchPear::Do(), DK_OOrchardCrop_Perm::Do(), DK_OOrchApple::Do(), DK_OOrchOther::Do(), and DE_OOrchard::Do().
|
virtual |
Pheromone applied on a_field - same as with org. pesticides for now.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, g_weather, pheromone, Weather::Raining(), LE::SetLastTreatment(), and LE::SetTramlinesDecay().
Referenced by DE_OOrchard::Do().
|
virtual |
Start a pig grazing event on a_field today or soon.
References g_landscape_ptr, LE::GetUnsprayedMarginPolyRef(), Landscape::SupplyLEPointer(), and LE::TogglePigGrazing().
Referenced by DK_GrazingPigs::Do(), OGrazingPigs::Do(), DK_OGrazingPigs_Perm::Do(), DK_OGrazingPigs::Do(), DK_GrazingPigs_Perm::Do(), DK_OChristmasTrees_Perm::Do(), and DK_ChristmasTrees_Perm::Do().
|
virtual |
Start a pig grazing event on a_field today - no exceptions.
References g_landscape_ptr, LE::GetUnsprayedMarginPolyRef(), l_farm_pig_veg_reduce, pigs_out, LE::ReduceVeg_Extended(), LE::SetLastTreatment(), Landscape::SupplyLEPointer(), and CfgFloat::value().
Referenced by DK_GrazingPigs::Do(), OGrazingPigs::Do(), DK_OGrazingPigs_Perm::Do(), DK_OGrazingPigs::Do(), and DK_GrazingPigs_Perm::Do().
|
virtual |
Generate a 'pigs_out' event for every day the cattle are on a_field.
References DO_IT_PROB, g_landscape_ptr, LE::GetUnsprayedMarginPolyRef(), l_farm_pig_veg_reduce, pigs_out, LE::ReduceVeg_Extended(), LE::SetLastTreatment(), Landscape::SupplyLEPointer(), LE::TogglePigGrazing(), and CfgFloat::value().
Referenced by DK_GrazingPigs::Do(), OGrazingPigs::Do(), DK_OGrazingPigs_Perm::Do(), DK_OGrazingPigs::Do(), DK_GrazingPigs_Perm::Do(), DK_OChristmasTrees_Perm::Do(), and DK_ChristmasTrees_Perm::Do().
|
virtual |
Carry out preseeding cultivation on a_field (tilling set including cultivator and string roller to compact soil)
References DO_IT_PROB, g_weather, preseeding_cultivator, and Weather::Raining().
Referenced by UKMaize::Do(), FI_OPotato_North::Do(), FI_OStarchPotato_South::Do(), FI_OStarchPotato_North::Do(), FI_OPotato_South::Do(), FI_OPotatoIndustry_North::Do(), FI_OPotatoIndustry_South::Do(), FI_SugarBeet::Do(), NLMaizeSpring::Do(), UKBeans::Do(), FI_Potato_North::Do(), FI_StarchPotato_North::Do(), FI_PotatoIndustry_North::Do(), FI_Potato_South::Do(), FI_PotatoIndustry_South::Do(), UKBeet::Do(), FI_StarchPotato_South::Do(), NLMaize::Do(), NLBeetSpring::Do(), UKSpringBarley::Do(), NLCarrotsSpring::Do(), NLBeet::Do(), NLGrassGrazedExtensive1Spring::Do(), NLCarrots::Do(), NLSpringBarleySpring::Do(), NLCabbageSpring::Do(), NLGrassGrazedExtensive1::Do(), NLCabbage::Do(), PLCarrots::Do(), BEGrassGrazed1Spring::Do(), NLSpringBarley::Do(), UKWinterRape::Do(), PLSpringBarleySpr::Do(), PLFodderLucerne1::Do(), UKTempGrass::Do(), PLBeetSpr::Do(), DE_HerbsPerennial_1year::Do(), NLGrassGrazed1Spring::Do(), PLBeans::Do(), DE_OHerbsPerennial_1year::Do(), DE_OGrasslandSilageAnnual::Do(), FI_OSpringBarley_Malt::Do(), NLGrassGrazed1::Do(), FI_OFabaBean::Do(), FI_OCaraway1::Do(), DE_Maize::Do(), FI_OTurnipRape::Do(), FI_GrasslandPasturePerennial1::Do(), FI_GrasslandSilagePerennial1::Do(), FI_OSpringOats::Do(), DE_MaizeSilage::Do(), FI_OSpringRape::Do(), FI_OSpringWheat::Do(), FI_OSpringBarley_Fodder::Do(), PLWinterRye::Do(), FI_GrasslandSilageAnnual::Do(), FI_TurnipRape::Do(), FI_FabaBean::Do(), PLMaizeSilage::Do(), PLSpringBarley::Do(), PLMaize::Do(), FI_OWinterRye::Do(), FI_SpringRape::Do(), FI_Caraway1::Do(), FI_SpringBarley_Malt::Do(), PLWinterTriticale::Do(), FR_Sunflower::Do(), FI_OWinterWheat::Do(), PLBeet::Do(), PLWinterBarley::Do(), PLWinterWheat::Do(), FI_SpringWheat::Do(), FI_SprSpringBarley_Fodder::Do(), PLSpringWheat::Do(), FI_SpringOats::Do(), PLWinterWheatLate::Do(), DE_Carrots::Do(), PLPotatoes::Do(), FI_SpringBarley_Fodder::Do(), DE_Oats::Do(), DE_Cabbage::Do(), FR_SpringWheat::Do(), DE_SpringRye::Do(), PLWinterRape::Do(), FR_WinterBarley::Do(), FI_WinterWheat::Do(), DE_GrasslandSilageAnnual::Do(), FI_WinterRye::Do(), FR_WinterWheat::Do(), FR_WinterRape::Do(), DE_WinterRape::Do(), DE_SugarBeet::Do(), DE_Potatoes::Do(), and DE_PotatoesIndustry::Do().
|
virtual |
Carry out preseeding cultivation together with sow on a_field (tilling and sowing set including cultivator and string roller to compact soil)
References LE::CalculateFlowerResourceForCropSow(), Pesticide::DailyQueueAddSeedCoating(), DO_IT_PROB, g_pest, g_weather, LE::GetPollenNectarCurveRef(), preseeding_cultivator_sow, Weather::Raining(), LE::SetGrowthPhase(), LE::SetLastSownVeg(), and sow.
Referenced by NLCatchCropPea::Do(), DK_Legume_Peas::Do(), FI_OStarchPotato_North::Do(), FI_OStarchPotato_South::Do(), FI_OPotato_North::Do(), FI_OPotato_South::Do(), FI_OPotatoIndustry_North::Do(), FI_OPotatoIndustry_South::Do(), DK_MaizeSilage::Do(), DK_SpringOats_CC::Do(), FI_SugarBeet::Do(), DK_Legume_Beans::Do(), DK_SpringOats::Do(), DK_Maize::Do(), DK_SpringWheat::Do(), DK_Legume_Whole::Do(), FI_Potato_North::Do(), FI_StarchPotato_North::Do(), FI_PotatoIndustry_North::Do(), FI_Potato_South::Do(), FI_PotatoIndustry_South::Do(), FI_StarchPotato_South::Do(), DK_OVegSeeds::Do(), DK_SpringBarleyCloverGrass::Do(), UKWinterBarley::Do(), DK_OWinterRape::Do(), DK_SpringBarley_CC::Do(), DK_SpringBarley::Do(), NLSpringBarleySpring::Do(), DK_WinterBarley::Do(), DK_VegSeeds::Do(), DK_WinterRye::Do(), DK_WinterRye_CC::Do(), NLSpringBarley::Do(), NLWinterWheat::Do(), PLSpringBarleySpr::Do(), DK_WinterWheat::Do(), PTOats::Do(), PLBeetSpr::Do(), PTWinterBarley::Do(), PTWinterWheat::Do(), PTWinterRye::Do(), DK_WinterRape::Do(), PTTriticale::Do(), FI_OSpringBarley_Malt::Do(), PTYellowLupin::Do(), PTGrassGrazed::Do(), FI_OFabaBean::Do(), FI_OSpringOats::Do(), FI_OSpringRape::Do(), FI_OTurnipRape::Do(), FI_OSpringWheat::Do(), FR_SpringBarley::Do(), FR_SpringOats::Do(), FI_OSpringBarley_Fodder::Do(), PLWinterRye::Do(), DE_SpringBarley::Do(), FI_TurnipRape::Do(), FR_Sorghum::Do(), FR_Maize_Silage::Do(), FR_Maize::Do(), PLSpringBarley::Do(), FI_FabaBean::Do(), FR_WinterTriticale::Do(), FI_SpringRape::Do(), FI_SpringBarley_Malt::Do(), PLWinterTriticale::Do(), PTCloverGrassGrazed1::Do(), FI_OWinterWheat::Do(), PLWinterWheat::Do(), PLBeet::Do(), FI_SprSpringBarley_Fodder::Do(), PLWinterBarley::Do(), FI_SpringWheat::Do(), PLWinterWheatLate::Do(), PLSpringWheat::Do(), FI_SpringOats::Do(), FI_SpringBarley_Fodder::Do(), PTPermanentGrassGrazed::Do(), DE_Oats::Do(), DE_SpringRye::Do(), FI_WinterWheat::Do(), IRSpringOats::Do(), IRWinterBarley::Do(), IRWinterOats::Do(), FR_Grassland::Do(), IRSpringBarley::Do(), IRSpringWheat::Do(), IRWinterWheat::Do(), and DE_SugarBeet::Do().
|
inlinevirtual |
Referenced by PermanentGrassLowYield::Do(), DK_GrassLowYield_Perm::Do(), SeedGrass1::Do(), PermanentGrassGrazed::Do(), SeedGrass2::Do(), MaizeSilage::Do(), Maize::Do(), Oats::Do(), FieldPeasSilage::Do(), FieldPeas::Do(), SpringBarleyCloverGrass::Do(), Triticale::Do(), Carrots::Do(), SugarBeet::Do(), PotatoesIndustry::Do(), NorwegianPotatoes::Do(), FodderBeet::Do(), Potatoes::Do(), SpringBarleySilage::Do(), SpringBarleySpr::Do(), WinterRye::Do(), SpringBarley::Do(), SpringRape::Do(), WinterRape::Do(), WinterBarley::Do(), WinterWheat::Do(), and WinterRape::HerbiZero().
|
virtual |
Apply test pesticide to a_field.
References cfg_CustomInsecticidesSurvProp, cfg_pest_max_wind, Landscape::CheckForPesticideRecord(), Pesticide::DailyQueueAdd(), Pesticide::DailyQueueAddGranular(), EL_TRAMLINE_DECAYTIME, g_landscape_ptr, g_pest, g_weather, Weather::GetWind(), LE::Insecticide(), l_farm_insecticide_kills, product_treat, Weather::Raining(), LE::SetLastTreatment(), LE::SetTramlinesDecay(), testpesticide, CfgFloat::value(), and CfgBool::value().
Referenced by OrchardCrop::Do(), DK_CerealLegume_Whole::Do(), DK_CerealLegume::Do(), DK_Legume_Peas::Do(), DK_SpringBarley_Green::Do(), BEOrchardCrop::Do(), DK_SpringBarleySilage::Do(), DK_FodderBeet::Do(), NLOrchardCrop::Do(), DK_Legume_Beans::Do(), DK_SpringOats::Do(), DK_SpringOats_CC::Do(), DK_SugarBeet::Do(), DK_SpringWheat::Do(), UKBeans::Do(), DK_Legume_Whole::Do(), FI_Potato_North::Do(), FI_StarchPotato_North::Do(), FI_PotatoIndustry_North::Do(), FI_Potato_South::Do(), FI_PotatoIndustry_South::Do(), FI_StarchPotato_South::Do(), DK_SpringBarleyCloverGrass::Do(), DK_WinterFodderGrass::Do(), UKSpringBarley::Do(), UKWinterBarley::Do(), DK_SpringBarley_CC::Do(), DK_SpringBarley::Do(), DK_SpringFodderGrass::Do(), DK_WinterCloverGrassGrazedSown::Do(), BEWinterBarley::Do(), BEWinterBarleyCC::Do(), NLCabbageSpring::Do(), NLSpringBarleySpring::Do(), BEWinterWheat::Do(), BEWinterWheatCC::Do(), DK_VegSeeds::Do(), DK_WinterRye::Do(), DK_WinterRye_CC::Do(), DK_Carrots_Spring::Do(), NLCabbage::Do(), DK_Carrots::Do(), UKWinterWheat::Do(), NLSpringBarley::Do(), DK_Cabbages::Do(), SpringBarleyPTreatment::Do(), NLWinterWheat::Do(), PLSpringBarleySpr::Do(), DK_WinterWheat::Do(), DK_WinterWheat_CC::Do(), DK_Potato::Do(), UKPotatoes::Do(), FI_Caraway2::Do(), SpringRape::Do(), DK_MixedVeg::Do(), PLBeetSpr::Do(), PLBeans::Do(), DK_WinterRape::Do(), BEPotatoesSpring::Do(), DK_PotatoSeed::Do(), WinterRape::Do(), DE_BushFruitPerm::Do(), DE_Maize::Do(), FR_SpringBarley::Do(), DK_PotatoIndustry::Do(), DE_MaizeSilage::Do(), FR_SpringOats::Do(), NLPotatoesSpring::Do(), DE_SpringBarley::Do(), BEPotatoes::Do(), FI_TurnipRape::Do(), DE_AsparagusEstablishedPlantation::Do(), FR_Maize_Silage::Do(), FR_Maize::Do(), PLMaize::Do(), PLSpringBarley::Do(), NLPotatoes::Do(), PLMaizeSilage::Do(), FI_SpringRape::Do(), NLTulips::Do(), DE_Peas::Do(), FI_SpringBarley_Malt::Do(), FR_Sunflower::Do(), DE_Legumes::Do(), PLWinterTriticale::Do(), DE_WinterRye::Do(), FI_SprSpringBarley_Fodder::Do(), DK_CloverGrassGrazed3::Do(), FI_SpringWheat::Do(), PLWinterBarley::Do(), PLWinterWheat::Do(), PLBeet::Do(), DK_CloverGrassGrazed2::Do(), PLSpringWheat::Do(), PLWinterWheatLate::Do(), FI_SpringOats::Do(), PLPotatoes::Do(), FI_SpringBarley_Fodder::Do(), DK_BushFruit_Perm1::Do(), DE_Oats::Do(), DE_Cabbage::Do(), FR_SpringWheat::Do(), DE_WinterBarley::Do(), DE_SpringRye::Do(), PLWinterRape::Do(), PTVineyards::Do(), DK_BushFruit_Perm2::Do(), FR_WinterBarley::Do(), FI_WinterWheat::Do(), DE_WinterWheat::Do(), DE_WinterWheatLate::Do(), FR_WinterWheat::Do(), FI_WinterRye::Do(), DE_Triticale::Do(), FR_Potatoes::Do(), FR_WinterRape::Do(), DE_WinterRape::Do(), DE_Orchard::Do(), WinterWheat::Do(), DE_SugarBeet::Do(), DK_OrchCherry::Do(), DE_Potatoes::Do(), DK_OrchPear::Do(), DK_OrchardCrop_Perm::Do(), DK_OrchApple::Do(), DK_OrchOther::Do(), and DE_PotatoesIndustry::Do().
|
virtual |
Special pesticide trial functionality.
This methods tests for date limitations
References cfg_CustomInsecticidesSurvProp, cfg_productapplicendyear, cfg_productapplicstartyear, Pesticide::DailyQueueAdd(), Pesticide::DailyQueueAddGranular(), EL_TRAMLINE_DECAYTIME, g_landscape_ptr, g_pest, LE::InsectMortality(), LE::SetLastTreatment(), LE::SetSprayedToday(), LE::SetTramlinesDecay(), Landscape::SupplyYearNumber(), trial_insecticidetreat, CfgInt::value(), and CfgFloat::value().
Referenced by SpringBarleyCloverGrass::Do(), SpringBarleySpr::Do(), SpringBarleySilage::Do(), SpringBarley::Do(), and WinterRape::Do().
|
virtual |
Pruning applied on a_field - details needs to be added (e.g., impact on biomass, influence/impacts in species code)!
References DO_IT_PROB, g_weather, pruning, and Weather::Raining().
Referenced by PTOliveGroveTradOrganic::Do(), DK_OEnergyCrop_Perm::Do(), PTOliveGroveIntensive::Do(), DK_EnergyCrop_Perm::Do(), PTOliveGroveSuperIntensive::Do(), PTOliveGroveTraditional::Do(), DK_OBushFruit_Perm2::Do(), DK_OOrchCherry::Do(), DK_OBushFruit_Perm1::Do(), DK_OOrchPear::Do(), DK_OOrchApple::Do(), DK_OOrchardCrop_Perm::Do(), DK_OOrchOther::Do(), PTVineyards::Do(), DK_BushFruit_Perm2::Do(), DK_OrchCherry::Do(), DK_OrchPear::Do(), DK_OrchOther::Do(), DK_OrchardCrop_Perm::Do(), DK_OrchApple::Do(), ITOrchard::Do(), DK_OChristmasTrees_Perm::Do(), ITOOrchard::Do(), and DK_ChristmasTrees_Perm::Do().
|
protected |
Reads a rotation file into the rotation.
References g_farmmanager, g_msg, FarmManager::TranslateVegCodes(), and MapErrorMsg::Warn().
Referenced by OrganicCattle::OrganicCattle(), OrganicPig::OrganicPig(), OrganicPlant::OrganicPlant(), PesticideTrialTreatment::PesticideTrialTreatment(), UserDefinedFarm1::UserDefinedFarm1(), UserDefinedFarm10::UserDefinedFarm10(), UserDefinedFarm11::UserDefinedFarm11(), UserDefinedFarm12::UserDefinedFarm12(), UserDefinedFarm13::UserDefinedFarm13(), UserDefinedFarm14::UserDefinedFarm14(), UserDefinedFarm15::UserDefinedFarm15(), UserDefinedFarm16::UserDefinedFarm16(), UserDefinedFarm17::UserDefinedFarm17(), UserDefinedFarm2::UserDefinedFarm2(), UserDefinedFarm3::UserDefinedFarm3(), UserDefinedFarm4::UserDefinedFarm4(), UserDefinedFarm5::UserDefinedFarm5(), UserDefinedFarm6::UserDefinedFarm6(), UserDefinedFarm7::UserDefinedFarm7(), UserDefinedFarm8::UserDefinedFarm8(), and UserDefinedFarm9::UserDefinedFarm9().
void Farm::RemoveField | ( | LE * | a_field | ) |
|
inline |
References m_HuntersList.
|
virtual |
Carry out a harrowing between crop rows on a_field.
References Calendar::Date(), DO_IT_PROB, EL_TRAMLINE_DECAYTIME, g_date, g_weather, Weather::GetRainPeriod(), and row_cultivation.
Referenced by WinterRapeStrigling::Do(), BroadBeans::Do(), OCarrots::Do(), DK_OLegume::Do(), DE_OPeas::Do(), OMaizeSilage::Do(), DK_OLegume_Peas_CC::Do(), DE_OLegume::Do(), DK_OLegume_Beans::Do(), DK_OLegume_Beans_CC::Do(), DK_OLegume_Peas::Do(), DK_FodderBeet::Do(), DK_OLupines::Do(), DK_MaizeSilage::Do(), DK_SugarBeet::Do(), DE_OMaizeSilage::Do(), Maize::Do(), MaizeSilage::Do(), MaizeStrigling::Do(), DK_OLegume_Whole::Do(), DK_OLegume_Whole_CC::Do(), DE_OMaize::Do(), DK_OSpringBarley_CC::Do(), DK_Maize::Do(), DK_OSpringBarley::Do(), DK_OSugarBeet::Do(), DK_OFodderBeet::Do(), DE_OWinterRape::Do(), OFodderBeet::Do(), OWinterRape::Do(), DK_OSpringOats::Do(), DK_OSpringWheat::Do(), DK_OVegSeeds::Do(), Carrots::Do(), DE_OCabbages::Do(), DE_OSugarBeet::Do(), DK_OSpringOats_CC::Do(), DK_OWinterRape::Do(), DK_OMaize::Do(), DK_OMaizeSilage::Do(), DK_OCabbages::Do(), DE_OCarrots::Do(), DK_OCarrots::Do(), SugarBeet::Do(), FodderBeet::Do(), DK_VegSeeds::Do(), DK_Carrots_Spring::Do(), DK_Carrots::Do(), DK_Cabbages::Do(), DK_OMixedVeg::Do(), DK_OPotatoSeed::Do(), DK_OPotato::Do(), DK_OPotatoIndustry::Do(), SpringRape::Do(), DE_HerbsPerennial_after1year::Do(), DK_OBushFruit_Perm2::Do(), DK_OSeedGrassRye_Spring::Do(), PLBeetSpr::Do(), DE_OHerbsPerennial_after1year::Do(), DK_MixedVeg::Do(), PLBeans::Do(), DK_WinterRape::Do(), WinterRape::Do(), DE_OAsparagusEstablishedPlantation::Do(), DK_OOrchCherry::Do(), FR_Sorghum::Do(), DK_OBushFruit_Perm1::Do(), DE_AsparagusEstablishedPlantation::Do(), DK_OOrchPear::Do(), DK_OOrchardCrop_Perm::Do(), DK_OOrchApple::Do(), PLBeet::Do(), DK_OOrchOther::Do(), DK_BushFruit_Perm1::Do(), DK_BushFruit_Perm2::Do(), DE_SugarBeet::Do(), DK_OrchCherry::Do(), DK_OrchPear::Do(), DK_OrchardCrop_Perm::Do(), DK_OrchOther::Do(), DK_OrchApple::Do(), DE_OOrchard::Do(), DK_OChristmasTrees_Perm::Do(), DK_ChristmasTrees_Perm::Do(), SpringRape::RowcolOne(), and WinterRape::RowcolOne().
|
inline |
References m_farm_num.
LE * Farm::SetFunctionData | ( | LE * | a_field, |
double | a_insecteffect, | ||
double | a_vegreduc, | ||
int | a_tramlinetime, | ||
FarmToDo | a_treatment | ||
) |
carries out standard setting of data and deals with possible unsprayed margins, returns a pointer to UM or nullptr
Sets the standard data needed for most FarmFuncs. In the case that something else is needed and there is a UM then also returns a pointer to the UM LE so that further actions can be undertaken by the calling farm fuction.
a_insecteffect is a fraction by which the current population size is multiplied - so 1.0 means no change and 0.1 means reduction by 90%. a_vegezero indicates whether to remove vegetation. a_treatment is whatever is being done e.g. autumn_plough
References g_landscape_ptr, LE::GetUnsprayedMarginPolyRef(), LE::InsectMortality(), LE::ReduceVeg(), LE::SetLastTreatment(), LE::SetTramlinesDecay(), Landscape::SupplyLEPointer(), and LE::ZeroVeg().
void Farm::SetFunctionDataNoUM | ( | LE * | a_field, |
double | a_insecteffect, | ||
double | a_vegreduc, | ||
int | a_tramlinetime, | ||
FarmToDo | a_treatment | ||
) |
carries out standard setting of data when UMs should be ignored
Sets the standard data needed for most FarmFuncs for when any UM should be ignored a_insecteffect is a fraction by which the current population size is multiplied - so 1.0 means no change and 0.1 means reduction by 90%. a_vegezero indicates whether to remove vegetation. a_treatment is whatever is being done e.g. autumn_plough
References LE::InsectMortality(), LE::ReduceVeg(), LE::SetLastTreatment(), LE::SetTramlinesDecay(), and LE::ZeroVeg().
|
inline |
|
virtual |
Carry out a shallow harrow event on a_field, e.g., after grass cutting event.
References DO_IT_PROB, g_weather, Weather::Raining(), and shallow_harrow.
Referenced by UKMaize::Do(), DE_OPeas::Do(), DK_OLegume::Do(), DE_OLegume::Do(), DK_OLegume_Peas_CC::Do(), DK_OLentils::Do(), DK_OLegume_Beans_CC::Do(), DK_OLegume_Beans::Do(), DK_OLegume_Peas::Do(), DK_OLupines::Do(), DK_FodderBeet::Do(), DK_OSpringBarleyCloverGrass::Do(), DK_SugarBeet::Do(), DK_OLegume_Whole::Do(), DK_OLegume_Whole_CC::Do(), DK_OLegumeCloverGrass_Whole::Do(), DK_OSpringBarley_CC::Do(), NLMaizeSpring::Do(), DK_OSpringBarley::Do(), DK_OSugarBeet::Do(), DK_OFodderBeet::Do(), PLFodderLucerne2::Do(), PTOliveGroveTradOrganic::Do(), DE_OSugarBeet::Do(), DE_OCabbages::Do(), NLMaize::Do(), UKSpringBarley::Do(), DK_WinterFodderGrass::Do(), DK_OEnergyCrop_Perm::Do(), DK_OSpringBarleySilage::Do(), DK_OCabbages::Do(), DK_SpringFodderGrass::Do(), DK_WinterCloverGrassGrazedSown::Do(), DE_OCarrots::Do(), DK_OCarrots::Do(), NLCabbageSpring::Do(), NLSpringBarleySpring::Do(), PTOliveGroveIntensive::Do(), DK_EnergyCrop_Perm::Do(), DK_Carrots_Spring::Do(), NLCabbage::Do(), DK_Carrots::Do(), DK_Cabbages::Do(), NLSpringBarley::Do(), DK_Potato::Do(), DK_OSeedGrassRye_Spring::Do(), DK_PotatoSeed::Do(), FI_OCaraway1::Do(), DE_OAsparagusEstablishedPlantation::Do(), DK_PotatoIndustry::Do(), DK_OBushFruit_Perm1::Do(), DE_AsparagusEstablishedPlantation::Do(), FI_Caraway1::Do(), DE_WinterRye::Do(), DK_BushFruit_Perm1::Do(), SE_WinterRape_Seed::Do(), SE_WinterWheat::Do(), DE_Oats::Do(), FR_SpringWheat::Do(), DE_WinterBarley::Do(), DE_Cabbage::Do(), DE_SpringRye::Do(), DE_Triticale::Do(), DE_WinterWheatLate::Do(), and DE_WinterWheat::Do().
|
virtual |
Shredding (destruction of the pruning residues with a shredders using hammer mower) applied on a_field.
References DO_IT_PROB, g_weather, Weather::Raining(), and shredding.
Referenced by PTOliveGroveTradOrganic::Do(), PTOliveGroveSuperIntensive::Do(), PTOliveGroveTraditional::Do(), PTVineyards::Do(), DK_OChristmasTrees_Perm::Do(), and DK_ChristmasTrees_Perm::Do().
|
virtual |
Nothing to to today on a_field.
References sleep_all_day.
Referenced by DK_OptimalFlowerMix2::Do(), NLCatchCropPea::Do(), DK_OCatchCrop::Do(), DK_CatchCrop::Do(), DK_OptimalFlowerMix3::Do(), DK_OptimalFlowerMix1::Do(), DK_OMaize::Do(), DK_OMaizeSilage::Do(), DK_SpringBarley::Do(), DK_WinterBarley::Do(), DK_WinterRye::Do(), DK_WinterRye_CC::Do(), DK_OGrassGrazed_Perm::Do(), PTSetAside::Do(), DK_GrassGrazed_Perm::Do(), PTTurnipGrazed::Do(), DK_WinterWheat::Do(), DK_WinterWheat_CC::Do(), PTHorticulture::Do(), DK_OBushFruit_Perm2::Do(), DK_WinterRape::Do(), ITGrassland::Do(), DK_SetAside::Do(), DK_OSetAside::Do(), DK_OSetAside_AnnualFlower::Do(), DK_OSetAside_PerennialFlower::Do(), DK_OSetAside_SummerMow::Do(), FI_OCaraway1::Do(), DK_SetAside_SummerMow::Do(), FI_FeedingGround::Do(), DK_OOrchCherry::Do(), DK_OBushFruit_Perm1::Do(), FR_WinterTriticale::Do(), NLTulips::Do(), FI_Caraway1::Do(), DK_OOrchPear::Do(), DK_OOrchApple::Do(), DK_OOrchOther::Do(), DK_OOrchardCrop_Perm::Do(), DK_BushFruit_Perm2::Do(), FR_Grassland::Do(), DK_OrchCherry::Do(), DK_OrchPear::Do(), DK_OrchardCrop_Perm::Do(), DK_OrchOther::Do(), DK_OrchApple::Do(), IRGrassland_reseed::Do(), ITOrchard::Do(), DK_OChristmasTrees_Perm::Do(), ITOOrchard::Do(), and DK_ChristmasTrees_Perm::Do().
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
Carry out a harrow event in the spring on a_field.
References DO_IT_PROB, g_weather, Weather::Raining(), and spring_harrow.
Referenced by NorwegianOats::Do(), NorwegianSpringBarley::Do(), BroadBeans::Do(), OSBarleySilage::Do(), OFieldPeas::Do(), OFieldPeasSilage::Do(), DK_OLegume::Do(), DE_OPeas::Do(), OCarrots::Do(), OBarleyPeaCloverGrass::Do(), OMaizeSilage::Do(), DE_OLegume::Do(), FI_OPotato_North::Do(), FI_OPotato_South::Do(), FI_OPotatoIndustry_North::Do(), DK_OLegume_Peas_CC::Do(), FI_OPotatoIndustry_South::Do(), FI_OStarchPotato_North::Do(), FI_OStarchPotato_South::Do(), DK_Legume_Peas::Do(), DK_OLegume_Beans_CC::Do(), DK_OLegume_Peas::Do(), DK_OLegume_Beans::Do(), DK_OLentils::Do(), DK_OLupines::Do(), DK_MaizeSilage::Do(), DK_OSpringBarleyCloverGrass::Do(), DE_OSpringRye::Do(), DK_SpringOats::Do(), DK_SpringOats_CC::Do(), DK_Legume_Beans::Do(), FI_SugarBeet::Do(), DE_OOats::Do(), DE_OMaizeSilage::Do(), OOats::Do(), DK_OLegume_Whole::Do(), DK_OLegumeCloverGrass_Whole::Do(), DK_OLegume_Whole_CC::Do(), DE_OMaize::Do(), DK_OptimalFlowerMix1::Do(), DK_OSpringBarley_CC::Do(), Maize::Do(), MaizeSilage::Do(), MaizeStrigling::Do(), DK_OCerealLegume_Whole::Do(), DK_SpringWheat::Do(), DK_Maize::Do(), Oats::Do(), OSpringBarleyExt::Do(), SpringBarleySeed::Do(), DK_Legume_Whole::Do(), DK_OSpringBarley::Do(), DK_OCerealLegume::Do(), DK_OSugarBeet::Do(), OSpringBarley::Do(), SpringBarleyCloverGrassStrigling::Do(), FI_Potato_North::Do(), FieldPeas::Do(), FieldPeasSilage::Do(), FieldPeasStrigling::Do(), OPotatoes::Do(), DK_OFodderBeet::Do(), FI_StarchPotato_North::Do(), SpringBarleyCloverGrass::Do(), FI_PotatoIndustry_North::Do(), OFodderBeet::Do(), FI_Potato_South::Do(), FI_PotatoIndustry_South::Do(), FI_StarchPotato_South::Do(), DK_OSpringOats::Do(), DK_OSpringWheat::Do(), DE_OSugarBeet::Do(), Carrots::Do(), DE_OCabbages::Do(), DK_OVegSeeds::Do(), DK_SpringBarleyCloverGrass::Do(), DK_OSpringOats_CC::Do(), SpringBarleyPeaCloverGrassStrigling::Do(), DK_SpringBarley_CC::Do(), DK_OMaize::Do(), DK_OMaizeSilage::Do(), DE_OPotatoes::Do(), DK_SpringBarley::Do(), DK_OSpringBarleySilage::Do(), DK_OCabbages::Do(), PotatoesIndustry::Do(), SugarBeet::Do(), DKOBroadBeans_test::Do(), Potatoes::Do(), FodderBeet::Do(), NorwegianPotatoes::Do(), SpringBarleySKManagement::Do(), PLCarrots::Do(), SpringBarleySpr::Do(), SpringBarleySilage::Do(), SpringBarleyStrigling::Do(), SpringBarleyStriglingSingle::Do(), SpringBarleyStriglingCulm::Do(), SpringBarleyPTreatment::Do(), PLSpringBarleySpr::Do(), DK_OMixedVeg::Do(), SpringBarley::Do(), DK_OPotato::Do(), DK_OPotatoIndustry::Do(), DK_OPotatoSeed::Do(), PLFodderLucerne1::Do(), PTPotatoes::Do(), DE_HerbsPerennial_after1year::Do(), SpringRape::Do(), PLBeetSpr::Do(), DE_HerbsPerennial_1year::Do(), DE_OHerbsPerennial_after1year::Do(), DE_OHerbsPerennial_1year::Do(), PLBeans::Do(), PTMaize::Do(), PTMaize_Hort::Do(), FI_OSpringBarley_Malt::Do(), PTSorghum::Do(), DK_OSetAside_AnnualFlower::Do(), DK_OSetAside_PerennialFlower::Do(), FI_OFabaBean::Do(), FI_OSpringRape::Do(), FI_OSpringOats::Do(), FI_OTurnipRape::Do(), FR_SpringBarley::Do(), OSpringBarleyPigs::Do(), FI_OSpringWheat::Do(), FI_OSpringBarley_Fodder::Do(), FR_SpringOats::Do(), FR_Sorghum::Do(), DK_OSpringFodderGrass::Do(), FR_Maize_Silage::Do(), FR_Maize::Do(), PLSpringBarley::Do(), PLMaizeSilage::Do(), PLMaize::Do(), FR_WinterTriticale::Do(), DE_Legumes::Do(), DE_Peas::Do(), SE_SpringBarley::Do(), FR_Sunflower::Do(), FI_SpringBarley_Malt::Do(), PLBeet::Do(), FI_SpringWheat::Do(), FI_SprSpringBarley_Fodder::Do(), PLSpringWheat::Do(), FI_SpringBarley_Fodder::Do(), DK_BushFruit_Perm1::Do(), PLPotatoes::Do(), SE_WinterWheat::Do(), FR_SpringWheat::Do(), FR_WinterBarley::Do(), DE_GrasslandSilageAnnual::Do(), IRSpringOats::Do(), IRSpringBarley::Do(), IRSpringWheat::Do(), FR_WinterWheat::Do(), DE_SugarBeet::Do(), DE_Potatoes::Do(), and DE_PotatoesIndustry::Do().
|
virtual |
Carry out a ploughing event in the spring on a_field.
References DO_IT_PROB, g_weather, Weather::Raining(), and spring_plough.
Referenced by UKMaize::Do(), NorwegianOats::Do(), NorwegianSpringBarley::Do(), BroadBeans::Do(), OSBarleySilage::Do(), OFieldPeasSilage::Do(), OFieldPeas::Do(), DK_OLegume::Do(), OCarrots::Do(), DE_OPeas::Do(), DK_CerealLegume::Do(), OBarleyPeaCloverGrass::Do(), OMaizeSilage::Do(), DK_CerealLegume_Whole::Do(), DK_OCatchCrop::Do(), DK_OLegume_Peas_CC::Do(), DK_SpringBarley_Green::Do(), DE_OLegume::Do(), FI_OPotato_South::Do(), FI_OPotatoIndustry_North::Do(), FI_OPotatoIndustry_South::Do(), FI_OPotato_North::Do(), FI_OStarchPotato_North::Do(), FI_OStarchPotato_South::Do(), DK_Legume_Peas::Do(), DK_OLegume_Beans_CC::Do(), DK_SpringBarleySilage::Do(), DK_OLegume_Beans::Do(), DK_OLegume_Peas::Do(), DK_OLentils::Do(), DK_CatchCrop::Do(), DK_OLupines::Do(), DK_MaizeSilage::Do(), DK_OSpringBarleyCloverGrass::Do(), DE_OSpringRye::Do(), OOats::Do(), DK_SpringOats::Do(), DK_SpringOats_CC::Do(), DE_OOats::Do(), DK_Legume_Beans::Do(), FI_SugarBeet::Do(), DE_OMaizeSilage::Do(), Maize::Do(), MaizeSilage::Do(), MaizeStrigling::Do(), DK_OCerealLegume_Whole::Do(), DK_OLegume_Whole_CC::Do(), DK_OLegume_Whole::Do(), DK_OLegumeCloverGrass_Whole::Do(), DE_OMaize::Do(), DK_OSpringBarley_CC::Do(), NLMaizeSpring::Do(), Oats::Do(), OSpringBarleyExt::Do(), DK_SpringWheat::Do(), DK_Maize::Do(), DK_OCerealLegume::Do(), DK_OSugarBeet::Do(), OSpringBarley::Do(), DK_Legume_Whole::Do(), DK_OSpringBarley::Do(), SpringBarleySeed::Do(), DK_OFodderBeet::Do(), OPotatoes::Do(), SpringBarleyCloverGrassStrigling::Do(), FI_Potato_North::Do(), FieldPeas::Do(), FieldPeasSilage::Do(), FieldPeasStrigling::Do(), FI_StarchPotato_North::Do(), OFodderBeet::Do(), SpringBarleyCloverGrass::Do(), FI_PotatoIndustry_North::Do(), DK_OSpringOats::Do(), DK_OSpringWheat::Do(), PTOliveGroveTradOrganic::Do(), UKBeet::Do(), FI_Potato_South::Do(), FI_PotatoIndustry_South::Do(), BEBeetSpring::Do(), FI_StarchPotato_South::Do(), DE_OSugarBeet::Do(), NLBeetSpring::Do(), NLMaize::Do(), DK_OVegSeeds::Do(), DK_SpringBarleyCloverGrass::Do(), Carrots::Do(), DK_OSpringOats_CC::Do(), UKSpringBarley::Do(), NLCarrotsSpring::Do(), DK_SpringBarley::Do(), DK_SpringBarley_CC::Do(), SpringBarleyPeaCloverGrassStrigling::Do(), DK_OMaize::Do(), DK_OMaizeSilage::Do(), DE_OPotatoes::Do(), DK_OSpringBarleySilage::Do(), NLBeet::Do(), DK_SpringFodderGrass::Do(), NLCarrots::Do(), NLCabbageSpring::Do(), NLSpringBarleySpring::Do(), SugarBeet::Do(), PotatoesIndustry::Do(), NorwegianPotatoes::Do(), DKOBroadBeans_test::Do(), Potatoes::Do(), FodderBeet::Do(), PTCorkOak::Do(), DK_VegSeeds::Do(), NLCabbage::Do(), SpringBarleySKManagement::Do(), SpringBarleySpr::Do(), SpringBarleySilage::Do(), SpringBarleyStriglingCulm::Do(), SpringBarleyStrigling::Do(), SpringBarleyStriglingSingle::Do(), SpringBarleyPTreatment::Do(), NLSpringBarley::Do(), PLSpringBarleySpr::Do(), DK_OMixedVeg::Do(), SpringBarley::Do(), DK_OPotato::Do(), DK_OPotatoIndustry::Do(), DK_OPotatoSeed::Do(), UKPotatoes::Do(), PTPotatoes::Do(), PTOliveGroveTraditional::Do(), PTShrubPastures::Do(), DK_OSeedGrassRye_Spring::Do(), SpringRape::Do(), PLBeetSpr::Do(), DK_MixedVeg::Do(), PTMaize_Hort::Do(), PTMaize::Do(), FI_OSpringBarley_Malt::Do(), PTSorghum::Do(), BEPotatoesSpring::Do(), FI_OCaraway1::Do(), FI_OFabaBean::Do(), DE_Maize::Do(), FI_OSpringOats::Do(), DE_MaizeSilage::Do(), FR_SpringBarley::Do(), FI_OTurnipRape::Do(), FI_OSpringWheat::Do(), FI_OSpringRape::Do(), OSpringBarleyPigs::Do(), NLPotatoesSpring::Do(), FR_SpringOats::Do(), FI_OSpringBarley_Fodder::Do(), DK_OOrchCherry::Do(), DE_SpringBarley::Do(), FI_TurnipRape::Do(), DK_OSpringFodderGrass::Do(), FR_Maize_Silage::Do(), FR_Maize::Do(), NLPotatoes::Do(), FI_FabaBean::Do(), FI_SpringRape::Do(), FI_Caraway1::Do(), SE_SpringBarley::Do(), FI_SpringBarley_Malt::Do(), FR_Sunflower::Do(), DK_OOrchPear::Do(), DK_OOrchardCrop_Perm::Do(), FI_SprSpringBarley_Fodder::Do(), DK_OOrchOther::Do(), FI_SpringWheat::Do(), DK_OOrchApple::Do(), FI_SpringOats::Do(), DE_Carrots::Do(), FI_SpringBarley_Fodder::Do(), PLPotatoes::Do(), FR_SpringWheat::Do(), DE_Cabbage::Do(), DE_Oats::Do(), DK_SeedGrassRye_Spring::Do(), DE_SpringRye::Do(), IRSpringBarley::Do(), IRSpringOats::Do(), IRSpringWheat::Do(), FR_Potatoes::Do(), DK_SeedGrassFescue_Spring::Do(), DE_Potatoes::Do(), DK_OrchPear::Do(), DK_OrchApple::Do(), DK_OrchardCrop_Perm::Do(), DK_OrchOther::Do(), and DE_PotatoesIndustry::Do().
|
virtual |
Carry out a roll event in the spring on a_field.
References DO_IT_PROB, g_weather, Weather::Raining(), and spring_roll.
Referenced by NorwegianOats::Do(), NorwegianSpringBarley::Do(), BroadBeans::Do(), OSBarleySilage::Do(), OFieldPeasSilage::Do(), OFieldPeas::Do(), OBarleyPeaCloverGrass::Do(), DK_Legume_Peas::Do(), DK_OLentils::Do(), OWinterRye::Do(), DK_Legume_Beans::Do(), DE_OOats::Do(), OOats::Do(), DK_SpringOats::Do(), DK_SpringOats_CC::Do(), DE_OSpringRye::Do(), DK_OptimalFlowerMix1::Do(), DK_OLegumeCloverGrass_Whole::Do(), OTriticale::Do(), DE_OWinterWheat::Do(), Oats::Do(), OSpringBarleyExt::Do(), DK_SpringWheat::Do(), DK_Legume_Whole::Do(), OSpringBarley::Do(), SpringBarleySeed::Do(), SpringBarleyCloverGrassStrigling::Do(), FieldPeas::Do(), FieldPeasSilage::Do(), FieldPeasStrigling::Do(), OWinterWheat::Do(), OWinterWheatUndersown::Do(), OWinterWheatUndersownExt::Do(), OFodderBeet::Do(), SpringBarleyCloverGrass::Do(), Triticale::Do(), DK_OSpringOats::Do(), DK_OSpringWheat::Do(), DK_OSpringOats_CC::Do(), DK_OMaizeSilage::Do(), SpringBarleyPeaCloverGrassStrigling::Do(), DK_OMaize::Do(), DK_SpringFodderGrass::Do(), DK_OSpringBarleySilage::Do(), DK_OEnergyCrop_Perm::Do(), SugarBeet::Do(), FodderBeet::Do(), DK_EnergyCrop_Perm::Do(), SpringBarleySKManagement::Do(), WinterRyeStrigling::Do(), SpringBarleySpr::Do(), SpringBarleySilage::Do(), SpringBarleyStriglingSingle::Do(), SpringBarleyPTreatment::Do(), WinterRye::Do(), SpringBarleyStriglingCulm::Do(), SpringBarleyStrigling::Do(), SpringBarley::Do(), WinterWheatStriglingSingle::Do(), WinterWheatStrigling::Do(), WinterWheatStriglingCulm::Do(), DK_OSetAside_AnnualFlower::Do(), DK_OSetAside_PerennialFlower::Do(), OSpringBarleyPigs::Do(), DE_OTriticale::Do(), DE_OWinterRye::Do(), DE_OWinterBarley::Do(), IRSpringOats::Do(), IRSpringBarley::Do(), IRSpringWheat::Do(), WinterWheat::Do(), and IRGrassland_reseed::Do().
|
virtual |
Carry out a sowing event in the spring on a_field.
References LE::CalculateFlowerResourceForCropSow(), Pesticide::DailyQueueAddSeedCoating(), DO_IT_PROB, g_pest, g_weather, LE::GetPollenNectarCurveRef(), Weather::Raining(), LE::SetGrowthPhase(), LE::SetLastSownVeg(), sow, and spring_sow.
Referenced by UKMaize::Do(), NorwegianSpringBarley::Do(), NorwegianOats::Do(), BroadBeans::Do(), OSBarleySilage::Do(), OFieldPeasSilage::Do(), OFieldPeas::Do(), DE_OPeas::Do(), OCarrots::Do(), DK_OLegume::Do(), OBarleyPeaCloverGrass::Do(), OMaizeSilage::Do(), DK_CerealLegume::Do(), DK_CerealLegume_Whole::Do(), DK_SpringBarley_Green::Do(), OWinterBarleyExt::Do(), DK_OLegume_Peas_CC::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(), DE_OLegume::Do(), OWinterBarley::Do(), DK_SpringBarleySilage::Do(), DK_OLegume_Beans::Do(), DK_OLegume_Beans_CC::Do(), DK_OLegume_Peas::Do(), DK_OLentils::Do(), DK_OSpringBarleyCloverGrass::Do(), DK_MaizeSilage::Do(), OWinterRye::Do(), DK_OLupines::Do(), DE_OMaizeSilage::Do(), DE_OOats::Do(), OOats::Do(), DE_OSpringRye::Do(), DK_OSpringBarley_CC::Do(), DK_OCerealLegume_Whole::Do(), DK_OLegume_Whole::Do(), DK_OLegume_Whole_CC::Do(), DK_OLegumeCloverGrass_Whole::Do(), DK_OptimalFlowerMix1::Do(), DE_OMaize::Do(), Maize::Do(), MaizeSilage::Do(), MaizeStrigling::Do(), NLMaizeSpring::Do(), DK_Maize::Do(), Oats::Do(), OSpringBarleyExt::Do(), DK_OSpringBarley::Do(), DK_Legume_Whole::Do(), DK_OSugarBeet::Do(), OSpringBarley::Do(), DK_OCerealLegume::Do(), SpringBarleySeed::Do(), OPotatoes::Do(), DK_OFodderBeet::Do(), SpringBarleyCloverGrassStrigling::Do(), FI_Potato_North::Do(), FieldPeas::Do(), FieldPeasSilage::Do(), FieldPeasStrigling::Do(), FI_StarchPotato_North::Do(), OFodderBeet::Do(), SpringBarleyCloverGrass::Do(), FI_PotatoIndustry_North::Do(), DK_OSpringWheat::Do(), DK_OSpringOats::Do(), UKBeet::Do(), FI_Potato_South::Do(), FI_PotatoIndustry_South::Do(), FI_StarchPotato_South::Do(), NLBeetSpring::Do(), NLMaize::Do(), Carrots::Do(), DE_OSugarBeet::Do(), DK_OSpringOats_CC::Do(), DK_WinterFodderGrass::Do(), UKSpringBarley::Do(), DE_OPotatoes::Do(), NLCarrotsSpring::Do(), SpringBarleyPeaCloverGrassStrigling::Do(), NLBeet::Do(), DK_OSpringBarleySilage::Do(), DK_OEnergyCrop_Perm::Do(), DE_OCarrots::Do(), DK_SpringFodderGrass::Do(), DK_WinterCloverGrassGrazedSown::Do(), NLCarrots::Do(), NLGrassGrazedExtensive1Spring::Do(), DK_OCarrots::Do(), NLCabbageSpring::Do(), NLSpringBarleySpring::Do(), PotatoesIndustry::Do(), SugarBeet::Do(), NorwegianPotatoes::Do(), Potatoes::Do(), FodderBeet::Do(), DK_EnergyCrop_Perm::Do(), NLGrassGrazedExtensive1::Do(), SpringBarleySKManagement::Do(), NLCabbage::Do(), DK_Carrots_Spring::Do(), SpringBarleySpr::Do(), PLCarrots::Do(), SpringBarleySilage::Do(), DK_Carrots::Do(), NLSpringBarley::Do(), SpringBarleyPTreatment::Do(), SpringBarleyStriglingCulm::Do(), SpringBarleyStriglingSingle::Do(), SpringBarleyStrigling::Do(), PLSpringBarleySpr::Do(), DK_OMixedVeg::Do(), PTCabbage::Do(), SpringBarley::Do(), PTCabbage_Hort::Do(), DK_OPotatoIndustry::Do(), PLFodderLucerne1::Do(), DK_Potato::Do(), UKPotatoes::Do(), UKTempGrass::Do(), PTPotatoes::Do(), FI_GreenFallow_1year::Do(), DE_GreenFallow_1year::Do(), DK_OSeedGrassRye_Spring::Do(), DE_OGreenFallow_1year::Do(), SpringRape::Do(), DK_CloverGrassGrazed1::Do(), PLBeetSpr::Do(), DE_HerbsPerennial_1year::Do(), NLGrassGrazed1Spring::Do(), PLBeans::Do(), FI_GreenFallow_Perm::Do(), DE_OHerbsPerennial_1year::Do(), FI_BufferZone::Do(), DE_OGrasslandSilageAnnual::Do(), PTMaize::Do(), PTMaize_Hort::Do(), FI_BufferZone_Perm::Do(), FI_NaturalGrassland::Do(), DK_OSetAside_PerennialFlower::Do(), DK_OSetAside_AnnualFlower::Do(), DK_PotatoSeed::Do(), PTSorghum::Do(), FI_OCaraway1::Do(), NLGrassGrazed1::Do(), FI_GrasslandPasturePerennial1::Do(), DK_PotatoIndustry::Do(), FR_SpringBarley::Do(), FI_GrasslandSilagePerennial1::Do(), OSpringBarleyPigs::Do(), NLPotatoesSpring::Do(), FR_SpringOats::Do(), FI_FeedingGround::Do(), DK_OOrchCherry::Do(), FI_GrasslandSilageAnnual::Do(), DK_OSpringFodderGrass::Do(), PLMaizeSilage::Do(), PLMaize::Do(), NLPotatoes::Do(), PLSpringBarley::Do(), FI_Caraway1::Do(), DE_Legumes::Do(), DE_Peas::Do(), SE_SpringBarley::Do(), FR_Sunflower::Do(), DK_OOrchPear::Do(), DK_OOrchApple::Do(), DK_OOrchOther::Do(), PLBeet::Do(), DK_CloverGrassGrazed3::Do(), DK_OOrchardCrop_Perm::Do(), PLSpringWheat::Do(), DK_CloverGrassGrazed2::Do(), DE_Carrots::Do(), PLPotatoes::Do(), DK_BushFruit_Perm1::Do(), FR_SpringWheat::Do(), DE_Cabbage::Do(), DE_Oats::Do(), DK_SeedGrassRye_Spring::Do(), DE_SpringRye::Do(), DE_GrasslandSilageAnnual::Do(), IRSpringBarley::Do(), IRSpringOats::Do(), IRSpringWheat::Do(), FR_Potatoes::Do(), DK_SeedGrassFescue_Spring::Do(), DE_SugarBeet::Do(), DK_OrchCherry::Do(), DE_Potatoes::Do(), DK_OrchPear::Do(), DK_OrchOther::Do(), DK_OrchApple::Do(), DK_OrchardCrop_Perm::Do(), DE_PotatoesIndustry::Do(), and IRGrassland_reseed::Do().
|
virtual |
Carry out a sowing event with start fertilizer in the spring on a_field.
References LE::CalculateFlowerResourceForCropSow(), Pesticide::DailyQueueAddSeedCoating(), DO_IT_PROB, g_pest, g_weather, LE::GetPollenNectarCurveRef(), Weather::Raining(), LE::SetGrowthPhase(), LE::SetLastSownVeg(), sow, and spring_sow_with_ferti.
Referenced by UKMaize::Do(), DK_FodderBeet::Do(), DK_SugarBeet::Do(), FI_SugarBeet::Do(), NLMaizeSpring::Do(), DE_OCabbages::Do(), NLMaize::Do(), DK_OMaize::Do(), DK_OMaizeSilage::Do(), DK_OCabbages::Do(), DK_Cabbages::Do(), DK_OPotato::Do(), DK_OPotatoSeed::Do(), DK_MixedVeg::Do(), FI_OSpringBarley_Malt::Do(), DE_Maize::Do(), FI_OFabaBean::Do(), DE_MaizeSilage::Do(), FI_OSpringOats::Do(), FI_OSpringRape::Do(), FI_OTurnipRape::Do(), FI_OSpringWheat::Do(), FI_OSpringBarley_Fodder::Do(), FI_TurnipRape::Do(), PLMaizeSilage::Do(), FI_FabaBean::Do(), PLMaize::Do(), FI_SpringRape::Do(), SE_SpringBarley::Do(), FI_SpringBarley_Malt::Do(), FI_SprSpringBarley_Fodder::Do(), FI_SpringWheat::Do(), FI_SpringOats::Do(), and FI_SpringBarley_Fodder::Do().
|
virtual |
Carry out straw chopping on a_field.
References Calendar::Date(), DO_IT_PROB, g_date, g_weather, Weather::GetRainPeriod(), and straw_chopping.
Referenced by UKMaize::Do(), OSeedGrass1::Do(), WinterRapeStrigling::Do(), OSeedGrass2::Do(), OFieldPeas::Do(), SeedGrass1::Do(), DK_CerealLegume::Do(), DK_CerealLegume_Whole::Do(), DK_SpringBarley_Green::Do(), OWinterBarleyExt::Do(), OWinterBarley::Do(), DK_SpringBarleySilage::Do(), SeedGrass2::Do(), OWinterRye::Do(), DK_OSpringBarleyCloverGrass::Do(), DK_OWinterRye::Do(), OOats::Do(), DE_OOats::Do(), DE_OSpringRye::Do(), DK_OWinterRye_CC::Do(), DE_OWinterWheat::Do(), OTriticale::Do(), DK_OLegumeCloverGrass_Whole::Do(), DK_OSpringBarley_CC::Do(), DK_OWinterBarley::Do(), NLMaizeSpring::Do(), Oats::Do(), DK_Maize::Do(), OSpringBarleyExt::Do(), OSpringBarley::Do(), DK_Legume_Whole::Do(), DK_OSpringBarley::Do(), FieldPeas::Do(), FieldPeasSilage::Do(), FieldPeasStrigling::Do(), DE_OWinterRape::Do(), OWinterWheat::Do(), OWinterWheatUndersown::Do(), OWinterWheatUndersownExt::Do(), DK_OSpringWheat::Do(), OWinterRape::Do(), Triticale::Do(), DK_OSpringOats::Do(), NLMaize::Do(), DK_SpringBarleyCloverGrass::Do(), DK_OSpringOats_CC::Do(), UKWinterBarley::Do(), UKSpringBarley::Do(), DK_SpringBarley::Do(), DK_SpringBarley_CC::Do(), DK_OMaize::Do(), DK_OMaizeSilage::Do(), DK_OSpringBarleySilage::Do(), NLSpringBarleySpring::Do(), SpringBarleySKManagement::Do(), DK_OGrassGrazed_Perm::Do(), SpringBarleySpr::Do(), UKWinterWheat::Do(), WinterRyeStrigling::Do(), SpringBarleyPTreatment::Do(), SpringBarleyStriglingCulm::Do(), NLSpringBarley::Do(), DK_GrassGrazed_Perm::Do(), WinterRye::Do(), SpringBarleyStrigling::Do(), SpringBarleyStriglingSingle::Do(), UKWinterRape::Do(), NLWinterWheat::Do(), PLSpringBarleySpr::Do(), SpringBarley::Do(), SpringRape::Do(), WinterWheatStrigling::Do(), WinterWheatStriglingCulm::Do(), WinterWheatStriglingSingle::Do(), FI_OSpringBarley_Malt::Do(), WinterRape::Do(), WinterBarleyStrigling::Do(), FI_OCaraway1::Do(), FR_SpringBarley::Do(), FI_OSpringOats::Do(), OSpringBarleyPigs::Do(), DE_MaizeSilage::Do(), FI_OSpringWheat::Do(), FR_SpringOats::Do(), WinterBarley::Do(), FI_OSpringBarley_Fodder::Do(), DE_SpringBarley::Do(), PLWinterRye::Do(), DK_OWinterWheat_CC::Do(), PLMaizeSilage::Do(), DK_OWinterWheat::Do(), PLMaize::Do(), PLSpringBarley::Do(), FR_WinterTriticale::Do(), FI_OWinterRye::Do(), PLWinterTriticale::Do(), FI_SpringBarley_Malt::Do(), FI_Caraway1::Do(), FI_OWinterWheat::Do(), DE_WinterRye::Do(), DE_OTriticale::Do(), DE_OWinterRye::Do(), PLWinterWheat::Do(), FI_SprSpringBarley_Fodder::Do(), PLWinterBarley::Do(), DE_OWinterBarley::Do(), FI_SpringWheat::Do(), FI_SpringOats::Do(), PLWinterWheatLate::Do(), PLSpringWheat::Do(), FI_SpringBarley_Fodder::Do(), DE_Oats::Do(), DE_WinterBarley::Do(), FR_SpringWheat::Do(), DE_SpringRye::Do(), DK_SeedGrassRye_Spring::Do(), PLWinterRape::Do(), FR_WinterBarley::Do(), FI_WinterWheat::Do(), FR_WinterWheat::Do(), DE_WinterWheat::Do(), FI_WinterRye::Do(), DE_Triticale::Do(), DE_WinterWheatLate::Do(), DE_WinterRape::Do(), DK_SeedGrassFescue_Spring::Do(), and WinterWheat::Do().
|
virtual |
Straw covering applied on a_field.
References DO_IT_PROB, g_weather, Weather::Raining(), and straw_covering.
Referenced by DE_OCabbages::Do(), DE_OBushFruitPerm::Do(), DK_OCabbages::Do(), DE_BushFruitPerm::Do(), NLTulips::Do(), and DK_BushFruit_Perm1::Do().
|
virtual |
Straw covering applied on a_field.
References DO_IT_PROB, g_weather, Weather::Raining(), and straw_removal.
Referenced by DE_OCabbages::Do(), DK_WinterFodderGrass::Do(), DK_OCabbages::Do(), DK_SpringFodderGrass::Do(), DK_WinterCloverGrassGrazedSown::Do(), DK_WinterRye::Do(), DK_WinterRye_CC::Do(), DK_OPotatoSeed::Do(), DK_OPotatoIndustry::Do(), DK_OPotato::Do(), DK_Potato::Do(), DK_CloverGrassGrazed1::Do(), DK_PotatoSeed::Do(), DK_PotatoIndustry::Do(), FI_FeedingGround::Do(), NLTulips::Do(), SE_SpringBarley::Do(), DK_CloverGrassGrazed3::Do(), DK_CloverGrassGrazed2::Do(), SE_WinterRape_Seed::Do(), SE_WinterWheat::Do(), DK_SeedGrassRye_Spring::Do(), and DK_SeedGrassFescue_Spring::Do().
|
virtual |
Carry out a mechanical weeding on a_field.
References Calendar::Date(), DO_IT_PROB, EL_STRIGLING_DELAYTIME, EL_TRAMLINE_DECAYTIME, g_date, g_weather, Weather::GetRainPeriod(), LE::SetHerbicideDelay(), and strigling.
Referenced by WinterRapeStrigling::Do(), BroadBeans::Do(), OFieldPeas::Do(), OFieldPeasSilage::Do(), DK_OLegume::Do(), DE_OPeas::Do(), DK_OLegume_Peas_CC::Do(), DE_OLegume::Do(), OWinterBarleyExt::Do(), DK_OLegume_Beans_CC::Do(), DK_OLegume_Beans::Do(), DK_OLegume_Peas::Do(), DK_OLentils::Do(), OWinterBarley::Do(), DK_OLupines::Do(), OWinterRye::Do(), DK_OptimalFlowerMix3::Do(), DE_OSpringRye::Do(), DE_OMaizeSilage::Do(), DE_OOats::Do(), OOats::Do(), DK_OCerealLegume_Whole::Do(), DE_OMaize::Do(), DE_OWinterWheat::Do(), DK_OLegume_Whole::Do(), DK_OLegume_Whole_CC::Do(), OTriticale::Do(), OSpringBarleyExt::Do(), DK_OSugarBeet::Do(), DK_OCerealLegume::Do(), OSpringBarley::Do(), SpringBarleyCloverGrassStrigling::Do(), DK_OFodderBeet::Do(), FieldPeasStrigling::Do(), OPotatoes::Do(), OWinterWheatUndersown::Do(), OWinterWheatUndersownExt::Do(), OWinterWheat::Do(), Triticale::Do(), DK_OSpringOats::Do(), DK_OSpringWheat::Do(), DE_OCabbages::Do(), DE_OSugarBeet::Do(), DK_OVegSeeds::Do(), DK_OSpringOats_CC::Do(), DK_OMaizeSilage::Do(), DK_OMaize::Do(), DK_OCabbages::Do(), PotatoesIndustry::Do(), Potatoes::Do(), DKOBroadBeans_test::Do(), NorwegianPotatoes::Do(), SpringBarleySilage::Do(), PLCarrots::Do(), WinterRyeStrigling::Do(), PTSetAside::Do(), SpringBarleyStriglingSingle::Do(), SpringBarleyStriglingCulm::Do(), SpringBarleyStrigling::Do(), DE_OPermanentGrassLowYield::Do(), DK_Cabbages::Do(), DE_PermanentGrassLowYield::Do(), WinterRye::Do(), DK_Potato::Do(), DK_OSeedGrassRye_Spring::Do(), DK_MixedVeg::Do(), WinterWheatStriglingCulm::Do(), WinterWheatStrigling::Do(), WinterWheatStriglingSingle::Do(), DK_SetAside::Do(), DK_OSetAside_SummerMow::Do(), DK_OSetAside::Do(), DK_PotatoSeed::Do(), WinterBarleyStrigling::Do(), DK_PotatoIndustry::Do(), DK_SetAside_SummerMow::Do(), OSpringBarleyPigs::Do(), FR_Sorghum::Do(), DE_OWinterRye::Do(), DE_OTriticale::Do(), DE_OWinterBarley::Do(), DK_BushFruit_Perm1::Do(), and WinterWheat::Do().
|
virtual |
Carry out a mechanical weeding on a_field followed by hilling up (probably on potatoes)
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, g_weather, Weather::Raining(), and strigling_hill.
Referenced by DE_OPotatoes::Do(), FR_Potatoes::Do(), DE_Potatoes::Do(), and DE_PotatoesIndustry::Do().
|
virtual |
Carry out a mechanical weeding followed by sowing on a_field.
References LE::CalculateFlowerResourceForCropSow(), Pesticide::DailyQueueAddSeedCoating(), Calendar::Date(), DO_IT_PROB, EL_STRIGLING_DELAYTIME, EL_TRAMLINE_DECAYTIME, g_date, g_pest, g_weather, LE::GetPollenNectarCurveRef(), Weather::GetRainPeriod(), LE::SetGrowthPhase(), LE::SetHerbicideDelay(), LE::SetLastSownVeg(), sow, and strigling_sow.
Referenced by SpringBarleyCloverGrassStrigling::Do(), OWinterWheatUndersown::Do(), OWinterWheatUndersownExt::Do(), OWinterWheat::Do(), SpringBarleyPeaCloverGrassStrigling::Do(), DK_OSeedGrassRye_Spring::Do(), and OSpringBarleyPigs::Do().
|
virtual |
Carry out a stubble cultivation event on a_field. This is non-inversion type of cultivation which can be done instead of autumn plough (on a depth up to 40 cm even, if necessary)
References DO_IT_PROB, g_weather, Weather::Raining(), and stubble_cultivator_heavy.
Referenced by FI_OPotato_North::Do(), FI_OPotatoIndustry_South::Do(), FI_OStarchPotato_North::Do(), FI_OStarchPotato_South::Do(), FI_OPotato_South::Do(), FI_OPotatoIndustry_North::Do(), FI_Potato_North::Do(), FI_StarchPotato_North::Do(), FI_PotatoIndustry_North::Do(), FI_StarchPotato_South::Do(), FI_Potato_South::Do(), FI_PotatoIndustry_South::Do(), NLCarrots::Do(), DK_OPotatoIndustry::Do(), DK_OPotatoSeed::Do(), DK_OPotato::Do(), PLFodderLucerne1::Do(), DK_Potato::Do(), FI_OSpringBarley_Malt::Do(), DK_PotatoSeed::Do(), FI_OFabaBean::Do(), DK_PotatoIndustry::Do(), FI_OSpringOats::Do(), FI_OSpringRape::Do(), FI_OSpringWheat::Do(), FR_SpringBarley::Do(), FI_OTurnipRape::Do(), FI_OSpringBarley_Fodder::Do(), FR_SpringOats::Do(), PLWinterRye::Do(), FI_TurnipRape::Do(), FI_FabaBean::Do(), PLMaize::Do(), PLMaizeSilage::Do(), FI_SpringRape::Do(), NLTulips::Do(), FI_OWinterRye::Do(), FI_SpringBarley_Malt::Do(), SE_SpringBarley::Do(), PLWinterTriticale::Do(), FI_OWinterWheat::Do(), FI_SprSpringBarley_Fodder::Do(), FI_SpringWheat::Do(), PLWinterWheat::Do(), PLBeet::Do(), PLWinterBarley::Do(), FI_SpringOats::Do(), DE_Carrots::Do(), PLWinterWheatLate::Do(), SE_WinterRape_Seed::Do(), FI_SpringBarley_Fodder::Do(), SE_WinterWheat::Do(), FR_SpringWheat::Do(), PLWinterRape::Do(), FI_WinterWheat::Do(), DE_GrasslandSilageAnnual::Do(), FI_WinterRye::Do(), FR_WinterWheat::Do(), DE_WinterRape::Do(), and DE_SugarBeet::Do().
|
virtual |
Carry out stubble harrowing on a_field.
References Calendar::Date(), DO_IT_PROB, g_date, g_weather, Weather::GetRainPeriod(), and stubble_harrowing.
Referenced by UKMaize::Do(), WinterRapeStrigling::Do(), OSeedGrass2::Do(), NLCatchCropPea::Do(), BECatchPeaCrop::Do(), DK_OCatchCrop::Do(), OMaizeSilage::Do(), OWinterBarleyExt::Do(), OWinterBarley::Do(), SeedGrass2::Do(), DK_CatchCrop::Do(), DE_OMaizeSilage::Do(), DE_OWinterWheat::Do(), OTriticale::Do(), Maize::Do(), MaizeSilage::Do(), DE_OMaize::Do(), MaizeStrigling::Do(), DE_OWinterRape::Do(), OWinterWheat::Do(), OWinterWheatUndersown::Do(), OWinterWheatUndersownExt::Do(), OWinterRape::Do(), BEMaize::Do(), Triticale::Do(), NLMaize::Do(), BEBeet::Do(), NLBeet::Do(), BEWinterBarley::Do(), BEWinterBarleyCC::Do(), BEWinterWheatCC::Do(), BEWinterWheat::Do(), DK_WinterRye::Do(), DK_WinterRye_CC::Do(), SpringBarleySKManagement::Do(), PLCarrots::Do(), SpringBarleySpr::Do(), UKWinterWheat::Do(), WinterRyeStrigling::Do(), SpringBarleyPTreatment::Do(), SpringBarleyStrigling::Do(), SpringBarleyStriglingCulm::Do(), SpringBarleyStriglingSingle::Do(), UKWinterRape::Do(), WinterRye::Do(), NLSpringBarley::Do(), PTBeans::Do(), PTTurnipGrazed::Do(), NLWinterWheat::Do(), DK_OPotato::Do(), DK_OPotatoIndustry::Do(), DK_OPotatoSeed::Do(), PTOtherDryBeans::Do(), SpringBarley::Do(), PLFodderLucerne1::Do(), UKPotatoes::Do(), DK_Potato::Do(), PTOats::Do(), SpringRape::Do(), PLBeans::Do(), WinterWheatStriglingSingle::Do(), WinterWheatStrigling::Do(), WinterWheatStriglingCulm::Do(), PTWinterBarley::Do(), PTWinterRye::Do(), PTWinterWheat::Do(), PTFodderMix::Do(), PTTriticale::Do(), WinterRape::Do(), PTGrassGrazed::Do(), DK_PotatoSeed::Do(), WinterBarleyStrigling::Do(), PTYellowLupin::Do(), PTSorghum::Do(), DE_Maize::Do(), DK_PotatoIndustry::Do(), DE_MaizeSilage::Do(), PTRyegrass::Do(), WinterBarley::Do(), PLWinterRye::Do(), BEPotatoes::Do(), FR_Sorghum::Do(), FR_Maize::Do(), FR_Maize_Silage::Do(), PLMaizeSilage::Do(), PLMaize::Do(), PLSpringBarley::Do(), NLPotatoes::Do(), FR_WinterTriticale::Do(), PLWinterTriticale::Do(), FR_Sunflower::Do(), DK_OOrchPear::Do(), DE_OTriticale::Do(), DE_OWinterRye::Do(), DE_OWinterBarley::Do(), DK_OOrchardCrop_Perm::Do(), PLBeet::Do(), PLWinterBarley::Do(), DK_OOrchApple::Do(), PLWinterWheat::Do(), DK_OOrchOther::Do(), PLSpringWheat::Do(), PLWinterWheatLate::Do(), PLPotatoes::Do(), DE_Oats::Do(), DE_SpringRye::Do(), PLWinterRape::Do(), DE_GrasslandSilageAnnual::Do(), IRWinterBarley::Do(), IRSpringOats::Do(), IRSpringBarley::Do(), IRWinterOats::Do(), IRSpringWheat::Do(), IRWinterWheat::Do(), FR_Potatoes::Do(), FR_WinterRape::Do(), DE_WinterRape::Do(), WinterWheat::Do(), DE_SugarBeet::Do(), DE_Potatoes::Do(), DE_PotatoesIndustry::Do(), DK_OChristmasTrees_Perm::Do(), and DK_ChristmasTrees_Perm::Do().
|
virtual |
Carry out a stubble ploughing event on a_field. This is similar to normal plough but shallow (normally 6-8cm, is special cases up to 12-15cm). Done as a part of after-harvest treatments (instead of stubble cultivation)
References DO_IT_PROB, g_weather, Weather::Raining(), and stubble_plough.
Referenced by UKBeans::Do(), PLCarrots::Do(), UKWinterRape::Do(), PLFodderLucerne1::Do(), PLBeans::Do(), FR_SpringBarley::Do(), FR_SpringOats::Do(), PLWinterRye::Do(), FR_Sorghum::Do(), FR_Maize_Silage::Do(), FR_Maize::Do(), PLMaize::Do(), PLMaizeSilage::Do(), PLSpringBarley::Do(), FR_WinterTriticale::Do(), FR_Sunflower::Do(), PLWinterTriticale::Do(), PLBeet::Do(), PLWinterBarley::Do(), PLWinterWheat::Do(), PLWinterWheatLate::Do(), PLSpringWheat::Do(), PLPotatoes::Do(), FR_SpringWheat::Do(), PLWinterRape::Do(), DE_GrasslandSilageAnnual::Do(), IRSpringBarley::Do(), IRSpringOats::Do(), IRSpringWheat::Do(), FR_Potatoes::Do(), FR_WinterRape::Do(), DE_Potatoes::Do(), and DE_PotatoesIndustry::Do().
|
virtual |
References DO_IT_PROB, g_landscape_ptr, g_weather, LE::GetUnsprayedMarginPolyRef(), green_harvest, Weather::Raining(), LE::SetLastTreatment(), suckering, and Landscape::SupplyLEPointer().
Referenced by PTOliveGroveTradOrganic::Do(), and PTOliveGroveTraditional::Do().
|
virtual |
Cut the crop on a_field and leave it lying (probably rape)
References DO_IT_PROB, g_weather, Weather::Raining(), and swathing.
Referenced by OSeedGrass1::Do(), WinterRapeStrigling::Do(), OSeedGrass2::Do(), SeedGrass1::Do(), DK_CerealLegume_Whole::Do(), DK_CerealLegume::Do(), DK_SpringBarley_Green::Do(), DK_SpringBarleySilage::Do(), SeedGrass2::Do(), DK_OLentils::Do(), DK_OSpringBarleyCloverGrass::Do(), DK_OLupines::Do(), DK_OptimalFlowerMix3::Do(), DK_OLegume_Whole::Do(), DK_OSpringBarley_CC::Do(), DK_OLegume_Whole_CC::Do(), DK_OLegumeCloverGrass_Whole::Do(), DK_Legume_Whole::Do(), DK_OSpringBarley::Do(), OPotatoes::Do(), DK_OSpringOats::Do(), DK_OSpringWheat::Do(), OWinterRape::Do(), DK_OVegSeeds::Do(), DK_WinterFodderGrass::Do(), DE_OBushFruitPerm::Do(), DK_OSpringOats_CC::Do(), DK_OWinterRape::Do(), DE_OPotatoes::Do(), DK_SpringFodderGrass::Do(), DK_OSpringBarleySilage::Do(), DK_WinterCloverGrassGrazedSown::Do(), DK_VegSeeds::Do(), PTSetAside::Do(), SpringRape::Do(), DK_OSeedGrassRye_Spring::Do(), DK_CloverGrassGrazed1::Do(), DK_WinterRape::Do(), DK_SetAside::Do(), DK_OSetAside_SummerMow::Do(), WinterRape::Do(), DK_OSetAside::Do(), DE_BushFruitPerm::Do(), DK_SetAside_SummerMow::Do(), DK_CloverGrassGrazed3::Do(), DK_CloverGrassGrazed2::Do(), DK_SeedGrassRye_Spring::Do(), FR_Potatoes::Do(), and DK_SeedGrassFescue_Spring::Do().
|
virtual |
Carry out a watering on a_field.
References DO_IT_PROB, EL_TRAMLINE_DECAYTIME, g_weather, Weather::Raining(), and water.
Referenced by OSeedGrass1::Do(), OSeedGrass2::Do(), BroadBeans::Do(), OSBarleySilage::Do(), OFieldPeas::Do(), OFieldPeasSilage::Do(), DK_OLegume::Do(), SeedGrass1::Do(), OCarrots::Do(), DK_CerealLegume::Do(), DK_CerealLegume_Whole::Do(), OBarleyPeaCloverGrass::Do(), OMaizeSilage::Do(), DK_OLegume_Peas_CC::Do(), DK_SpringBarley_Green::Do(), SeedGrass2::Do(), DK_OLegume_Beans::Do(), DK_OLegume_Beans_CC::Do(), DK_OLegume_Peas::Do(), DK_OLentils::Do(), DK_SpringBarleySilage::Do(), DK_OSpringBarleyCloverGrass::Do(), DK_OLupines::Do(), DK_MaizeSilage::Do(), DE_OMaizeSilage::Do(), DK_OWinterRye::Do(), DK_OCerealLegume_Whole::Do(), OTriticale::Do(), DK_OSpringBarley_CC::Do(), DE_OMaize::Do(), DK_OWinterRye_CC::Do(), DK_OLegume_Whole::Do(), DK_OLegumeCloverGrass_Whole::Do(), DK_OLegume_Whole_CC::Do(), Maize::Do(), MaizeSilage::Do(), MaizeStrigling::Do(), DK_OWinterBarley::Do(), DK_Maize::Do(), DK_OSpringBarley::Do(), SpringBarleySeed::Do(), DK_OSugarBeet::Do(), DK_OCerealLegume::Do(), SpringBarleyCloverGrassStrigling::Do(), DK_OFodderBeet::Do(), FieldPeas::Do(), FieldPeasStrigling::Do(), FieldPeasSilage::Do(), OPotatoes::Do(), SpringBarleyCloverGrass::Do(), OFodderBeet::Do(), DK_OSpringOats::Do(), DK_OSpringWheat::Do(), Triticale::Do(), Carrots::Do(), DK_OVegSeeds::Do(), DE_OSugarBeet::Do(), DK_SpringBarleyCloverGrass::Do(), DE_OCabbages::Do(), DK_OSpringOats_CC::Do(), DE_OBushFruitPerm::Do(), DK_WinterFodderGrass::Do(), DK_OWinterRape::Do(), SpringBarleyPeaCloverGrassStrigling::Do(), DE_OPotatoes::Do(), DK_SpringBarley::Do(), DK_SpringBarley_CC::Do(), DK_OMaize::Do(), DK_OMaizeSilage::Do(), DK_OSpringBarleySilage::Do(), DK_SpringFodderGrass::Do(), DK_WinterCloverGrassGrazedSown::Do(), NLGrassGrazedExtensive2::Do(), DK_OCabbages::Do(), NLPermanentGrassGrazedExtensive::Do(), DE_OCarrots::Do(), NLGrassGrazedExtensive1Spring::Do(), NLGrassGrazedExtensiveLast::Do(), DK_OCarrots::Do(), PotatoesIndustry::Do(), NLCabbageSpring::Do(), SugarBeet::Do(), Potatoes::Do(), PTOliveGroveIntensive::Do(), NorwegianPotatoes::Do(), DKOBroadBeans_test::Do(), FodderBeet::Do(), DK_VegSeeds::Do(), DK_Carrots_Spring::Do(), SpringBarleySKManagement::Do(), NLCabbage::Do(), NLGrassGrazedExtensive1::Do(), DK_Carrots::Do(), WinterRyeStrigling::Do(), DK_OGrassGrazed_Perm::Do(), SpringBarleySpr::Do(), SpringBarleySilage::Do(), SpringBarleyStrigling::Do(), SpringBarleyPTreatment::Do(), SpringBarleyStriglingCulm::Do(), SpringBarleyStriglingSingle::Do(), WinterRye::Do(), DK_GrassGrazed_Perm::Do(), DK_Cabbages::Do(), PTOliveGroveSuperIntensive::Do(), DK_OMixedVeg::Do(), SpringBarley::Do(), DK_OPotato::Do(), DK_OPotatoIndustry::Do(), DK_OPotatoSeed::Do(), DK_Potato::Do(), UKPermanentGrass::Do(), UKTempGrass::Do(), DK_OBushFruit_Perm2::Do(), DK_CloverGrassGrazed1::Do(), PLBeetSpr::Do(), DK_MixedVeg::Do(), NLGrassGrazed2::Do(), NLPermanentGrassGrazed::Do(), WinterWheatStriglingCulm::Do(), WinterWheatStriglingSingle::Do(), NLGrassGrazedLast::Do(), NLGrassGrazed1Spring::Do(), WinterWheatStrigling::Do(), DK_PotatoSeed::Do(), WinterBarleyStrigling::Do(), NLGrassGrazed1::Do(), DE_BushFruitPerm::Do(), DK_PotatoIndustry::Do(), WinterBarley::Do(), DK_OOrchCherry::Do(), DK_OSpringFodderGrass::Do(), DK_OBushFruit_Perm1::Do(), DK_OCloverGrassGrazed3::Do(), DK_OWinterWheat_CC::Do(), DK_OCloverGrassGrazed1::Do(), DK_OCloverGrassGrazed2::Do(), DK_OWinterWheat::Do(), NLTulips::Do(), DK_OOrchPear::Do(), DK_OWinterFodderGrass::Do(), DK_CloverGrassGrazed3::Do(), DK_OWinterCloverGrassGrazedSown::Do(), PLBeet::Do(), DK_OOrchApple::Do(), DK_OOrchardCrop_Perm::Do(), DK_OOrchOther::Do(), DK_CloverGrassGrazed2::Do(), DK_BushFruit_Perm1::Do(), DE_Cabbage::Do(), DK_BushFruit_Perm2::Do(), FR_Grassland::Do(), WinterWheat::Do(), DE_SugarBeet::Do(), DK_OrchCherry::Do(), DK_OrchPear::Do(), DK_OrchOther::Do(), DK_OrchardCrop_Perm::Do(), DK_OrchApple::Do(), ITOrchard::Do(), and ITOOrchard::Do().
|
virtual |
Carry out a harrow event in the winter on a_field.
References autumn_harrow, DO_IT_PROB, g_landscape_ptr, g_weather, LE::GetUnsprayedMarginPolyRef(), LE::InsectMortality(), Weather::Raining(), LE::SetLastTreatment(), Landscape::SupplyLEPointer(), and LE::ZeroVeg().
Referenced by PTCabbage::Do(), and PTCabbage_Hort::Do().
|
virtual |
Carry out a ploughing event in the winter on a_field.
References DO_IT_PROB, g_weather, Weather::Raining(), and winter_plough.
Referenced by UKMaize::Do(), NLCatchCropPea::Do(), DK_OCatchCrop::Do(), DK_CatchCrop::Do(), UKBeans::Do(), BEMaize::Do(), UKBeet::Do(), NLMaize::Do(), NLBeet::Do(), NLGrassGrazedExtensiveLast::Do(), NLCarrots::Do(), NLCabbage::Do(), NLGrassGrazedExtensive1::Do(), PLCarrots::Do(), NLSpringBarley::Do(), BEGrassGrazed1::Do(), PTCabbage::Do(), PTCabbage_Hort::Do(), PLFodderLucerne1::Do(), UKPotatoes::Do(), DE_HerbsPerennial_1year::Do(), NLGrassGrazedLast::Do(), PLBeans::Do(), DE_OHerbsPerennial_1year::Do(), DE_OGrasslandSilageAnnual::Do(), FI_OCaraway1::Do(), DE_Maize::Do(), NLGrassGrazed1::Do(), DE_MaizeSilage::Do(), FI_GrasslandPasturePerennial1::Do(), FI_GrasslandSilagePerennial1::Do(), FI_GrasslandSilageAnnual::Do(), BEPotatoes::Do(), NLPotatoes::Do(), PLSpringBarley::Do(), PLMaizeSilage::Do(), PLMaize::Do(), FI_Caraway1::Do(), FR_Sunflower::Do(), PLBeet::Do(), DE_Carrots::Do(), PLSpringWheat::Do(), PLPotatoes::Do(), DE_Cabbage::Do(), DE_Oats::Do(), DE_SpringRye::Do(), DE_GrasslandSilageAnnual::Do(), FR_Grassland::Do(), DE_SugarBeet::Do(), DE_Potatoes::Do(), and DE_PotatoesIndustry::Do().
|
protected |
Farm's centroid, value x. Equal to the average of the x centroid values of all farm's fields.
Referenced by Centroids(), and GetCentroids().
|
protected |
Farm's centroid, value y. Equal to the average of the y centroid values of all farm's fields.
Referenced by Centroids(), and GetCentroids().
|
protected |
Referenced by GetFarmNumber(), and SetFarmNumber().
|
protected |
Referenced by AgroChemIndustryCerealFarm1::AgroChemIndustryCerealFarm1(), AgroChemIndustryCerealFarm2::AgroChemIndustryCerealFarm2(), AgroChemIndustryCerealFarm3::AgroChemIndustryCerealFarm3(), ConventionalCattle::ConventionalCattle(), ConventionalPig::ConventionalPig(), ConventionalPlant::ConventionalPlant(), ConvMarginalJord::ConvMarginalJord(), GetType(), NoPesticideBaseFarm::NoPesticideBaseFarm(), NoPesticideNoPFarm::NoPesticideNoPFarm(), OrganicCattle::OrganicCattle(), OrganicPig::OrganicPig(), OrganicPlant::OrganicPlant(), PesticideTrialControl::PesticideTrialControl(), PesticideTrialToxicControl::PesticideTrialToxicControl(), PesticideTrialTreatment::PesticideTrialTreatment(), UserDefinedFarm::UserDefinedFarm(), UserDefinedFarm1::UserDefinedFarm1(), UserDefinedFarm10::UserDefinedFarm10(), UserDefinedFarm11::UserDefinedFarm11(), UserDefinedFarm12::UserDefinedFarm12(), UserDefinedFarm13::UserDefinedFarm13(), UserDefinedFarm14::UserDefinedFarm14(), UserDefinedFarm15::UserDefinedFarm15(), UserDefinedFarm16::UserDefinedFarm16(), UserDefinedFarm17::UserDefinedFarm17(), UserDefinedFarm2::UserDefinedFarm2(), UserDefinedFarm3::UserDefinedFarm3(), UserDefinedFarm4::UserDefinedFarm4(), UserDefinedFarm5::UserDefinedFarm5(), UserDefinedFarm6::UserDefinedFarm6(), UserDefinedFarm7::UserDefinedFarm7(), UserDefinedFarm8::UserDefinedFarm8(), and UserDefinedFarm9::UserDefinedFarm9().
|
protected |
The farms farm type - see TTypesOfFarm enum for types - note the use of UserDefined farms.
Referenced by GetFarmType().
|
protected |
Referenced by AssignPermanentCrop(), Centroids(), GetMaxOpenness(), GetNoFields(), GetValidCoords(), and ListOpenFields().
|
protected |
A list of hunters allocated to this farm.
Referenced by AddHunter(), and RemoveHunter().
|
protected |
indicates the farm intensity - 1 = normal, otherwise linear scale
Referenced by GetIntensity(), and SetIntensity().
|
protected |
Referenced by CalculateTreatmentCosts(), Centroids(), GetFarmer(), and Harvested().
|
protected |
Pointer to the FarmManager.
Referenced by CalculateTreatmentCosts(), GetFarmManager(), and Harvested().
|
protected |
Referenced by UserDefinedFarm::UserDefinedFarm().
|
protected |
|
protected |
Referenced by AgroChemIndustryCerealFarm1::AgroChemIndustryCerealFarm1(), AgroChemIndustryCerealFarm2::AgroChemIndustryCerealFarm2(), AgroChemIndustryCerealFarm3::AgroChemIndustryCerealFarm3(), ConventionalCattle::ConventionalCattle(), ConventionalPig::ConventionalPig(), ConventionalPlant::ConventionalPlant(), ConvMarginalJord::ConvMarginalJord(), GetCrop(), GetNextCrop(), GetNoCrops(), GetPreviousTov(), NoPesticideBaseFarm::NoPesticideBaseFarm(), NoPesticideNoPFarm::NoPesticideNoPFarm(), PesticideTrialControl::PesticideTrialControl(), PesticideTrialToxicControl::PesticideTrialToxicControl(), and UserDefinedFarm::UserDefinedFarm().
|
protected |
string Farm::m_rotfilename |
Referenced by AgroChemIndustryCerealFarm1::AgroChemIndustryCerealFarm1(), AgroChemIndustryCerealFarm2::AgroChemIndustryCerealFarm2(), AgroChemIndustryCerealFarm3::AgroChemIndustryCerealFarm3(), ConventionalCattle::ConventionalCattle(), ConventionalPig::ConventionalPig(), ConventionalPlant::ConventionalPlant(), ConvMarginalJord::ConvMarginalJord(), GetRotFilename(), NoPesticideBaseFarm::NoPesticideBaseFarm(), NoPesticideNoPFarm::NoPesticideNoPFarm(), OrganicCattle::OrganicCattle(), OrganicPig::OrganicPig(), OrganicPlant::OrganicPlant(), PesticideTrialControl::PesticideTrialControl(), PesticideTrialToxicControl::PesticideTrialToxicControl(), PesticideTrialTreatment::PesticideTrialTreatment(), UserDefinedFarm::UserDefinedFarm(), UserDefinedFarm1::UserDefinedFarm1(), UserDefinedFarm10::UserDefinedFarm10(), UserDefinedFarm11::UserDefinedFarm11(), UserDefinedFarm12::UserDefinedFarm12(), UserDefinedFarm13::UserDefinedFarm13(), UserDefinedFarm14::UserDefinedFarm14(), UserDefinedFarm15::UserDefinedFarm15(), UserDefinedFarm16::UserDefinedFarm16(), UserDefinedFarm17::UserDefinedFarm17(), UserDefinedFarm2::UserDefinedFarm2(), UserDefinedFarm3::UserDefinedFarm3(), UserDefinedFarm4::UserDefinedFarm4(), UserDefinedFarm5::UserDefinedFarm5(), UserDefinedFarm6::UserDefinedFarm6(), UserDefinedFarm7::UserDefinedFarm7(), UserDefinedFarm8::UserDefinedFarm8(), and UserDefinedFarm9::UserDefinedFarm9().
|
protected |
Referenced by AgroChemIndustryCerealFarm1::AgroChemIndustryCerealFarm1(), AgroChemIndustryCerealFarm2::AgroChemIndustryCerealFarm2(), AgroChemIndustryCerealFarm3::AgroChemIndustryCerealFarm3(), ConventionalCattle::ConventionalCattle(), ConventionalPig::ConventionalPig(), ConventionalPlant::ConventionalPlant(), ConvMarginalJord::ConvMarginalJord(), IsStockFarmer(), MakeStockFarmer(), ConventionalPlant::MakeStockFarmer(), OrganicPlant::MakeStockFarmer(), PesticideTrialControl::MakeStockFarmer(), PesticideTrialToxicControl::MakeStockFarmer(), PesticideTrialTreatment::MakeStockFarmer(), NoPesticideBaseFarm::NoPesticideBaseFarm(), NoPesticideNoPFarm::NoPesticideNoPFarm(), OrganicCattle::OrganicCattle(), OrganicPig::OrganicPig(), OrganicPlant::OrganicPlant(), PesticideTrialControl::PesticideTrialControl(), PesticideTrialToxicControl::PesticideTrialToxicControl(), PesticideTrialTreatment::PesticideTrialTreatment(), UserDefinedFarm::UserDefinedFarm(), UserDefinedFarm1::UserDefinedFarm1(), UserDefinedFarm10::UserDefinedFarm10(), UserDefinedFarm11::UserDefinedFarm11(), UserDefinedFarm12::UserDefinedFarm12(), UserDefinedFarm13::UserDefinedFarm13(), UserDefinedFarm14::UserDefinedFarm14(), UserDefinedFarm15::UserDefinedFarm15(), UserDefinedFarm16::UserDefinedFarm16(), UserDefinedFarm17::UserDefinedFarm17(), UserDefinedFarm2::UserDefinedFarm2(), UserDefinedFarm3::UserDefinedFarm3(), UserDefinedFarm4::UserDefinedFarm4(), UserDefinedFarm5::UserDefinedFarm5(), UserDefinedFarm6::UserDefinedFarm6(), UserDefinedFarm7::UserDefinedFarm7(), UserDefinedFarm8::UserDefinedFarm8(), and UserDefinedFarm9::UserDefinedFarm9().