ALMaSS Rabbit ODdox  1.1
The rabbit model description following ODdox protocol
weather.cpp File Reference
#include <cstdlib>
#include <cstdio>
#include "ls.h"

Go to the source code of this file.

Macros

#define _CRT_SECURE_NO_DEPRECATE
 

Functions

void FloatToDouble (double &, float)
 

Variables

static CfgInt l_weather_starting_year ("WEATHER_STARTING_YEAR", CFG_CUSTOM, 0)
 
class Weatherg_weather
 
const int WindDirections [12][100]
 

Macro Definition Documentation

◆ _CRT_SECURE_NO_DEPRECATE

#define _CRT_SECURE_NO_DEPRECATE

Definition at line 28 of file weather.cpp.

Function Documentation

◆ FloatToDouble()

void FloatToDouble ( double &  ,
float   
)

Variable Documentation

◆ g_weather

class Weather* g_weather

Definition at line 41 of file weather.cpp.

Referenced by Farm::AutumnHarrow(), Farm::AutumnPlough(), Farm::AutumnRoll(), Farm::AutumnSow(), Farm::BedForming(), Farm::Biocide(), Farm::BulbHarvest(), Farm::BurnStrawStubble(), Farm::CutOrch(), Farm::CutToHay(), Farm::CutToSilage(), Farm::CutWeeds(), Farm::DeepPlough(), VegElement::DoDevelopment(), UnsprayedFieldMargin::DoDevelopment(), Farm::FA_AmmoniumSulphate(), Farm::FA_Calcium(), Farm::FA_GreenManure(), Farm::FA_ManganeseSulphate(), Farm::FA_Manure(), Farm::FA_NPK(), Farm::FA_NPKS(), Farm::FA_PK(), Farm::FA_RSM(), Farm::FA_Sludge(), Farm::FA_Slurry(), Farm::FlowerCutting(), Farm::FP_AmmoniumSulphate(), Farm::FP_Calcium(), Farm::FP_GreenManure(), Farm::FP_LiquidNH3(), Farm::FP_ManganeseSulphate(), Farm::FP_Manure(), Farm::FP_NPK(), Farm::FP_NPKS(), Farm::FP_PK(), Farm::FP_RSM(), Farm::FP_Sludge(), Farm::FP_Slurry(), Farm::FungicideTreat(), OptimisingFarm::FungicideTreat(), Farm::GrowthRegulator(), Farm::Harvest(), OptimisingFarm::Harvest(), Farm::HarvestLong(), Farm::HayBailing(), Farm::HayTurning(), Farm::HeavyCultivatorAggregate(), Farm::HerbicideTreat(), OptimisingFarm::HerbicideTreat(), Farm::HillingUp(), Farm::InsecticideTreat(), OptimisingFarm::InsecticideTreat(), Landscape::Landscape(), Farm::Molluscicide(), Farm::PreseedingCultivator(), Farm::PreseedingCultivatorSow(), Farm::ProductApplication(), Farm::RowCultivation(), VegElement::SetGrowthPhase(), Farm::ShallowHarrow(), Farm::SpringHarrow(), Farm::SpringPlough(), Farm::SpringRoll(), Farm::SpringSow(), Farm::SpringSowWithFerti(), Farm::StrawChopping(), Farm::StrawCovering(), Farm::StrawRemoval(), Farm::Strigling(), Farm::StriglingHill(), Farm::StriglingSow(), Farm::StubbleCultivatorHeavy(), Farm::StubbleHarrowing(), Farm::StubblePlough(), Landscape::SupplyGlobalRadiation(), Landscape::SupplyHumidity(), Landscape::SupplyMeanTemp(), Landscape::SupplyRain(), Landscape::SupplyRainPeriod(), Landscape::SupplySnowcover(), Landscape::SupplySnowDepth(), Landscape::SupplyTemp(), Landscape::SupplyTempPeriod(), Landscape::SupplyWind(), Landscape::SupplyWindDirection(), Landscape::SupplyWindPeriod(), Farm::Swathing(), Pesticide::Tick(), Landscape::Tick(), Farm::Water(), Farm::WinterPlough(), and Landscape::~Landscape().

◆ l_weather_starting_year

CfgInt l_weather_starting_year("WEATHER_STARTING_YEAR", CFG_CUSTOM, 0)
static

Referenced by Weather::Weather().

◆ WindDirections

const int WindDirections[12][100]
Initial value:
= {
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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