ALMaSS Rabbit ODdox  1.00
The rabbit model description following ODdox protocol
Classes | Macros | Typedefs | Enumerations | Variables
landscape.h File Reference
#include <vector>

Go to the source code of this file.

Classes

struct  GooseFieldListItem
 A list item entry of field polygon reference numbers with associated openness and goose food scores. More...
 
class  Landscape
 The landscape class containing all environmental and topographical data. More...
 

Macros

#define _CRTDBG_MAP_ALLOC
 
#define TLANDSCAPE_H
 

Typedefs

typedef std::vector< GooseFieldListItemGooseFieldList
 A list of GooseFieldListItem s. More...
 

Enumerations

enum  TTypeOfDirections {
  direction_n = 0, direction_ne, direction_e, direction_se,
  direction_s, direction_sw, direction_w, direction_nw
}
 ALMaSS 8 standard directions. More...
 
enum  TTypesOfPesticide {
  ttop_NoPesticide = -1, ttop_AcuteEffects = 0, ttop_ReproductiveEffects, ttop_Vinclozolin,
  ttop_ModelinkPesticide, ttop_ModelinkPesticide21TWA, ttop_GeneticDemo, ttop_MultipleEffects,
  ttop_eggshellthinning
}
 

Variables

const int January = 0
 
const int February = 31
 
const int March = 59
 
const int April = 90
 
const int May = 120
 
const int June = 151
 
const int July = 181
 
const int August = 212
 
const int September = 243
 
const int October = 273
 
const int November = 304
 
const int December = 334
 
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...
 
class Pesticideg_pest
 
Landscapeg_map
 

Macro Definition Documentation

#define _CRTDBG_MAP_ALLOC

Definition at line 27 of file landscape.h.

#define TLANDSCAPE_H

Definition at line 30 of file landscape.h.

Typedef Documentation

typedef std::vector<GooseFieldListItem> GooseFieldList

A list of GooseFieldListItem s.

Definition at line 100 of file landscape.h.

Enumeration Type Documentation

ALMaSS 8 standard directions.

Enumerator
direction_n 
direction_ne 
direction_e 
direction_se 
direction_s 
direction_sw 
direction_w 
direction_nw 

Definition at line 59 of file landscape.h.

Enumerator
ttop_NoPesticide 
ttop_AcuteEffects 
ttop_ReproductiveEffects 
ttop_Vinclozolin 
ttop_ModelinkPesticide 
ttop_ModelinkPesticide21TWA 
ttop_GeneticDemo 
ttop_MultipleEffects 
ttop_eggshellthinning 

Definition at line 64 of file landscape.h.

Variable Documentation

const int April = 90

Definition at line 38 of file landscape.h.

const int August = 212

Definition at line 42 of file landscape.h.

const int December = 334

Definition at line 46 of file landscape.h.

const int February = 31

Definition at line 36 of file landscape.h.

Landscape* g_map
class Pesticide* g_pest
const int January = 0

Definition at line 35 of file landscape.h.

const int July = 181

Definition at line 41 of file landscape.h.

const int June = 151

Definition at line 40 of file landscape.h.

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.

Definition at line 237 of file Landscape.cpp.

Referenced by Landscape::GetActualGooseGrazingForage(), Landscape::GrazeVegetation(), Landscape::GrazeVegetationTotal(), Landscape::RebuildPolyMapping(), Landscape::SetBirdMaizeForage(), Landscape::SetBirdSeedForage(), Landscape::SupplyBirdMaizeForage(), Landscape::SupplyBirdSeedForage(), Landscape::SupplyCentroidX(), Landscape::SupplyCentroidY(), Landscape::SupplyDayDegrees(), Landscape::SupplyDeadBiomass(), Landscape::SupplyElementSubType(), Landscape::SupplyElementType(), Landscape::SupplyFarmArea(), Landscape::SupplyFarmOwner(), Landscape::SupplyFarmOwnerIndex(), Landscape::SupplyFarmType(), Landscape::SupplyGooseGrazingForageH(), Landscape::SupplyGrazingPressure(), Landscape::SupplyGreenBiomass(), Landscape::SupplyHasTramlines(), Landscape::SupplyInsects(), Landscape::SupplyIsCereal(), Landscape::SupplyIsGrass(), Landscape::SupplyIsMatureCereal(), Landscape::SupplyJustMown(), Landscape::SupplyJustSprayed(), Landscape::SupplyLAGreen(), Landscape::SupplyLastSownVeg(), Landscape::SupplyLastTreatment(), Landscape::SupplyLEPointer(), Landscape::SupplyOpenness(), Landscape::SupplyPesticideCell(), Landscape::SupplyPolygonArea(), Landscape::SupplySkScrapes(), Landscape::SupplyTrafficLoad(), Landscape::SupplyValidX(), Landscape::SupplyValidY(), Landscape::SupplyVegAge(), Landscape::SupplyVegBiomass(), Landscape::SupplyVegCover(), Landscape::SupplyVegDensity(), Landscape::SupplyVegDigestability(), Landscape::SupplyVegHeight(), Landscape::SupplyVegPatchy(), Landscape::SupplyVegPhase(), Landscape::SupplyVegType(), and Landscape::SupplyWeedBiomass().

const int March = 59

Definition at line 37 of file landscape.h.

Referenced by MownGrass::DoDevelopment().

const int May = 120

Definition at line 39 of file landscape.h.

const int November = 304

Definition at line 45 of file landscape.h.

const int October = 273

Definition at line 44 of file landscape.h.

Referenced by MownGrass::DoDevelopment().

const int September = 243

Definition at line 43 of file landscape.h.