Loading [MathJax]/extensions/ams.js
 |
ALMaSS
1.2 (after EcoStack, March 2024)
The Animal, Landscape and Man Simulation System
|
#include <Osmia.h>
|
| Osmia_Base (struct_Osmia *data) |
| Osmia constructor. More...
|
|
void | ReInit (struct_Osmia *data) |
| Osmia reinitialise object methods. More...
|
|
virtual | ~Osmia_Base () |
| Osmia destructor. More...
|
|
virtual void | st_Dying (void) |
| Behavioural state dying. More...
|
|
virtual void | BeginStep (void) |
| The BeginStep is the first 'part' of the timestep that an animal can behave in. It is called once per timestep. More...
|
|
virtual void | Step (void) |
| The Step is the second 'part' of the timestep that an animal can behave in. It is called continuously until all animals report that they are 'DONE'. More...
|
|
virtual void | EndStep (void) |
| The EndStep is the third 'part' of the timestep that an animal can behave in. It is called once per timestep. More...
|
|
int | GetAge () |
| A typical interface function - this one returns the age. More...
|
|
void | SetAge (int a_age) |
| A typical interface function - this one returns the age. More...
|
|
double | GetMass () |
| Returns the bee's mass. More...
|
|
void | SetMass (double a_mass) |
| Sets the bee's mass. More...
|
|
void | SetParasitised (TTypeOfOsmiaParasitoids a_status) |
| Set the parasitised status. More...
|
|
TTypeOfOsmiaParasitoids | GetParasitised (void) |
| Set the parasitised status. More...
|
|
Osmia_Nest * | GetNest () |
|
| TAnimal (int x, int y, Landscape *L) |
| The TAnimal constructor saving the x,y, location and the landscape pointer. More...
|
|
| TAnimal (int x, int y) |
| The TAnimal constructor saving the x,y used if landscape is already set. More...
|
|
void | SetGuardMapIndex (int a_index_x, int a_index_y) |
| Set the guard map index, this is used to avoid two animals operating in the same location when using multithread. More...
|
|
unsigned | SupplyFarmOwnerRef () const |
| Get the current location farm ref if any. More...
|
|
AnimalPosition | SupplyPosition () const |
| Returns the objects location and habitat type and veg type. More...
|
|
APoint | SupplyPoint () const |
| Returns the objects location in ALMaSS coordinates. More...
|
|
int | SupplyPolygonRef () const |
| Returns the polygon reference where the object is located. More...
|
|
TTypesOfLandscapeElement | SupplyPolygonType () const |
| Returns the polygon type where the object is located. More...
|
|
int | Supply_m_Location_x () const |
| Returns the ALMaSS x-coordinate. More...
|
|
int | Supply_m_Location_y () const |
| Returns the ALMaSS y-coordinate. More...
|
|
int | SupplyGuardCellX () const |
| Returns the x-index to the guard cell. More...
|
|
int | SupplyGuardCellY () const |
| Returns the y-index to the guard cell. More...
|
|
int | SupplyAge () const |
| Returns the animals age in days. More...
|
|
void | SetAge (int a_age) |
| Sets the animals age in days. More...
|
|
virtual void | KillThis () |
| Sets all parameters ready for object destruction. More...
|
|
virtual void | CopyMyself () |
| Used to copy the object details to another in descendent classes. More...
|
|
void | SetX (const int a_x) |
| Sets the x-coordinate. More...
|
|
void | SetY (const int a_y) |
| Sets the y-coordinate. More...
|
|
virtual void | ReinitialiseObject (int a_x, int a_y, Landscape *a_l_ptr) |
|
virtual void | ReinitialiseObject (int a_x, int a_y) |
| Used to re-use an object - must be implemented in descendent classes. More...
|
|
virtual int | WhatState () |
| Returns the objects current state number. More...
|
|
virtual void | Dying () |
| A wrapped for KillThis - ideally should not be used. More...
|
|
void | CheckManagement () |
| Used to start a check for any management related effects at the objects current location. More...
|
|
void | CheckManagementXY (int a_x, int a_y) |
| Used to start a check for any management related effects at x,y. More...
|
|
virtual bool | OnFarmEvent (FarmToDo) |
| Must be reimplemented if used in descendent classes. Sets the action on a management event. More...
|
|
int | GetCurrentStateNo () const |
| Returns the current state number. More...
|
|
void | SetCurrentStateNo (int a_num) |
| Sets the current state number. More...
|
|
bool | GetStepDone () const |
| Returns the step done indicator flag. More...
|
|
void | SetStepDone (bool a_bool) |
| Sets the step done indicator flag. More...
|
|
void | ReinitialiseObjectBase () |
| Used to initialise an object. More...
|
|
| TALMaSSObject () |
| The constructor for TALMaSSObject. More...
|
|
virtual | ~TALMaSSObject ()=default |
| The destructor for TALMaSSObject. More...
|
|
◆ Osmia_Base()
Osmia constructor.
References struct_Osmia::age, m_CurrentOState, m_OurNest, m_OurPopulationManager, struct_Osmia::mass, struct_Osmia::nest, struct_Osmia::OPM, struct_Osmia::parasitised, ReInit(), SetAge(), SetMass(), SetParasitised(), and toOsmias_InitialState.
◆ ~Osmia_Base()
Osmia_Base::~Osmia_Base |
( |
void |
| ) |
|
|
virtual |
◆ BeginStep()
virtual void Osmia_Base::BeginStep |
( |
void |
| ) |
|
|
inlinevirtual |
The BeginStep is the first 'part' of the timestep that an animal can behave in. It is called once per timestep.
Reimplemented from TALMaSSObject.
Reimplemented in Osmia_Female.
◆ EndStep()
virtual void Osmia_Base::EndStep |
( |
void |
| ) |
|
|
inlinevirtual |
The EndStep is the third 'part' of the timestep that an animal can behave in. It is called once per timestep.
Reimplemented from TALMaSSObject.
◆ GetAge()
int Osmia_Base::GetAge |
( |
| ) |
|
|
inline |
A typical interface function - this one returns the age.
References m_Age.
◆ GetMass()
double Osmia_Base::GetMass |
( |
| ) |
|
|
inline |
Returns the bee's mass.
References m_Mass.
◆ GetNest()
◆ GetParasitised()
◆ ReInit()
Osmia reinitialise object methods.
References struct_Osmia::age, m_CurrentOState, m_OurPopulationManager, struct_Osmia::mass, struct_Osmia::OPM, struct_Osmia::parasitised, TAnimal::ReinitialiseObject(), SetAge(), SetMass(), SetParasitised(), toOsmias_InitialState, struct_Osmia::x, and struct_Osmia::y.
Referenced by Osmia_Base(), and Osmia_Egg::ReInit().
◆ SetAge()
void Osmia_Base::SetAge |
( |
int |
a_age | ) |
|
|
inline |
◆ SetMass()
void Osmia_Base::SetMass |
( |
double |
a_mass | ) |
|
|
inline |
◆ SetParameterValues()
void Osmia_Base::SetParameterValues |
( |
| ) |
|
|
static |
Used to populate the static members holding mortality and development parameters.
References cfg_OsmiaEggDailyMORT, cfg_OsmiaEggDevelThreshold, cfg_OsmiaEggDevelTotalDD, cfg_OsmiaFemaleLifespan, cfg_OsmiaFemaleMassFromProvMassConst, cfg_OsmiaFemaleMassFromProvMassSlope, cfg_OsmiaFemaleMassMax, cfg_OsmiaFemaleMassMin, cfg_OsmiaFemalePrenestingDuration, cfg_OsmiaInCocoonEmergCountConst, cfg_OsmiaInCocoonEmergCountSlope, cfg_OsmiaInCocoonEmergenceTempThreshold, cfg_OsmiaInCocoonOverwinteringTempThreshold, cfg_OsmiaInCocoonPrewinteringTempThreshold, cfg_OsmiaInCocoonWinterMortConst, cfg_OsmiaInCocoonWinterMortSlope, cfg_OsmiaLarvaDailyMORT, cfg_OsmiaLarvaDevelThreshold, cfg_OsmiaLarvaDevelTotalDD, cfg_OsmiaMaleMassMax, cfg_OsmiaMaxHomingDistance, cfg_OsmiaPrepupaDailyMORT, cfg_OsmiaPrepupaDevelTotalDays, cfg_OsmiaPupaDailyMORT, cfg_OsmiaPupaDevelThreshold, cfg_OsmiaPupaDevelTotalDD, cfg_OsmiaTypicalHomingDistance, m_DailyDevelopmentMortEggs, m_DailyDevelopmentMortLarvae, m_DailyDevelopmentMortPrepupae, m_DailyDevelopmentMortPupae, m_FemaleMaxMass, m_FemaleMaxTargetProvisionMass, m_FemaleMinMass, m_FemaleMinTargetProvisionMass, m_MaleMaxMass, m_MaleMaxTargetProvisionMass, m_MaleMinTargetProvisionMass, m_OsmiaEggDevelThreshold, m_OsmiaEggDevelTotalDD, m_OsmiaFemaleLifespan, m_OsmiaFemaleMassFromProvMassConst, m_OsmiaFemaleMassFromProvMassSlope, m_OsmiaFemalePrenesting, m_OsmiaFemaleR50distance, m_OsmiaFemaleR90distance, m_OsmiaInCocoonEmergCountConst, m_OsmiaInCocoonEmergCountSlope, m_OsmiaInCocoonEmergenceTempThreshold, m_OsmiaInCocoonOverwinteringTempThreshold, m_OsmiaInCocoonPrewinteringTempThreshold, m_OsmiaInCocoonWinterMortConst, m_OsmiaInCocoonWinterMortSlope, m_OsmiaLarvaDevelThreshold, m_OsmiaLarvaDevelTotalDD, m_OsmiaPrepupalDevelTotalDays, m_OsmiaPrepupalDevelTotalDays10pct, m_OsmiaPupaDevelThreshold, m_OsmiaPupaDevelTotalDD, CfgInt::value(), and CfgFloat::value().
Referenced by Osmia_Population_Manager::Init().
◆ SetParasitised()
◆ SetParasitoidManager()
◆ SetTemp()
static void Osmia_Base::SetTemp |
( |
double |
a_temperature | ) |
|
|
inlinestatic |
◆ st_Dying()
void Osmia_Base::st_Dying |
( |
void |
| ) |
|
|
virtual |
◆ Step()
virtual void Osmia_Base::Step |
( |
void |
| ) |
|
|
inlinevirtual |
◆ m_Age
A typical member variable - this one is the age in days.
Referenced by GetAge(), SetAge(), Osmia_Egg::st_Develop(), Osmia_Larva::st_Develop(), Osmia_Prepupa::st_Develop(), Osmia_Pupa::st_Develop(), Osmia_InCocoon::st_Develop(), Osmia_Pupa::st_Emerge(), Osmia_InCocoon::st_Emerge(), Osmia_Egg::st_Hatch(), Osmia_Larva::st_Prepupate(), and Osmia_Prepupa::st_Pupate().
◆ m_BombylidProbability
double Osmia_Base::m_BombylidProbability = 0.0 |
|
staticprotected |
◆ m_CocoonToProvisionMass
double Osmia_Base::m_CocoonToProvisionMass = 0.0 |
|
staticprotected |
◆ m_CurrentOState
Variable to record current behavioural state.
A Osmia must have some simple functionality: Inititation and development And some simple characteristics, herein age. Inherits m_Location_x, m_Location_y, m_OurLandscape from TAnimal NB All areas are squares of size length X length
Referenced by Osmia_Female::BeginStep(), Osmia_Female::OnFarmEvent(), Osmia_Base(), ReInit(), Osmia_Egg::Step(), Osmia_Larva::Step(), Osmia_Prepupa::Step(), Osmia_Pupa::Step(), Osmia_InCocoon::Step(), and Osmia_Female::Step().
◆ m_DailyDevelopmentMortEggs
double Osmia_Base::m_DailyDevelopmentMortEggs = 0 |
|
staticprotected |
◆ m_DailyDevelopmentMortLarvae
double Osmia_Base::m_DailyDevelopmentMortLarvae = 0 |
|
staticprotected |
◆ m_DailyDevelopmentMortPrepupae
double Osmia_Base::m_DailyDevelopmentMortPrepupae = 0 |
|
staticprotected |
◆ m_DailyDevelopmentMortPupae
double Osmia_Base::m_DailyDevelopmentMortPupae = 0 |
|
staticprotected |
◆ m_DensityDependentPollenRemovalConst
double Osmia_Base::m_DensityDependentPollenRemovalConst = 0.0 |
|
staticprotected |
◆ m_dispersalmovementdistances
◆ m_eggspernestdistribution
◆ m_emergenceday
◆ m_exp_ZeroToOne
◆ m_FemaleMaxMass
double Osmia_Base::m_FemaleMaxMass = 0.0 |
|
staticprotected |
◆ m_FemaleMaxTargetProvisionMass
double Osmia_Base::m_FemaleMaxTargetProvisionMass = 0.0 |
|
staticprotected |
◆ m_FemaleMinMass
double Osmia_Base::m_FemaleMinMass = 0.0 |
|
staticprotected |
◆ m_FemaleMinTargetProvisionMass
double Osmia_Base::m_FemaleMinTargetProvisionMass = 0.0 |
|
staticprotected |
◆ m_foragehours
int Osmia_Base::m_foragehours |
|
protected |
◆ m_generalmovementdistances
◆ m_MaleMaxMass
double Osmia_Base::m_MaleMaxMass = 0.0 |
|
staticprotected |
◆ m_MaleMaxTargetProvisionMass
double Osmia_Base::m_MaleMaxTargetProvisionMass = 0.0 |
|
staticprotected |
◆ m_MaleMinTargetProvisionMass
double Osmia_Base::m_MaleMinTargetProvisionMass = 0.0 |
|
staticprotected |
◆ m_Mass
double Osmia_Base::m_Mass |
|
protected |
◆ m_MaximumCellConstructionTime
double Osmia_Base::m_MaximumCellConstructionTime = 0.0 |
|
staticprotected |
◆ m_MinimumCellConstructionTime
double Osmia_Base::m_MinimumCellConstructionTime = 0.0 |
|
staticprotected |
◆ m_OsmiaEggDevelThreshold
double Osmia_Base::m_OsmiaEggDevelThreshold = 0 |
|
staticprotected |
◆ m_OsmiaEggDevelTotalDD
double Osmia_Base::m_OsmiaEggDevelTotalDD = 0 |
|
staticprotected |
◆ m_OsmiaFemaleBckMort
double Osmia_Base::m_OsmiaFemaleBckMort = 0.0 |
|
staticprotected |
◆ m_OsmiaFemaleLifespan
int Osmia_Base::m_OsmiaFemaleLifespan = 0 |
|
staticprotected |
◆ m_OsmiaFemaleMassFromProvMassConst
double Osmia_Base::m_OsmiaFemaleMassFromProvMassConst = 0.0 |
|
staticprotected |
◆ m_OsmiaFemaleMassFromProvMassSlope
double Osmia_Base::m_OsmiaFemaleMassFromProvMassSlope = 0.0 |
|
staticprotected |
◆ m_OsmiaFemaleMaxEggsPerNest
int Osmia_Base::m_OsmiaFemaleMaxEggsPerNest = 0 |
|
staticprotected |
◆ m_OsmiaFemaleMinEggsPerNest
int Osmia_Base::m_OsmiaFemaleMinEggsPerNest = 0 |
|
staticprotected |
◆ m_OsmiaFemalePrenesting
int Osmia_Base::m_OsmiaFemalePrenesting = 0 |
|
staticprotected |
◆ m_OsmiaFemaleR50distance
double Osmia_Base::m_OsmiaFemaleR50distance = 0.0 |
|
staticprotected |
◆ m_OsmiaFemaleR90distance
double Osmia_Base::m_OsmiaFemaleR90distance = 0.0 |
|
staticprotected |
◆ m_OsmiaFindNestAttemptNo
int Osmia_Base::m_OsmiaFindNestAttemptNo = 0 |
|
staticprotected |
◆ m_OsmiaInCocoonEmergCountConst
double Osmia_Base::m_OsmiaInCocoonEmergCountConst = 0.0 |
|
staticprotected |
◆ m_OsmiaInCocoonEmergCountSlope
double Osmia_Base::m_OsmiaInCocoonEmergCountSlope = 0.0 |
|
staticprotected |
◆ m_OsmiaInCocoonEmergenceTempThreshold
double Osmia_Base::m_OsmiaInCocoonEmergenceTempThreshold = 0 |
|
staticprotected |
◆ m_OsmiaInCocoonOverwinteringTempThreshold
double Osmia_Base::m_OsmiaInCocoonOverwinteringTempThreshold = 0 |
|
staticprotected |
◆ m_OsmiaInCocoonPrewinteringTempThreshold
double Osmia_Base::m_OsmiaInCocoonPrewinteringTempThreshold = 0 |
|
staticprotected |
◆ m_OsmiaInCocoonWinterMortConst
double Osmia_Base::m_OsmiaInCocoonWinterMortConst = 0.0 |
|
staticprotected |
◆ m_OsmiaInCocoonWinterMortSlope
double Osmia_Base::m_OsmiaInCocoonWinterMortSlope = 0.0 |
|
staticprotected |
◆ m_OsmiaLarvaDevelThreshold
double Osmia_Base::m_OsmiaLarvaDevelThreshold = 0 |
|
staticprotected |
◆ m_OsmiaLarvaDevelTotalDD
double Osmia_Base::m_OsmiaLarvaDevelTotalDD = 0 |
|
staticprotected |
◆ m_OsmiaPrepupalDevelTotalDays
double Osmia_Base::m_OsmiaPrepupalDevelTotalDays = 0 |
|
staticprotected |
◆ m_OsmiaPrepupalDevelTotalDays10pct
double Osmia_Base::m_OsmiaPrepupalDevelTotalDays10pct = 0 |
|
staticprotected |
◆ m_OsmiaPupaDevelThreshold
double Osmia_Base::m_OsmiaPupaDevelThreshold = 0 |
|
staticprotected |
◆ m_OsmiaPupaDevelTotalDD
double Osmia_Base::m_OsmiaPupaDevelTotalDD = 0 |
|
staticprotected |
◆ m_OurNest
A useful pointer to the current nest with double use, for up to InCocoon its the nest where they are, for females its the current being provisioned
Referenced by Osmia_Female::CalcParaistised(), Osmia_Female::FindNestLocation(), GetNest(), Osmia_Female::Init(), Osmia_Female::LayEgg(), Osmia_Base(), Osmia_Egg::Osmia_Egg(), Osmia_Egg::ReInit(), Osmia_Egg::st_Develop(), Osmia_Larva::st_Develop(), Osmia_InCocoon::st_Develop(), st_Dying(), Osmia_Female::st_Dying(), Osmia_Pupa::st_Emerge(), Osmia_InCocoon::st_Emerge(), Osmia_Egg::st_Hatch(), Osmia_Larva::st_Prepupate(), Osmia_Prepupa::st_Pupate(), and Osmia_Female::st_ReproductiveBehaviour().
◆ m_OurParasitoidPopulationManager
◆ m_OurPopulationManager
This is a time saving pointer to the correct population manager object.
Referenced by Osmia_Female::BeginStep(), Osmia_Female::FindNestLocation(), Osmia_Female::Init(), Osmia_Female::LayEgg(), Osmia_Female::OnFarmEvent(), Osmia_Base(), ReInit(), Osmia_Prepupa::st_Develop(), Osmia_InCocoon::st_Develop(), Osmia_Female::st_Develop(), Osmia_Female::st_Dispersal(), Osmia_Female::st_Dying(), Osmia_Pupa::st_Emerge(), Osmia_InCocoon::st_Emerge(), Osmia_Egg::st_Hatch(), Osmia_Larva::st_Prepupate(), Osmia_Prepupa::st_Pupate(), and Osmia_Female::st_ReproductiveBehaviour().
◆ m_ParasitismProbToTimeCellOpen
double Osmia_Base::m_ParasitismProbToTimeCellOpen = 0.0 |
|
staticprotected |
◆ m_ParasitoidAttackChance
vector< double > Osmia_Base::m_ParasitoidAttackChance = {} |
|
staticprotected |
◆ m_ParasitoidStatus
◆ m_PollenScoreToMg
double Osmia_Base::m_PollenScoreToMg = 0.0 |
|
staticprotected |
◆ m_ProvisionToCocoonMass
double Osmia_Base::m_ProvisionToCocoonMass = 0.0 |
|
staticprotected |
◆ m_TempToday
double Osmia_Base::m_TempToday = -9999 |
|
staticprotected |
◆ m_TempTodayInt
int Osmia_Base::m_TempTodayInt = -9999 |
|
staticprotected |
The temperature today to the nearest degree. This is static because there is only one temperature today. This is mostly for use in temperature indexed arrays (if used)
Referenced by SetTemp().
◆ m_TotalNestsPossible
int Osmia_Base::m_TotalNestsPossible = 0 |
|
staticprotected |
◆ m_TotalProvisioningMassLoss
double Osmia_Base::m_TotalProvisioningMassLoss = 0.0 |
|
staticprotected |
◆ m_TotalProvisioningMassLossRange
double Osmia_Base::m_TotalProvisioningMassLossRange = 0.0 |
|
staticprotected |
◆ m_TotalProvisioningMassLossRangeX2
double Osmia_Base::m_TotalProvisioningMassLossRangeX2 = 0.0 |
|
staticprotected |
◆ m_UsingMechanisticParasitoids
bool Osmia_Base::m_UsingMechanisticParasitoids = false |
|
staticprotected |
The documentation for this class was generated from the following files:
CfgFloat cfg_OsmiaInCocoonOverwinteringTempThreshold("OSMIA_INCOCOONOVERWINTERINGTEMPTHRESHOLD", CFG_CUSTOM, 0.0)
Is the temperature developmental threshold for overwintering development (a temperature below which d...
static int m_OsmiaFemaleLifespan
holds the value for max female lifespan
Definition: Osmia.h:304
virtual void KillThis()
Sets all parameters ready for object destruction.
Definition: PopulationManager.h:263
static double m_DailyDevelopmentMortPrepupae
This holds the daily mortality for pre-pupae.
Definition: Osmia.h:230
void SetMass(double a_mass)
Sets the bee's mass.
Definition: Osmia.h:366
double m_Mass
Definition: Osmia.h:340
static CfgFloat cfg_OsmiaPupaDailyMORT("OSMIA_PUPADAILYMORT", CFG_CUSTOM, 0.003)
Daily unspecified mortality for Osmia pupae.
static double m_MaleMaxTargetProvisionMass
The maximum target provisioning for a male cell.
Definition: Osmia.h:270
static CfgFloat cfg_OsmiaEggDevelTotalDD("OSMIA_EGGDEVELDD", CFG_CUSTOM, 86.0)
Is the number of day degrees needed for egg hatch above the developmental threshold for eggs.
static double m_OsmiaPrepupalDevelTotalDays10pct
10% of the number of days for prepupal development - just for speed
Definition: Osmia.h:248
int y
y-coord
Definition: Osmia_Population_Manager.h:167
CfgInt cfg_OsmiaFemalePrenestingDuration("OSMIA_PRENESTINGDURATION", CFG_CUSTOM, 2)
duration of prenesting in days
static double m_MaleMaxMass
The minimum Male mass.
Definition: Osmia.h:280
static double m_OsmiaFemaleMassFromProvMassSlope
holds the coefficient value for the female mass calculation from provision mass
Definition: Osmia.h:266
static double m_OsmiaPrepupalDevelTotalDays
Number of days for prepupal development.
Definition: Osmia.h:246
static double m_FemaleMaxMass
The maximum female mass.
Definition: Osmia.h:276
void RemoveCell(TAnimal *a_oldpointer)
Definition: Osmia.cpp:1651
static double m_OsmiaFemaleR50distance
holds the value for the female typical homing distance
Definition: Osmia.h:298
static OsmiaParasitoid_Population_Manager * m_OurParasitoidPopulationManager
This is a time saving pointer to the parasitoid population manager object.
Definition: Osmia.h:220
CfgFloat cfg_OsmiaFemaleMassFromProvMassSlope("OSMIA_FEMALEMASSFROMPROVMASSSLOPE", CFG_CUSTOM, 0.25)
Coefficient in osmia female mass from provision mass calculation.
double value() const
Definition: Configurator.h:142
static double m_TempToday
The temperature today. This is static because there is only one temperature today.
Definition: Osmia.h:222
static double m_OsmiaLarvaDevelTotalDD
Is the number of day degrees needed for larval hatch above the developmental threshold for larvae.
Definition: Osmia.h:238
void ReInit(struct_Osmia *data)
Osmia reinitialise object methods.
Definition: Osmia.cpp:198
static double m_OsmiaInCocoonOverwinteringTempThreshold
holds the value for the InCocoon overwintering temperature threshold
Definition: Osmia.h:250
static double m_OsmiaPupaDevelTotalDD
Is the number of day degrees needed for pupal hatch above the developmental threshold for pupae.
Definition: Osmia.h:242
static double m_OsmiaInCocoonEmergCountSlope
holds the coefficient value for the InCocoon emergence counter calculation
Definition: Osmia.h:262
int age
age
Definition: Osmia_Population_Manager.h:169
static double m_OsmiaFemaleR90distance
holds the value for the female max homing distance
Definition: Osmia.h:300
static double m_OsmiaEggDevelTotalDD
Is the number of day degrees needed for egg development to hatch.
Definition: Osmia.h:234
static CfgFloat cfg_OsmiaPupaDevelTotalDD("OSMIA_PUPADEVELDD", CFG_CUSTOM, 570)
Is the number of day degrees needed for pupal hatch above the developmental threshold for pupae.
TAnimal(int x, int y, Landscape *L)
The TAnimal constructor saving the x,y, location and the landscape pointer.
Definition: PopulationManager.cpp:1553
CfgFloat cfg_OsmiaInCocoonWinterMortConst("OSMIA_INCOCOONWINTERMORTCONST", CFG_CUSTOM, -4.63)
Constant term in winter mortality equation for Osmia in cocoon.
static CfgFloat cfg_OsmiaPupaDevelThreshold("OSMIA_PUPADEVELTHRESHOLD", CFG_CUSTOM, 1.1)
Is temperature developmental threshold for pupal development.
static double m_OsmiaFemaleMassFromProvMassConst
holds the constant term value for the female mass calculation from provision mass
Definition: Osmia.h:264
static double m_OsmiaInCocoonWinterMortSlope
holds the coefficient value for the InCocoon winter mortality calculation
Definition: Osmia.h:258
TTypeOfOsmiaState m_CurrentOState
Variable to record current behavioural state.
Definition: Osmia.h:214
CfgFloat cfg_OsmiaInCocoonPrewinteringTempThreshold("OSMIA_INCOCOONPREWINTERINGTEMPTHRESHOLD", CFG_CUSTOM, 15.0)
Is the temperature developmental threshold for prewintering development (a temperature below which da...
Osmia_Population_Manager * m_OurPopulationManager
This is a time saving pointer to the correct population manager object.
Definition: Osmia.h:218
CfgFloat cfg_OsmiaInCocoonEmergCountSlope("OSMIA_INCOCOONEMERGENCECOUNTERSLOPE", CFG_CUSTOM, -0.0147)
Coefficient in emergence counter equation for Osmia in cocoon.
int x
x-coord
Definition: Osmia_Population_Manager.h:165
static CfgFloat cfg_OsmiaPrepupaDevelTotalDays("OSMIA_PREPUPADEVELDAYS", CFG_CUSTOM, 45)
This is maximal (reached at optimal temperature) developmental speed (in days) for prepupal stages.
static double m_FemaleMinTargetProvisionMass
The minimum target provisioning for a female cell.
Definition: Osmia.h:272
void SetParasitised(TTypeOfOsmiaParasitoids a_status)
Set the parasitised status.
Definition: Osmia.h:368
static double m_OsmiaInCocoonWinterMortConst
holds the constant term value for the InCocoon winter mortality calculation
Definition: Osmia.h:256
static double m_OsmiaInCocoonEmergenceTempThreshold
holds the value for the InCocoon emergence temperature threshold
Definition: Osmia.h:252
CfgFloat cfg_OsmiaFemaleMassMin("OSMIA_MINFEMALEMASS", CFG_CUSTOM, 25.0)
min possible female mass in mg
static CfgFloat cfg_OsmiaLarvaDevelTotalDD("OSMIA_LARVADEVELDD", CFG_CUSTOM, 422)
Is the number of day degrees needed for larval hatch above the developmental threshold for larvae.
static double m_DailyDevelopmentMortPupae
This holds the daily mortality for pupae.
Definition: Osmia.h:232
int value() const
Definition: Configurator.h:116
static double m_OsmiaLarvaDevelThreshold
Is temperature developmental threshold for larval development.
Definition: Osmia.h:240
Osmia_Nest * m_OurNest
Definition: Osmia.h:338
static int m_OsmiaFemalePrenesting
holds the value for the duration of prenesting
Definition: Osmia.h:302
static double m_OsmiaInCocoonPrewinteringTempThreshold
holds the value for the InCocoon prewintering temperature threshold
Definition: Osmia.h:254
static double m_OsmiaPupaDevelThreshold
Is temperature developmental threshold for pupal development.
Definition: Osmia.h:244
double mass
The mass of the Osmia in mg.
Definition: Osmia_Population_Manager.h:181
TTypeOfOsmiaParasitoids m_ParasitoidStatus
Holds the parasitoid status - only one is allowed.
Definition: Osmia.h:336
virtual void ReinitialiseObject(int a_x, int a_y, Landscape *a_l_ptr)
Definition: PopulationManager.h:282
CfgFloat cfg_OsmiaFemaleMassFromProvMassConst("OSMIA_FEMALEMASSFROMPROVMASSCONST", CFG_CUSTOM, 4.00)
Constant term in osmia female mass from provision mass calculation.
static CfgFloat cfg_OsmiaEggDevelThreshold("OSMIA_EGGDEVELTHRESHOLD", CFG_CUSTOM, 0.0)
Is temperature developmental threshold for egg development.
Osmia_Nest * nest
a pointer to a nest
Definition: Osmia_Population_Manager.h:177
TTypeOfOsmiaParasitoids parasitised
Are we parasitised.
Definition: Osmia_Population_Manager.h:179
static CfgFloat cfg_OsmiaPrepupaDailyMORT("OSMIA_PREPUPADAILYMORT", CFG_CUSTOM, 0.003)
Daily unspecified mortality for Osmia prepupae.
int m_Age
A typical member variable - this one is the age in days.
Definition: Osmia.h:216
static double m_OsmiaEggDevelThreshold
Is temperature developmental threshold for egg development.
Definition: Osmia.h:236
CfgFloat cfg_OsmiaInCocoonWinterMortSlope("OSMIA_INCOCOONWINTERMORTSLOPE", CFG_CUSTOM, 0.05)
Coefficient in winter mortality equation for Osmia in cocoon.
static int m_TempTodayInt
The temperature today to the nearest degree. This is static because there is only one temperature tod...
Definition: Osmia.h:224
static double m_FemaleMaxTargetProvisionMass
The maximum target provisioning for a female cell.
Definition: Osmia.h:274
void SetAge(int a_age)
A typical interface function - this one returns the age.
Definition: Osmia.h:362
CfgFloat cfg_OsmiaInCocoonEmergenceTempThreshold("OSMIA_INCOCOONEMERGENCETEMPTHRESHOLD", CFG_CUSTOM, 5.0)
Is the temperature threshold for calculating days left to emergence (a temperature below which days a...
CfgFloat cfg_OsmiaFemaleMassMax("OSMIA_MAXFEMALEMASS", CFG_CUSTOM, 200.0)
max possible female mass in mg
CfgInt cfg_OsmiaTypicalHomingDistance("OSMIA_TYPICALHOMINGDISTANCE", CFG_CUSTOM, 660)
static double m_DailyDevelopmentMortLarvae
This holds the daily mortality for larvae.
Definition: Osmia.h:228
static CfgFloat cfg_OsmiaLarvaDailyMORT("OSMIA_LARVADAILYMORT", CFG_CUSTOM, 0.0014)
Daily unspecified mortality for Osmia larvae.
CfgInt cfg_OsmiaFemaleLifespan("OSMIA_LIFESPAN", CFG_CUSTOM, 60)
max lifespan in days
CfgFloat cfg_OsmiaMaleMassMax("OSMIA_MAXMALEMASS", CFG_CUSTOM, 105.0)
min possible male mass in mg
Osmia_Population_Manager * OPM
Osmia_Population_Manager pointer.
Definition: Osmia_Population_Manager.h:175
static double m_DailyDevelopmentMortEggs
This holds the daily mortality for eggs.
Definition: Osmia.h:226
static CfgFloat cfg_OsmiaEggDailyMORT("OSMIA_EGGDAILYMORT", CFG_CUSTOM, 0.0014)
Daily unspecified mortality for Osmia eggs.
static CfgFloat cfg_OsmiaLarvaDevelThreshold("OSMIA_LARVADEVELTHRESHOLD", CFG_CUSTOM, 4.5)
Is temperature developmental threshold for larval development.
static double m_FemaleMinMass
The minimum female mass.
Definition: Osmia.h:278
static double m_OsmiaInCocoonEmergCountConst
holds the constant term value for the InCocoon emergence counter calculation
Definition: Osmia.h:260
static double m_MaleMinTargetProvisionMass
The minimum target provisioning for a male cell.
Definition: Osmia.h:268
CfgInt cfg_OsmiaMaxHomingDistance("OSMIA_MAXHOMINGDISTANCE", CFG_CUSTOM, 1430)
CfgFloat cfg_OsmiaInCocoonEmergCountConst("OSMIA_INCOCOONEMERGENCECOUNTERCONST", CFG_CUSTOM, 35.4819)
Constant term in emergence counter equation for Osmia in cocoon.