ALMaSS Rodenticide ODdox
1.1
The rodenticide model description following ODdox protocol
|
#include <iostream>
#include <fstream>
#include <string>
#include "../Landscape/ls.h"
#include "../BatchALMaSS/PopulationManager.h"
#include "../Skylark/skylarks_all.h"
#include "../RodenticideModelling/RodenticidePredators.h"
#include "../Landscape/map_cfg.h"
#include "../BatchALMaSS/BoostRandomGenerators.h"
Functions | |
base_generator_type | g_generator (static_cast< unsigned int >(std::time(0))) |
boost::uniform_real | g_uni_dist (0, 1) |
boost::uniform_int | g_uni_dist2 (0, 9999) |
boost::uniform_int | g_uni_dist3 (0, 999) |
boost::variate_generator< base_generator_type &, boost::uniform_real<> > | g_rand_uni (g_generator, g_uni_dist) |
boost::variate_generator< base_generator_type &, boost::uniform_int<> > | g_rand_uni2 (g_generator, g_uni_dist2) |
boost::variate_generator< base_generator_type &, boost::uniform_int<> > | g_rand_uni3 (g_generator, g_uni_dist3) |
CfgBool | cfg_rodenticide_enable ("RODENTICIDE_ENABLE", CFG_CUSTOM, false) |
CfgBool | cfg_rodenticide_reporting_enable ("RODENTICIDE_REPORTING_ENABLE", CFG_CUSTOM, false) |
static CfgBool | cfg_map_usesoiltypes ("MAP_USESOILTYPES", CFG_CUSTOM, false) |
static CfgBool | cfg_CalculateCentroids ("MAP_CALCULATE_CENTROIDS", CFG_CUSTOM, false) |
CfgInt | cfg_HedgeSubtypeMinimum ("HEDGE_SUBTYPEMINIMUM", CFG_CUSTOM, 0) |
CfgInt | cfg_HedgeSubtypeMaximum ("HEDGE_SUBTYPEMAXIMUM", CFG_CUSTOM, 3) |
static CfgBool | cfg_AddBeetleBanks ("BBANKS_ADD", CFG_CUSTOM, false) |
static CfgInt | cfg_BeetleBankWidth ("BBANK_WIDTH", CFG_CUSTOM, 4) |
static CfgInt | cfg_BeetleBankChance ("BBANK_CHANCE", CFG_CUSTOM, 100) |
static CfgFloat | cfg_BeetleBankMaxArea ("BBANK_MAXAREA", CFG_CUSTOM, 0.05) |
CfgBool | cfg_BeetleBankInvert ("BBANK_INVERT", CFG_CUSTOM, false) |
CfgInt | cfg_BeetleBankMinX ("BBANK_MINX", CFG_CUSTOM, 0) |
CfgInt | cfg_BeetleBankMinY ("BBANK_MINY", CFG_CUSTOM, 0) |
CfgInt | cfg_BeetleBankMaxX ("BBANK_MAXX", CFG_CUSTOM, 100000) |
CfgInt | cfg_BeetleBankMaxY ("BBANK_MAXY", CFG_CUSTOM, 100000) |
static CfgInt | cfg_BeetleBankType ("BBANK_TYPE", CFG_CUSTOM,(int) tole_BeetleBank) |
CfgBool | cfg_dumpvegjan ("G_VEGAREASJAN_ON", CFG_CUSTOM, false) |
CfgStr | cfg_dumpvegjanfile ("G_VEGAREASJAN_FILENAME", CFG_CUSTOM, "DUMPVEG_JAN.TXT") |
CfgBool | cfg_dumpvegjune ("G_VEGAREASJUNE_ON", CFG_CUSTOM, false) |
CfgStr | cfg_dumpvegjunefile ("G_VEGAREASJUNE_FILENAME", CFG_CUSTOM, "DUMPVEG_JUNE.TXT") |
CfgFloat | cfg_strigling_prop ("CROPS_STRIGLING_PROPORTION", CFG_CUSTOM, 1.0) |
CfgFloat | cfg_silage_prop ("CROPS_SILAGE_PROPORTION", CFG_CUSTOM, 1.0) |
CfgFloat | cfg_ins_app_prop1 ("CROPS_INSECTICIDE_APPLIC_ONE_PROPORTION", CFG_CUSTOM, 1.0) |
CfgFloat | cfg_ins_app_prop2 ("CROPS_INSECTICIDE_APPLIC_TWO_PROPORTION", CFG_CUSTOM, 1.0) |
CfgFloat | cfg_ins_app_prop3 ("CROPS_INSECTICIDE_APPLIC_THREE_PROPORTION", CFG_CUSTOM, 1.0) |
CfgFloat | cfg_herbi_app_prop ("CROPS_HERBICIDE_APPLIC_PROPORTION", CFG_CUSTOM, 1.0) |
CfgFloat | cfg_fungi_app_prop1 ("CROPS_FUNGICIDE_APPLIC_ONE_PROPORTION", CFG_CUSTOM, 1.0) |
CfgFloat | cfg_fungi_app_prop2 ("CROPS_FUNGICIDE_APPLIC_TWO_PROPORTION", CFG_CUSTOM, 1.0) |
CfgFloat | cfg_fungi_app_prop3 ("CROPS_FUNGICIDE_APPLIC_THREE_PROPORTION", CFG_CUSTOM, 1.0) |
CfgFloat | cfg_greg_app_prop ("CROPS_GROWTHREGULATOR_APPLIC_PROPORTION", CFG_CUSTOM, 1.0) |
CfgInt | cfg_l_treatment_x ("LAND_TREATMENTX", CFG_CUSTOM, 0) |
CfgInt | cfg_l_treatment_y ("LAND_TREATMENTY", CFG_CUSTOM, 0) |
CfgInt | cfg_l_treatment_size ("LAND_TREATMENTSIZE", CFG_CUSTOM, -1) |
CfgBool | cfg_l_usecustompoly ("LAND_USECUSTOMPOLY", CFG_CUSTOM, false) |
CfgInt | cfg_productapplicstartyear ("PEST_PROCTAPPLICSTARTYEAR", CFG_CUSTOM, 9999999) |
CfgInt | cfg_productapplicendyear ("PEST_PROCTAPPLICENDYEAR", CFG_CUSTOM,-1) |
CfgInt | cfg_pesticidetesttype ("PESTICIDETESTYPE", CFG_CUSTOM, -1) |
CfgBool | cfg_pesticidemapon ("PEST_MAP_ON", CFG_CUSTOM, false) |
Flag determining whether we are using the pesticide map. More... | |
CfgInt | cfg_pesticidemapstartyear ("PEST_MAP_STARTYEAR", CFG_CUSTOM, 0) |
The first simulation year the pesticide is mapped. More... | |
CfgInt | cfg_pesticidemapnoyears ("PEST_MAP_NOYEARS", CFG_CUSTOM, 1) |
The numer of years of pesticide mapping. More... | |
CfgInt | cfg_pesticidemapdayinyear ("PEST_MAP_DAYINYEAR", CFG_CUSTOM, 364) |
The interval between maps. More... | |
CfgInt | cfg_pesticidemapcellsize ("PEST_MAP_CELLSIZE", CFG_CUSTOM, 10) |
The output cell size for pesticides - a performance penalty if this does not match the pesticide cell size set by PEST_GRIDSIZE in pesticide.h. More... | |
CfgBool | cfg_pesticidemaptype ("PEST_MAP_TYPE", CFG_CUSTOM, false) |
True for specific pesticide, false for general pesticides. More... | |
static CfgInt | cfg_MaxPondSize ("MAP_MAXPONDSIZE", CFG_CUSTOM, 5000) |
If freshwater area is below this it is designated a pond. More... | |
static CfgInt | l_map_no_pesticide_fields ("MAP_NO_PESTICIDE_FIELDS", CFG_CUSTOM, 0) |
static CfgBool | l_map_print_version_info ("MAP_PRINT_VERSION_INFO", CFG_CUSTOM, true) |
CfgBool | l_map_print_git_version_info ("MAP_PRINT_GIT_VERSION_INFO", CFG_CUSTOM, false) |
Should git version info be printed to file and console? More... | |
static CfgBool | l_map_exit_on_zero_area ("MAP_EXIT_ON_ZERO_AREA", CFG_CUSTOM, true) |
static CfgBool | l_map_check_polygon_xref ("MAP_CHECK_POLYGON_XREF", CFG_CUSTOM, true) |
static CfgBool | l_map_art_hedgebanks ("MAP_ART_HEDGEBANKS", CFG_CUSTOM, false) |
static CfgStr | l_map_map_file ("MAP_MAP_FILE", CFG_CUSTOM, "map.lsb") |
static CfgStr | l_map_poly_file ("MAP_POLY_FILE", CFG_CUSTOM, "polygonrefs.txt") |
static CfgStr | l_map_weather_file ("MAP_WEATHER_FILE", CFG_CUSTOM, "weather.pre") |
static CfgStr | l_map_cropcurves_file ("MAP_CROPCURVES_FILE", CFG_CUSTOM, "curves.pre") |
static CfgInt | l_map_chameleon_replace_num ("MAP_CHAMELEON_REPLACE_NUM", CFG_CUSTOM, 58) |
static CfgBool | l_map_CIPEmaker_enable ("MAP_CIPEMAKER_ENABLE", CFG_CUSTOM, false) |
static CfgBool | l_map_dump_enable ("MAP_DUMP_ENABLE", CFG_CUSTOM, false) |
static CfgBool | l_map_removesmallpolygons ("MAP_REMOVESMALLPOLYGONS", CFG_CUSTOM, false) |
CfgStr | l_map_dump_map_file ("MAP_DUMP_MAP_FILE", CFG_CUSTOM, "dump.lsb") |
static CfgBool | l_map_dump_gfx_enable ("MAP_DUMP_GFX_ENABLE", CFG_CUSTOM, false) |
static CfgStr | l_map_dump_gfx_file ("MAP_DUMP_GFX_FILE", CFG_CUSTOM, "dump.ppm") |
static CfgBool | l_map_dump_exit ("MAP_DUMP_EXIT", CFG_CUSTOM, false) |
CfgStr | l_map_dump_poly_file ("MAP_DUMP_POLY_FILE", CFG_CUSTOM, "dump_polyrefs.txt") |
static CfgInt | l_map_umargin_width ("MAP_UMARGINWIDTH", CFG_CUSTOM, 12) |
static CfgStr | l_map_dump_margin_file ("MAP_DUMP_MARGIN_FILE", CFG_CUSTOM, "dumpunsprayedmargins.txt") |
static CfgBool | l_map_dump_treatcounts_enable ("MAP_DUMP_TREATCOUNTS_ENABLE", CFG_CUSTOM, false) |
static CfgStr | l_map_dump_treatcounts_file ("MAP_DUMP_TREATCOUNTS_FILE", CFG_CUSTOM, "treatment_counts.txt") |
static CfgBool | l_map_dump_veg_enable ("MAP_DUMP_VEG_ENABLE", CFG_CUSTOM, true) |
static CfgInt | l_map_dump_veg_x ("MAP_DUMP_VEG_X", CFG_CUSTOM, 100) |
static CfgInt | l_map_dump_veg_y ("MAP_DUMP_VEG_Y", CFG_CUSTOM, 100) |
static CfgBool | l_map_dump_event_enable ("MAP_DUMP_EVENT_ENABLE", CFG_CUSTOM, false) |
static CfgInt | l_map_dump_event_x1 ("MAP_DUMP_EVENT_XA", CFG_CUSTOM, 4287) |
static CfgInt | l_map_dump_event_y1 ("MAP_DUMP_EVENT_YA", CFG_CUSTOM, 2909) |
static CfgInt | l_map_dump_event_x2 ("MAP_DUMP_EVENT_XB", CFG_CUSTOM, 4333) |
static CfgInt | l_map_dump_event_y2 ("MAP_DUMP_EVENT_YB", CFG_CUSTOM, 2889) |
static CfgBool | l_map_consolidatepolys ("MAP_CONSOLIDATEPOLYS", CFG_CUSTOM, false) |
Used to consolidate polygons with no special behaviour into a single polygon of that type. More... | |
static CfgBool | l_map_calc_openness ("MAP_CALC_OPENNESS", CFG_CUSTOM, false) |
static CfgBool | l_map_write_ascii ("MAP_WRITE_ASCII", CFG_CUSTOM, false) |
Used if an ASCII file for use in GIS applications should be written. More... | |
static CfgInt | l_map_ascii_utm_x ("MAP_ASCII_UTM_X", CFG_CUSTOM, 0) |
If we write an ASCII file provide UTM-x of lower lefthand corner. More... | |
static CfgInt | l_map_ascii_utm_y ("MAP_ASCII_UTM_Y", CFG_CUSTOM, 0) |
If we write an ASCII file provide UTM-y of lower lefthand corner. More... | |
static CfgInt | l_map_ascii_map_entity ("MAP_ASCII_MAP_ENTITY", CFG_CUSTOM, 1) |
If we write an ASCII file what should be the mapped entity? 1 = polyref, 2 = elementype. More... | |
static CfgInt | cfg_mintownbuildingdistance ("MAP_MINTOWNBUILDINGDISTANCE", CFG_CUSTOM, 100) |
static CfgInt | cfg_mintownbuildingnumber ("MAP_MINTOWNBUILDINGNUMBER", CFG_CUSTOM, 6) |
static CfgStr | cfg_OsmiaNestByLE_Datafile ("OSMIA_NESTBYLEDATAFILE", CFG_CUSTOM, "OsmiaNestsByHabitat.txt") |
Variables | |
static const int | version_major = 1 |
static const int | version_minor = 0 |
static const int | version_revision = 0 |
static const char * | version_date = "2014-02-03" |
CfgBool | l_pest_enable_pesticide_engine |
CfgBool | cfg_OptimiseBedriftsmodelCrops |
CfgBool | cfg_OptimisingFarms |
CfgBool | cfg_DumpFarmAreas |
CfgBool | cfg_MaizeEnergy |
CfgBool | cfg_rectangularmaps_on |
CfgFloat | cfg_P1A |
CfgFloat | cfg_P1B |
CfgFloat | cfg_P1C |
CfgFloat | cfg_P1D |
CfgBool | cfg_P1E |
CfgFloat | cfg_P1F |
CfgFloat | cfg_P1G |
CfgStr | cfg_P1H |
double | g_FarmIntensivenessH |
double | g_VegHeightForageReduction |
CfgFloat | cfg_G6A |
CfgFloat | cfg_G6B |
CfgFloat | cfg_G6C |
CfgFloat | cfg_G6D |
CfgBool | cfg_G6E |
CfgFloat | cfg_G6F |
CfgFloat | cfg_G6G |
CfgStr | cfg_G6H |
CfgFloat | cfg_B6A |
CfgFloat | cfg_B6B |
CfgFloat | cfg_B6C |
CfgFloat | cfg_B6D |
CfgBool | cfg_B6E |
CfgFloat | cfg_B6F |
CfgFloat | cfg_B6G |
CfgStr | cfg_B6H |
CfgBool | cfg_WriteCurve |
PollenNectarDevelopmentData * | g_nectarpollen |
double | g_SpeedyDivides [2001] |
A generally useful array of fast divide calculators by multiplication. More... | |
vector< int > * | m_polymapping |
m_polymapping is a mapping from polygon numbers into the list of landscape elements, m_elems. When using this it is important that it is the poly num and not the map index that is used in calling. More... | |
Landscape * | g_landscape_p |
|
static |
Referenced by Landscape::Landscape().
|
static |
Referenced by Landscape::AddBeetleBanks().
CfgBool cfg_BeetleBankInvert | ( | "BBANK_INVERT" | , |
CFG_CUSTOM | , | ||
false | |||
) |
Referenced by Landscape::AddBeetleBanks().
|
static |
Referenced by Landscape::BeetleBankPossible().
CfgInt cfg_BeetleBankMaxX | ( | "BBANK_MAXX" | , |
CFG_CUSTOM | , | ||
100000 | |||
) |
Referenced by Landscape::AddBeetleBanks().
CfgInt cfg_BeetleBankMaxY | ( | "BBANK_MAXY" | , |
CFG_CUSTOM | , | ||
100000 | |||
) |
Referenced by Landscape::AddBeetleBanks().
CfgInt cfg_BeetleBankMinX | ( | "BBANK_MINX" | , |
CFG_CUSTOM | , | ||
0 | |||
) |
Referenced by Landscape::AddBeetleBanks().
CfgInt cfg_BeetleBankMinY | ( | "BBANK_MINY" | , |
CFG_CUSTOM | , | ||
0 | |||
) |
Referenced by Landscape::AddBeetleBanks().
|
static |
Referenced by Landscape::Landscape().
|
static |
Referenced by Landscape::BeetleBankAdd(), and Landscape::BeetleBankPossible().
|
static |
CfgBool cfg_dumpvegjan | ( | "G_VEGAREASJAN_ON" | , |
CFG_CUSTOM | , | ||
false | |||
) |
Referenced by Landscape::DumpVegAreaData(), and Landscape::Landscape().
CfgStr cfg_dumpvegjanfile | ( | "G_VEGAREASJAN_FILENAME" | , |
CFG_CUSTOM | , | ||
"DUMPVEG_JAN.TXT" | |||
) |
Referenced by Landscape::DumpVegAreaData(), and Landscape::Landscape().
CfgBool cfg_dumpvegjune | ( | "G_VEGAREASJUNE_ON" | , |
CFG_CUSTOM | , | ||
false | |||
) |
Referenced by Landscape::DumpVegAreaData(), and Landscape::Landscape().
CfgStr cfg_dumpvegjunefile | ( | "G_VEGAREASJUNE_FILENAME" | , |
CFG_CUSTOM | , | ||
"DUMPVEG_JUNE.TXT" | |||
) |
Referenced by Landscape::DumpVegAreaData(), and Landscape::Landscape().
CfgFloat cfg_fungi_app_prop1 | ( | "CROPS_FUNGICIDE_APPLIC_ONE_PROPORTION" | , |
CFG_CUSTOM | , | ||
1. | 0 | ||
) |
CfgFloat cfg_fungi_app_prop2 | ( | "CROPS_FUNGICIDE_APPLIC_TWO_PROPORTION" | , |
CFG_CUSTOM | , | ||
1. | 0 | ||
) |
CfgFloat cfg_fungi_app_prop3 | ( | "CROPS_FUNGICIDE_APPLIC_THREE_PROPORTION" | , |
CFG_CUSTOM | , | ||
1. | 0 | ||
) |
CfgFloat cfg_greg_app_prop | ( | "CROPS_GROWTHREGULATOR_APPLIC_PROPORTION" | , |
CFG_CUSTOM | , | ||
1. | 0 | ||
) |
CfgInt cfg_HedgeSubtypeMaximum | ( | "HEDGE_SUBTYPEMAXIMUM" | , |
CFG_CUSTOM | , | ||
3 | |||
) |
Referenced by Landscape::Landscape().
CfgInt cfg_HedgeSubtypeMinimum | ( | "HEDGE_SUBTYPEMINIMUM" | , |
CFG_CUSTOM | , | ||
0 | |||
) |
Referenced by Landscape::Landscape().
CfgFloat cfg_herbi_app_prop | ( | "CROPS_HERBICIDE_APPLIC_PROPORTION" | , |
CFG_CUSTOM | , | ||
1. | 0 | ||
) |
CfgFloat cfg_ins_app_prop1 | ( | "CROPS_INSECTICIDE_APPLIC_ONE_PROPORTION" | , |
CFG_CUSTOM | , | ||
1. | 0 | ||
) |
CfgFloat cfg_ins_app_prop2 | ( | "CROPS_INSECTICIDE_APPLIC_TWO_PROPORTION" | , |
CFG_CUSTOM | , | ||
1. | 0 | ||
) |
CfgFloat cfg_ins_app_prop3 | ( | "CROPS_INSECTICIDE_APPLIC_THREE_PROPORTION" | , |
CFG_CUSTOM | , | ||
1. | 0 | ||
) |
CfgInt cfg_l_treatment_size | ( | "LAND_TREATMENTSIZE" | , |
CFG_CUSTOM | , | ||
- | 1 | ||
) |
CfgInt cfg_l_treatment_x | ( | "LAND_TREATMENTX" | , |
CFG_CUSTOM | , | ||
0 | |||
) |
CfgInt cfg_l_treatment_y | ( | "LAND_TREATMENTY" | , |
CFG_CUSTOM | , | ||
0 | |||
) |
CfgBool cfg_l_usecustompoly | ( | "LAND_USECUSTOMPOLY" | , |
CFG_CUSTOM | , | ||
false | |||
) |
|
static |
|
static |
If freshwater area is below this it is designated a pond.
Referenced by Landscape::Landscape().
|
static |
Referenced by Landscape::BuildingDesignationCalc().
|
static |
Referenced by Landscape::BuildingDesignationCalc().
|
static |
Referenced by Landscape::InitOsmiaBeeNesting().
CfgInt cfg_pesticidemapcellsize | ( | "PEST_MAP_CELLSIZE" | , |
CFG_CUSTOM | , | ||
10 | |||
) |
The output cell size for pesticides - a performance penalty if this does not match the pesticide cell size set by PEST_GRIDSIZE in pesticide.h.
Referenced by Landscape::Landscape().
CfgInt cfg_pesticidemapdayinyear | ( | "PEST_MAP_DAYINYEAR" | , |
CFG_CUSTOM | , | ||
364 | |||
) |
The interval between maps.
CfgInt cfg_pesticidemapnoyears | ( | "PEST_MAP_NOYEARS" | , |
CFG_CUSTOM | , | ||
1 | |||
) |
The numer of years of pesticide mapping.
Referenced by Landscape::Landscape(), and Landscape::Tick().
CfgBool cfg_pesticidemapon | ( | "PEST_MAP_ON" | , |
CFG_CUSTOM | , | ||
false | |||
) |
Flag determining whether we are using the pesticide map.
Referenced by Landscape::CheckForPesticideRecord(), Landscape::Landscape(), and Landscape::Tick().
CfgInt cfg_pesticidemapstartyear | ( | "PEST_MAP_STARTYEAR" | , |
CFG_CUSTOM | , | ||
0 | |||
) |
The first simulation year the pesticide is mapped.
Referenced by Landscape::Landscape(), and Landscape::Tick().
CfgBool cfg_pesticidemaptype | ( | "PEST_MAP_TYPE" | , |
CFG_CUSTOM | , | ||
false | |||
) |
True for specific pesticide, false for general pesticides.
Referenced by Landscape::CheckForPesticideRecord(), Landscape::Landscape(), and Landscape::Tick().
CfgInt cfg_pesticidetesttype | ( | "PESTICIDETESTYPE" | , |
CFG_CUSTOM | , | ||
- | 1 | ||
) |
Referenced by Landscape::Landscape().
CfgInt cfg_productapplicendyear | ( | "PEST_PROCTAPPLICENDYEAR" | , |
CFG_CUSTOM | , | ||
- | 1 | ||
) |
Referenced by Landscape::Tick().
CfgInt cfg_productapplicstartyear | ( | "PEST_PROCTAPPLICSTARTYEAR" | , |
CFG_CUSTOM | , | ||
9999999 | |||
) |
Referenced by Landscape::Tick().
CfgBool cfg_rodenticide_enable | ( | "RODENTICIDE_ENABLE" | , |
CFG_CUSTOM | , | ||
false | |||
) |
Referenced by Landscape::Landscape(), Landscape::SupplyRodenticide(), Landscape::Tick(), and Landscape::~Landscape().
CfgBool cfg_rodenticide_reporting_enable | ( | "RODENTICIDE_REPORTING_ENABLE" | , |
CFG_CUSTOM | , | ||
false | |||
) |
CfgFloat cfg_silage_prop | ( | "CROPS_SILAGE_PROPORTION" | , |
CFG_CUSTOM | , | ||
1. | 0 | ||
) |
CfgFloat cfg_strigling_prop | ( | "CROPS_STRIGLING_PROPORTION" | , |
CFG_CUSTOM | , | ||
1. | 0 | ||
) |
base_generator_type g_generator | ( | static_cast< unsigned int > | std::time(0) | ) |
boost::variate_generator<base_generator_type&, boost::uniform_real<> > g_rand_uni | ( | g_generator | , |
g_uni_dist | |||
) |
boost::variate_generator<base_generator_type&, boost::uniform_int<> > g_rand_uni2 | ( | g_generator | , |
g_uni_dist2 | |||
) |
boost::variate_generator<base_generator_type&, boost::uniform_int<> > g_rand_uni3 | ( | g_generator | , |
g_uni_dist3 | |||
) |
boost::uniform_real g_uni_dist | ( | 0 | , |
1 | |||
) |
boost::uniform_int g_uni_dist2 | ( | 0 | , |
9999 | |||
) |
boost::uniform_int g_uni_dist3 | ( | 0 | , |
999 | |||
) |
|
static |
Referenced by Landscape::Landscape().
|
static |
If we write an ASCII file what should be the mapped entity? 1 = polyref, 2 = elementype.
Referenced by Landscape::GISASCII_Output().
|
static |
If we write an ASCII file provide UTM-x of lower lefthand corner.
Referenced by Landscape::Landscape().
|
static |
If we write an ASCII file provide UTM-y of lower lefthand corner.
Referenced by Landscape::Landscape().
|
static |
Referenced by Landscape::Landscape().
|
static |
Referenced by Landscape::ReadPolys2().
|
static |
|
static |
|
static |
Used to consolidate polygons with no special behaviour into a single polygon of that type.
Referenced by Landscape::Landscape().
|
static |
Referenced by Landscape::Landscape().
|
static |
Referenced by Landscape::Landscape().
|
static |
Referenced by Landscape::Landscape(), and Landscape::Tick().
|
static |
Referenced by Landscape::Tick().
|
static |
Referenced by Landscape::Tick().
|
static |
Referenced by Landscape::Tick().
|
static |
Referenced by Landscape::Tick().
|
static |
|
static |
Referenced by Landscape::Landscape().
|
static |
Referenced by Landscape::Landscape().
CfgStr l_map_dump_map_file | ( | "MAP_DUMP_MAP_FILE" | , |
CFG_CUSTOM | , | ||
"dump.lsb" | |||
) |
Referenced by Landscape::Landscape().
|
static |
CfgStr l_map_dump_poly_file | ( | "MAP_DUMP_POLY_FILE" | , |
CFG_CUSTOM | , | ||
"dump_polyrefs.txt" | |||
) |
Referenced by Landscape::Landscape().
|
static |
Referenced by Landscape::~Landscape().
|
static |
Referenced by Landscape::~Landscape().
|
static |
Referenced by Landscape::Landscape(), and Landscape::Tick().
|
static |
Referenced by Landscape::Tick().
|
static |
Referenced by Landscape::Tick().
|
static |
Referenced by Landscape::BorderScan().
|
static |
Referenced by Landscape::Landscape().
|
static |
Referenced by Landscape::Landscape().
|
static |
Referenced by Landscape::Landscape().
CfgBool l_map_print_git_version_info | ( | "MAP_PRINT_GIT_VERSION_INFO" | , |
CFG_CUSTOM | , | ||
false | |||
) |
Should git version info be printed to file and console?
Referenced by Landscape::Landscape().
|
static |
Referenced by Landscape::Landscape().
|
static |
Referenced by Landscape::Landscape().
|
static |
Referenced by Landscape::UnsprayedMarginAdd().
|
static |
Referenced by Landscape::Landscape().
|
static |
Used if an ASCII file for use in GIS applications should be written.
Referenced by Landscape::Landscape().
CfgFloat cfg_B6A |
Referenced by Landscape::Landscape().
CfgFloat cfg_B6B |
Referenced by Landscape::Landscape().
CfgFloat cfg_B6C |
Referenced by Landscape::Landscape().
CfgFloat cfg_B6D |
Referenced by Landscape::Landscape().
CfgBool cfg_B6E |
Referenced by Landscape::Landscape().
CfgFloat cfg_B6F |
Referenced by Landscape::Landscape().
CfgFloat cfg_B6G |
Referenced by Landscape::Landscape().
CfgStr cfg_B6H |
Referenced by Landscape::Landscape().
CfgBool cfg_DumpFarmAreas |
Referenced by Landscape::Landscape().
CfgFloat cfg_G6A |
Referenced by Landscape::Landscape().
CfgFloat cfg_G6B |
Referenced by Landscape::Landscape().
CfgFloat cfg_G6C |
Referenced by Landscape::Landscape().
CfgFloat cfg_G6D |
Referenced by Landscape::Landscape().
CfgBool cfg_G6E |
Referenced by Landscape::Landscape().
CfgFloat cfg_G6F |
Referenced by Landscape::Landscape().
CfgFloat cfg_G6G |
Referenced by Landscape::Landscape().
CfgStr cfg_G6H |
Referenced by Landscape::Landscape().
CfgBool cfg_MaizeEnergy |
Referenced by Landscape::Tick().
CfgBool cfg_OptimiseBedriftsmodelCrops |
Referenced by Landscape::Landscape(), and Landscape::Tick().
CfgBool cfg_OptimisingFarms |
Referenced by Landscape::Landscape(), Landscape::SimulationClosingActions(), and Landscape::Tick().
CfgFloat cfg_P1A |
Referenced by Landscape::Landscape().
CfgFloat cfg_P1B |
Referenced by Landscape::Landscape().
CfgFloat cfg_P1C |
Referenced by Landscape::Landscape().
CfgFloat cfg_P1D |
Referenced by Landscape::Landscape().
CfgBool cfg_P1E |
Referenced by Landscape::Landscape().
CfgFloat cfg_P1F |
Referenced by Landscape::Landscape().
CfgFloat cfg_P1G |
Referenced by Landscape::Landscape().
CfgStr cfg_P1H |
Referenced by Landscape::Landscape().
CfgBool cfg_rectangularmaps_on |
CfgBool cfg_WriteCurve |
Referenced by Landscape::Landscape().
double g_FarmIntensivenessH |
Referenced by Landscape::GetHareFoodQuality().
Landscape* g_landscape_p |
Referenced by VegElement::CalcGooseForageResources(), Pond::CalcPondPesticide(), VegElement::DoDevelopment(), Field::DoDevelopment(), Orchard::DoDevelopment(), OrchardBand::DoDevelopment(), Landscape::Landscape(), VegElement::RecalculateBugsNStuff(), LE::SetLastTreatment(), VegElement::SetVegType(), and Landscape::UnsprayedMarginScan().
PollenNectarDevelopmentData* g_nectarpollen |
Referenced by Landscape::Landscape(), LE::SetPollenNectarData(), and VegElement::SetVegType().
double g_SpeedyDivides[2001] |
A generally useful array of fast divide calculators by multiplication.
Referenced by Landscape::Landscape().
double g_VegHeightForageReduction |
Referenced by Landscape::GetHareFoodQuality().
CfgBool l_pest_enable_pesticide_engine |
vector<int>* m_polymapping |
m_polymapping is a mapping from polygon numbers into the list of landscape elements, m_elems. When using this it is important that it is the poly num and not the map index that is used in calling.
Referenced by Landscape::BeetleBankAdd(), Landscape::BorderAdd(), Landscape::BorderScan(), Landscape::ChangeMapMapping(), Landscape::ConsolidatePolys(), Landscape::GetGooseNumbers(), Landscape::GetQuarryNumbers(), Landscape::PolysRemoveInvalid(), Landscape::PolysRenumber(), Landscape::PolysValidate(), Landscape::ReadPolys2(), Landscape::RecordGooseNumbers(), Landscape::RecordGooseNumbersTimed(), Landscape::RecordGooseRoostDist(), Landscape::RecordGooseSpNumbers(), Landscape::RecordGooseSpNumbersTimed(), Landscape::RemoveMissingValues(), Landscape::SetLESignal(), Landscape::SetPolyMaxMinExtents(), Landscape::SupplyCentroid(), Landscape::SupplyFarmIntensity(), Landscape::SupplyLESignal(), Landscape::UnsprayedMarginAdd(), and Landscape::UnsprayedMarginScan().
|
static |
Referenced by Landscape::Landscape().
|
static |
Referenced by Landscape::Landscape().
|
static |
Referenced by Landscape::Landscape().
|
static |
Referenced by Landscape::Landscape().