ALMaSS  1.2 (after EcoStack, March 2024)
The Animal, Landscape and Man Simulation System
PlantGrowthData Class Reference

#include <Plants.h>

Public Member Functions

double GetLAgreenDiff (double a_ddegs, double a_yddegs, int a_plant, int a_phase)
 Get the differential in LA green for the day degrees experienced. More...
 
double GetMaxDdegLAgreen (int a_plant, int a_phase)
 Get the final positive growing day degrees based on LA green. More...
 
double GetLAtotalDiff (double a_ddegs, double a_yddegs, int a_plant, int a_phase)
 Get the differential in LA total for the day degrees experienced. More...
 
double GetMaxDdegLAtotal (int a_plant, int a_phase)
 Get the final positive growing day degrees based on LA total. More...
 
double GetHeightDiff (double a_ddegs, double a_yddegs, int a_plant, int a_phase)
 Get the differential in veg height for the day degrees experienced. More...
 
double GetMaxDdegHeight (int a_plant, int a_phase)
 Get the final positive growing day degrees based on veg height. More...
 
double GetLAgreenDiffScaled (double a_ddegs, double a_yddegs, int a_plant, int a_phase, double a_scaler)
 Get the differential in LA green for the day degrees experienced, scalable depending on plant growth ability. More...
 
double GetLAtotalDiffScaled (double a_ddegs, double a_yddegs, int a_plant, int a_phase, double a_scaler)
 Get the differential in LA total for the day degrees experienced, scalable depending on plant growth ability. More...
 
double GetHeightDiffScaled (double a_ddegs, double a_yddegs, int a_plant, int a_phase, double a_scaler)
 Get the differential in veg height for the day degrees experienced, scalable depending on plant growth ability. More...
 
double GetStartValue (int a_veg_type, int a_phase, int a_type)
 
bool StartValid (int a_veg_type, int a_phase)
 
int GetNumCrops ()
 
int VegTypeToCurveNum (TTypesOfVegetation VegReference)
 
double GetWeedPercent (TTypesOfVegetation a_letype)
 
double GetBugPercentA (TTypesOfVegetation a_letype)
 
double GetBugPercentB (TTypesOfVegetation a_letype)
 
double GetBugPercentC (TTypesOfVegetation a_letype)
 
double GetBugPercentD (TTypesOfVegetation a_letype)
 
bool GetNutStatus (int a_plant_num)
 
bool GetNutStatusExt (int a_plant)
 
 PlantGrowthData (const char *a_cropcurvefile="default")
 
 ~PlantGrowthData ()
 

Private Member Functions

double FindDiff (double a_ddegs, double a_yddegs, int a_plant, int a_phase, int a_type)
 
unsigned int FindCropNum (ifstream &ist)
 
void SetVegNum (unsigned int a_i, ifstream &ist, const char *a_cropcurvefile)
 
void MakeBugPercentArray (void)
 
void ReadBugPercentageFile (void)
 

Private Attributes

vector< CropGrowth * > m_growth
 
vector< vector< vector< double > > > m_final_ddeg
 
vector< int > m_numbers
 
int m_num_crops
 
ifstream m_ifile
 
double * m_weed_percent
 
double * m_bug_percent_a
 
double * m_bug_percent_b
 
double * m_bug_percent_c
 
int * m_bug_percent_d
 

Constructor & Destructor Documentation

◆ PlantGrowthData()

PlantGrowthData::PlantGrowthData ( const char *  a_cropcurvefile = "default")
167 {
168  // Just finds out how many veg curves there are.
169 
170  ifstream ist;
171  std::string filename;
172 
173  if (strcmp(a_vegcurvefile, "default") == 0)
174  filename = l_map_cropcurves_file.value();
175  else
176  filename = a_vegcurvefile;
177 
178  std::cout << "Reading Plant Curves File " << filename << "\n";
179  ist.open(filename);
180  if (!ist) {
181  g_msg->Warn(WARN_FILE, "PlantGrowthData::PlantGrowthData() Unable to open file",
182  filename);
183  exit(1);
184  }
185 
186  unsigned int NoPlants = FindCropNum(ist);
187 
188  for ( unsigned int i=0; i<NoPlants; i++) {
189  CropGrowth* temp;
190  temp = new CropGrowth;
191  m_growth[ i ] = temp;
192  SetVegNum( i, ist, a_vegcurvefile );
193 
194 /*
195  for (int mmm=0; mmm < 10; ++mmm) {
196  int myin;
197  ist >> myin;
198  cout <<
199  }
200 */
201 
202  for (unsigned int j=0; j<5; j++) { // for each growth phase
203  // 'Local' index into crop growth curves.
204  int lk = 0;
205  for (unsigned int k=0; k<MaxNoInflections; k++) {
206  // for each inflection point
207  int entry;
208  //fscanf( m_ifile, "%d", &entry );
209  ist >> entry;
210  double f1=0,f2=0,f0=0;
211  if ( entry == -1 ) {
212  // Crop start data.
213  m_growth[ i ]->m_start_valid[j] = true;
214  //fscanf( m_ifile, "%g %g %g",&f1,&f0,&f2);
215  ist >> f1 >> f0 >> f2;
216  //FloatToDouble(m_growth[ i ]->m_start[j][1],f1);
217  //FloatToDouble(m_growth[ i ]->m_start[j][0],f0);
218  //FloatToDouble(m_growth[ i ]->m_start[j][2],f2);
219  m_growth[ i ]->m_start[j][1]=f1;
220  m_growth[ i ]->m_start[j][0]=f0;
221  m_growth[ i ]->m_start[j][2]=f2;
222  } else {
223  // Add inflection point to normal growth curves.
224  m_growth[ i ]->m_dds[j][lk] = (double)entry;
225  //fscanf( m_ifile, "%g %g %g",&f1,&f0,&f2);
226  ist >> f1 >> f0 >> f2;
227  //FloatToDouble(m_growth[ i ]->m_slopes[j][1][lk],f1);
228  //FloatToDouble(m_growth[ i ]->m_slopes[j][0][lk],f0);
229  //FloatToDouble(m_growth[ i ]->m_slopes[j][2][lk],f2);
230  m_growth[ i ]->m_slopes[j][1][lk]=f1;
231  m_growth[ i ]->m_slopes[j][0][lk]=f0;
232  m_growth[ i ]->m_slopes[j][2][lk]=f2;
233  lk++;
234  }
235  } // MaxNoInflections
236  } // Growth Phases
237  } // NoPlants
238  //fclose( m_ifile );
239 
240  double temp_ddeg = -1;
241  for ( unsigned int i=0; i<NoPlants; i++) {
242  for (unsigned int j=0; j<5; j++) {
243  if (m_growth[i]->m_start_valid[j] == false && m_growth[i]->m_dds[j][0]>99998){ //no growth curve, so use -1
244  m_final_ddeg.at(i).at(j).at(0) = -1;
245  m_final_ddeg.at(i).at(j).at(1) = -1;
246  m_final_ddeg.at(i).at(j).at(2) = -1;
247  continue;
248  }
249 
250  //there is a growth curve, check the maximum growth day degrees
251  for (unsigned int l=0; l<3; l++){
252  temp_ddeg = -1;
253  unsigned int start_index = MaxNoInflections-2;
254  if (m_growth[i]->m_start_valid[j]){
255  start_index = MaxNoInflections-3;
256  }
257  temp_ddeg = m_growth[i]->m_dds[j][start_index+1];
258  for (int k=start_index; k>=0; k--) {
259  if(m_growth[i]->m_slopes[j][l][k]>0){
260  m_final_ddeg.at(i).at(j).at(l) = temp_ddeg;
261  break;
262  }
263  else if(m_growth[i]->m_slopes[j][l][k]<0){
264  m_final_ddeg.at(i).at(j).at(l) = temp_ddeg; //m_growth[i]->m_dds[j][k];
265  break;
266  }
267  else{
268  temp_ddeg = m_growth[i]->m_dds[j][k];
269  }
270  }
271  }
272  }
273  }
274 }

References FindCropNum(), g_msg, l_map_cropcurves_file, m_final_ddeg, m_growth, MaxNoInflections, SetVegNum(), CfgStr::value(), MapErrorMsg::Warn(), and WARN_FILE.

◆ ~PlantGrowthData()

PlantGrowthData::~PlantGrowthData ( )
277 {
278  for ( unsigned int i=0; i<m_growth.size(); i++ )
279  delete m_growth[i];
280 }

References m_growth.

Member Function Documentation

◆ FindCropNum()

unsigned int PlantGrowthData::FindCropNum ( ifstream &  ist)
private
106 {
107  int NoPlants;
108 
109  m_numbers.resize(201);
110  for ( unsigned int i=0; i<201; i++) {
111  m_numbers[ i ] = -1;
112  }
113 
114  //m_ifile = fopen(a_cropcurvefile, "r" );
115  //ifstream m_ifile(a_cropcurvefile);
116  /*
117  if (!m_ifile){
118  g_msg->Warn(WARN_FILE, "PlantGrowthData::PlantGrowthData: Unable to open file",
119  a_cropcurvefile );
120  exit(1);
121  }
122  */
123  //fscanf( m_ifile , "%d", &NoPlants ); // How many tables to read in
124  ist >> NoPlants;
125  m_growth.resize( NoPlants );
126  m_num_crops = NoPlants;
127 
128  m_final_ddeg.resize(NoPlants);
129  for(int i=0; i<m_num_crops; i++){
130  m_final_ddeg.at(i).resize(5);
131  for(int j= 0; j<5; j++){
132  m_final_ddeg.at(i).at(j).resize(3);
133  }
134  }
135  return NoPlants;
136 }

References m_final_ddeg, m_growth, m_num_crops, and m_numbers.

Referenced by PlantGrowthData().

◆ FindDiff()

double PlantGrowthData::FindDiff ( double  a_ddegs,
double  a_yddegs,
int  a_plant,
int  a_phase,
int  a_type 
)
private
47 {
48  // Check for valid plant number at runtime?
49  // This is broken for growth curves where one can risk passing
50  // more than a single inflection point in the growth curve in a
51  // single day...
52 
53  int index = m_numbers[ a_plant ];
54  unsigned int oldindex=0, newindex=0;
55 
56  if ( m_growth[ index ]->m_dds[ a_phase ][ 0 ] == 99999 ) {
57  return 0.0;
58  }
59 
60  for ( unsigned int i=0; i<MaxNoInflections; i++ ) {
61  // In other words: If the current value for summed day degrees
62  // is smaller than the X position of the *next* inflection
63  // point, then we are in the correct interval.
64  if ( m_growth[ index ]->m_dds[ a_phase ][ i+1 ] > a_ddegs ) {
65  newindex = i;
66  break;
67  // return m_growth[ index ]->m_slopes[ a_phase ][ a_type ][i];
68  }
69  }
70 
71  for ( unsigned int i=0; i<MaxNoInflections; i++ ) {
72  if ( m_growth[ index ]->m_dds[ a_phase ][ i+1 ] > a_yddegs ) {
73  oldindex = i;
74  break;
75  // return m_growth[ index ]->m_slopes[ a_phase ][ a_type ][i];
76  }
77  }
78 
79  double diff;
80 
81  if ( newindex > oldindex ) {
82  // We have passed an inflection point between today and yesterday.
83  // First add the increment from yesterdays day degree sum up to
84  // the inflection point.
85  double dddif =
86  m_growth[ index ]->m_dds[ a_phase ][ newindex ] - a_yddegs;
87  diff =
88  m_growth[ index ]->m_slopes[ a_phase ][ a_type ][oldindex]*
89  dddif;
90 
91  // Then from the inflection point up to today.
92  dddif = a_ddegs -
93  m_growth[ index ]->m_dds[ a_phase ][ newindex ];
94  diff +=
95  m_growth[ index ]->m_slopes[ a_phase ][ a_type ][ newindex ]*
96  dddif;
97  } else {
98  // No inflection point passed.
99  diff = m_growth[ index ]->m_slopes[ a_phase ][ a_type ][ newindex ] *
100  (a_ddegs - a_yddegs);
101  }
102  return diff;
103 }

References m_growth, m_numbers, and MaxNoInflections.

◆ GetBugPercentA()

double PlantGrowthData::GetBugPercentA ( TTypesOfVegetation  a_letype)
inline
166  {
167  return m_bug_percent_a[ a_letype ];
168  }

◆ GetBugPercentB()

double PlantGrowthData::GetBugPercentB ( TTypesOfVegetation  a_letype)
inline
171  {
172  return m_bug_percent_b[ a_letype ];
173  }

◆ GetBugPercentC()

double PlantGrowthData::GetBugPercentC ( TTypesOfVegetation  a_letype)
inline
176  {
177  return m_bug_percent_c[ a_letype ];
178  }

◆ GetBugPercentD()

double PlantGrowthData::GetBugPercentD ( TTypesOfVegetation  a_letype)
inline
181  {
182  return (double) m_bug_percent_d[ a_letype ];
183  }

◆ GetHeightDiff()

double PlantGrowthData::GetHeightDiff ( double  a_ddegs,
double  a_yddegs,
int  a_plant,
int  a_phase 
)
inline

Get the differential in veg height for the day degrees experienced.

125  {
126  return FindDiff(a_ddegs, a_yddegs, a_plant, a_phase, 2);
127  }

Referenced by VegElement::ForceGrowthSpringTest().

◆ GetHeightDiffScaled()

double PlantGrowthData::GetHeightDiffScaled ( double  a_ddegs,
double  a_yddegs,
int  a_plant,
int  a_phase,
double  a_scaler 
)
inline

Get the differential in veg height for the day degrees experienced, scalable depending on plant growth ability.

140 { return a_scaler* GetHeightDiff(a_ddegs, a_yddegs, a_plant, a_phase); }

Referenced by VegElement::DoDevelopment().

◆ GetLAgreenDiff()

double PlantGrowthData::GetLAgreenDiff ( double  a_ddegs,
double  a_yddegs,
int  a_plant,
int  a_phase 
)
inline

Get the differential in LA green for the day degrees experienced.

106  {
107  return FindDiff(a_ddegs, a_yddegs, a_plant, a_phase, 0);
108  }

Referenced by VegElement::ForceGrowthSpringTest().

◆ GetLAgreenDiffScaled()

double PlantGrowthData::GetLAgreenDiffScaled ( double  a_ddegs,
double  a_yddegs,
int  a_plant,
int  a_phase,
double  a_scaler 
)
inline

Get the differential in LA green for the day degrees experienced, scalable depending on plant growth ability.

136 { return a_scaler* GetLAgreenDiff(a_ddegs, a_yddegs, a_plant, a_phase); }

Referenced by VegElement::DoDevelopment().

◆ GetLAtotalDiff()

double PlantGrowthData::GetLAtotalDiff ( double  a_ddegs,
double  a_yddegs,
int  a_plant,
int  a_phase 
)
inline

Get the differential in LA total for the day degrees experienced.

116  {
117  return FindDiff(a_ddegs, a_yddegs, a_plant, a_phase, 1);
118  }

Referenced by VegElement::DoDevelopment(), and VegElement::ForceGrowthSpringTest().

◆ GetLAtotalDiffScaled()

double PlantGrowthData::GetLAtotalDiffScaled ( double  a_ddegs,
double  a_yddegs,
int  a_plant,
int  a_phase,
double  a_scaler 
)
inline

Get the differential in LA total for the day degrees experienced, scalable depending on plant growth ability.

138 { return a_scaler* GetLAtotalDiff(a_ddegs, a_yddegs, a_plant, a_phase); }

Referenced by VegElement::DoDevelopment().

◆ GetMaxDdegHeight()

double PlantGrowthData::GetMaxDdegHeight ( int  a_plant,
int  a_phase 
)
inline

Get the final positive growing day degrees based on veg height.

129  {
130  int index = m_numbers[ a_plant ];
131  return m_final_ddeg.at(index).at(a_phase).at(2);
132  }

◆ GetMaxDdegLAgreen()

double PlantGrowthData::GetMaxDdegLAgreen ( int  a_plant,
int  a_phase 
)
inline

Get the final positive growing day degrees based on LA green.

111  {
112  int index = m_numbers[ a_plant ];
113  return m_final_ddeg.at(index).at(a_phase).at(0);
114  }

◆ GetMaxDdegLAtotal()

double PlantGrowthData::GetMaxDdegLAtotal ( int  a_plant,
int  a_phase 
)
inline

Get the final positive growing day degrees based on LA total.

120  {
121  int index = m_numbers[ a_plant ];
122  return m_final_ddeg.at(index).at(a_phase).at(1);
123  }

◆ GetNumCrops()

int PlantGrowthData::GetNumCrops ( )
inline
150  {
151  return m_num_crops;
152  }

Referenced by CropRotation::GetFirstCrop().

◆ GetNutStatus()

bool PlantGrowthData::GetNutStatus ( int  a_plant_num)
inline
185  {
186  return m_growth[ a_plant_num ]->m_lownut;
187  }

Referenced by CropRotation::GetFirstCrop().

◆ GetNutStatusExt()

bool PlantGrowthData::GetNutStatusExt ( int  a_plant)
inline
189  {
190  return m_growth[ m_numbers[ a_plant ]]->m_lownut;
191  }

◆ GetStartValue()

double PlantGrowthData::GetStartValue ( int  a_veg_type,
int  a_phase,
int  a_type 
)
inline
142  {
143  return m_growth[m_numbers[a_veg_type]]->m_start[a_phase][a_type];
144  }

Referenced by VegElement::ForceGrowthInitialiseForFirstYearCrop(), VegElement::ForceGrowthInitialize(), and VegElement::SetGrowthPhase().

◆ GetWeedPercent()

double PlantGrowthData::GetWeedPercent ( TTypesOfVegetation  a_letype)
inline
161  {
162  return m_weed_percent[ a_letype ];
163  }

◆ MakeBugPercentArray()

void PlantGrowthData::MakeBugPercentArray ( void  )
private

◆ ReadBugPercentageFile()

void PlantGrowthData::ReadBugPercentageFile ( void  )
private

◆ SetVegNum()

void PlantGrowthData::SetVegNum ( unsigned int  a_i,
ifstream &  ist,
const char *  a_cropcurvefile 
)
private
141 {
142  int ThisPlant;
143 
144  // Find out what crop and what nutrient status
145  //fscanf( m_ifile, "%d", &ThisPlant);
146 
147  ist >> ThisPlant;
148  // Check if valid plant number (from the file).
149  if ( ThisPlant < 0 || ThisPlant > 200 ) {
150  g_msg->Warn(WARN_FILE, "PlantGrowthData::FindCropNum(): Illegal plant number"
151  " specified in", a_cropcurvefile );
152  exit(1);
153  }
154 
155  m_numbers[ ThisPlant ] = a_i;
156 
157  // if greater than 100 then it is low nutrient
158  if ( ThisPlant > 100 ) {
159  m_growth[ a_i ]->m_lownut = true;
160  } else {
161  m_growth[ a_i ]->m_lownut = false;
162  }
163 }

References g_msg, m_growth, m_numbers, MapErrorMsg::Warn(), and WARN_FILE.

Referenced by PlantGrowthData().

◆ StartValid()

bool PlantGrowthData::StartValid ( int  a_veg_type,
int  a_phase 
)
835 {
836  int a=m_numbers[ a_veg_type ];
837  CropGrowth* p=m_growth[a];
838  return p-> m_start_valid[ a_phase ];
839 }

References m_growth, and m_numbers.

Referenced by VegElement::ForceGrowthInitialize(), and VegElement::SetGrowthPhase().

◆ VegTypeToCurveNum()

int PlantGrowthData::VegTypeToCurveNum ( TTypesOfVegetation  VegReference)
283 {
284  char error_num[20];
285 
286  switch (VegReference)
287  {
289  case tov_SpringBarley:
290  case tov_SpringBarleySpr:
297  case tov_PLSpringBarley:
299  case tov_NLSpringBarley:
301  case tov_UKSpringBarley:
302  case tov_DESpringRye:
303  case tov_DESpringBarley:
304  case tov_DKSpringBarley:
309  case tov_SESpringBarley:
312  case tov_FRSpringBarley:
313  case tov_IRSpringBarley:
314  return 1; // Conv. spring barley
315 
317  case tov_OSpringBarley:
319  case tov_DKOSpringBarley:
324  case tov_DEOSpringRye:
325  return 101; // Org. spring barley
326 
327  case tov_WinterBarley:
329  case tov_PLWinterBarley:
330  case tov_UKWinterBarley:
331  case tov_BEWinterBarley:
333  case tov_PTWinterBarley:
334  case tov_DEWinterBarley:
335  case tov_DKWinterBarley:
336  case tov_IRWinterBarley:
337  case tov_FRWinterBarley:
338  return 2; // Conv. winter barley
339 
340  case tov_OWinterBarley:
342  case tov_DEOWinterBarley:
343  case tov_DKOWinterBarley:
344  return 102; // Org. winter barley
345 
346  case tov_IRSpringWheat:
347  case tov_DKSpringWheat:
348  case tov_FRSpringWheat:
349  case tov_FISpringWheat:
350  case tov_PLSpringWheat:
351  return 3; // Conv. spring wheat
352 
353  case tov_DKOSpringWheat:
354  case tov_FIOSpringWheat:
355  return 103; // Org. spring wheat
356 
357  case tov_WinterWheat:
363  case tov_WWheatPControl:
366  case tov_PLWinterWheat:
368  case tov_DummyCropPestTesting: // just for testing of spraying distribution
369  case tov_NLWinterWheat:
370  case tov_DKWinterWheat:
372  case tov_FIWinterWheat:
373  case tov_SEWinterWheat:
374  case tov_FRWinterWheat:
375  case tov_UKWinterWheat:
376  case tov_BEWinterWheat:
377  case tov_BEWinterWheatCC:
378  case tov_PTWinterWheat:
379  case tov_DEWinterWheat:
380  case tov_DEWinterWheatLate:
381  case tov_IRWinterWheat:
382  return 4; // Conv. winter wheat
383 
384  case tov_OWinterWheat:
386  case tov_DEOWinterWheat:
387  case tov_DKOWinterWheat:
389  case tov_FIOWinterWheat:
390  return 104; // Org. winter wheat
391 
392  case tov_WinterRye:
394  case tov_PLWinterRye:
395  case tov_FIWinterRye:
396  case tov_DKWinterRye:
397  case tov_DKWinterRye_CC:
398  case tov_PTWinterRye:
399  case tov_DEWinterRye:
400  return 5; // Conv. winter rye
401 
402  case tov_OWinterRye:
403  case tov_DKOWinterRye_CC:
404  case tov_FIOWinterRye:
405  case tov_DEOWinterRye:
406  case tov_DKOWinterRye:
407  return 105; // Org. winter Rye
408 
409  case tov_Oats:
410  case tov_NorwegianOats:
411  case tov_DEOats:
412  case tov_PTOats:
413  case tov_FISpringOats:
414  case tov_DKSpringOats:
415  case tov_DKSpringOats_CC:
416  case tov_IRSpringOats:
417  case tov_IRWinterOats:
418  return 6; // Conv. oats
419 
420  case tov_OOats:
421  case tov_FIOSpringOats:
422  case tov_DEOOats:
423  case tov_DKOSpringOats:
425  return 106; // Org. oats
426 
427  case tov_Maize:
428  case tov_MaizeSilage:
429  case tov_MaizeStrigling:
430  case tov_PLMaize:
431  case tov_PLMaizeSilage:
432  case tov_NLMaize:
433  case tov_NLMaizeSpring:
434  case tov_UKMaize:
435  case tov_BEMaize:
436  case tov_BEMaizeCC:
437  case tov_BEMaizeSpring:
438  case tov_PTSorghum:
439  case tov_DEMaize:
440  case tov_DEMaizeSilage:
441  case tov_PTMaize:
442  case tov_PTMaize_Hort:
443  case tov_DKMaize:
444  case tov_DKMaizeSilage:
445  case tov_FRMaize:
446  case tov_FRMaize_Silage:
447  case tov_FRSorghum:
448  case tov_FRSunflower:
449  return 8; // Conv. maize
450 
451  case tov_OMaizeSilage:
452  case tov_DEOMaize:
453  case tov_DEOMaizeSilage:
454  case tov_DKOMaize:
455  case tov_DKOMaizeSilage:
456  return 108; // Org. maize
457 
462  case tov_DKCerealLegume:
465  return 13; // Conv. spring barley, undersown
466 
468  case tov_OSBarleySilage:
471  case tov_DKOCerealLegume:
474  return 113; // Org. spring barley, undersown
475 
476  case tov_WinterRape:
478  case tov_PLWinterRape:
480  case tov_FRWinterRape:
481  case tov_DKWinterRape:
482  case tov_DEWinterRape:
483  case tov_UKWinterRape:
484  return 22; // Conv. winter rape
485 
486  case tov_OWinterRape:
487  case tov_DEOWinterRape:
488  case tov_DKOWinterRape:
489  return 122; // Org. winter rape
490 
498  return 25; // Permanent grass grazed, low yield
499 
515  return 26; // Permanent grass grazed
516 
517  case tov_SeedGrass1:
518  case tov_SeedGrass2:
519  case tov_OSeedGrass1:
520  case tov_OSeedGrass2:
521  case tov_FICaraway1:
522  case tov_FICaraway2:
523  case tov_FIOCaraway1:
524  case tov_FIOCaraway2:
526  case tov_DKOVegSeeds:
529  case tov_DKVegSeeds:
530  return 27; // seed grass
531 
532  case tov_FodderGrass:
537  case tov_OGrazingPigs:
538  case tov_PLFodderLucerne1:
539  case tov_PLFodderLucerne2:
540  case tov_UKTempGrass:
555  case tov_DKGrazingPigs:
556  case tov_DKOGrazingPigs:
557  return 29; // Clover grass grazed
558 
565  return 65; // Conv. grass for silage
566 
569  return 165; // Org. grass for silage
570 
571  case tov_NLGrassGrazed1:
575  case tov_NLGrassGrazed2:
579  case tov_BEGrassGrazed1:
581  case tov_BEGrassGrazed2:
583  case tov_PTGrassGrazed:
584  case tov_PTFodderMix:
585  case tov_PTRyegrass:
586  case tov_FIFeedingGround:
590  case tov_FRGrassland:
591  case tov_ITGrassland:
594  return 70; // Grass grazed
595 
596  case tov_OFieldPeas:
598  case tov_FieldPeas:
600  case tov_FieldPeasSilage:
601  case tov_BroadBeans:
602  case tov_PLBeans:
603  case tov_UKBeans:
604  case tov_NLCatchCropPea:
605  case tov_DKCatchCrop:
606  case tov_DKOCatchCrop:
607  case tov_BECatchPeaCrop:
608  case tov_PTYellowLupin:
609  case tov_PTOtherDryBeans:
610  case tov_PTBeans:
611  case tov_PTHorticulture:
612  case tov_DELegumes:
613  case tov_DEOLegume:
614  case tov_DKOLegume_Peas:
615  case tov_DKOLegume_Beans:
616  case tov_DKOLegume_Whole:
617  case tov_DKOLegume_Peas_CC:
621  case tov_DKLegume_Whole:
622  case tov_DKLegume_Peas:
623  case tov_DKLegume_Beans:
624  case tov_DKOLupines:
625  case tov_DKOLentils:
626  case tov_FIFabaBean:
627  case tov_FIOFabaBean:
628  case tov_DEPeas:
629  case tov_DEOPeas:
630  return 30; // Conv. peas
631 
632  case tov_Carrots:
633  case tov_PLCarrots:
634  case tov_DECarrots:
635  case tov_NLCarrots:
636  case tov_NLCabbage:
637  case tov_DECabbage:
638  case tov_NLCarrotsSpring:
639  case tov_NLCabbageSpring:
640  case tov_DKCabbages:
641  case tov_DKCarrots:
642  case tov_DKMixedVeg:
643  case tov_PTTurnipGrazed:
647  case tov_PTCabbage:
648  case tov_PTCabbage_Hort:
649  return 41; // Conv. carrots
650 
651  case tov_OCarrots:
652  case tov_DEOCarrots:
653  case tov_DEOCabbages:
654  case tov_DKOCabbages:
655  case tov_DKOCarrots:
656  case tov_DKOMixedVeg:
659  case tov_DEOAsparagusEstablishedPlantation: //Needs to be changed later
660  return 141; // Org. carrots
661 
662  case tov_Potatoes:
664  case tov_PLPotatoes:
666  case tov_NLPotatoes:
670  case tov_FIPotato_North:
671  case tov_FIPotato_South:
674  case tov_DKPotato:
676  case tov_DKPotatoSeed:
677  case tov_UKPotatoes:
678  case tov_BEPotatoes:
680  case tov_DEPotatoes:
682  case tov_PTPotatoes:
683  case tov_FRPotatoes:
684  return 50; // Conv. potato
685 
686  case tov_FIOPotato_North:
687  case tov_FIOPotato_South:
690  case tov_OPotatoes:
693  case tov_DEOPotatoes:
694  case tov_DKOPotato:
696  case tov_DKOPotatoSeed:
697  return 150; // Org. potato
698 
699  case tov_SugarBeet:
700  case tov_FodderBeet:
701  case tov_PLBeet:
702  case tov_PLBeetSpr:
703  case tov_NLBeet:
704  case tov_NLBeetSpring:
705  case tov_DESugarBeet:
706  case tov_UKBeet:
707  case tov_BEBeet:
708  case tov_BEBeetSpring:
709  case tov_DKSugarBeets:
710  case tov_DKFodderBeets:
711  case tov_FISugarBeet:
712  return 60; // Conv. beet
713 
714  case tov_OFodderBeet:
715  case tov_DEOSugarBeet:
716  case tov_DKOSugarBeets:
717  case tov_DKOFodderBeets:
718  return 160; // Org. beet
719 
720  // Special growth mode for green but unused elements.
721  // tov_PermanentSetAside Does not change growth phase no matter
722  // how hard one tries to do just that.
723  case tov_PermanentSetAside:
724  return 92; // Permanent setaside
725 
726  case tov_Heath:
727  case tov_SetAside:
728  case tov_PTSetAside:
729  case tov_OSetAside:
730  case tov_DKOSetAside:
731  case tov_DKSetAside:
739  return 112; // Setaside
740 
741  case tov_YoungForest:
742  case tov_NaturalGrass:
743  case tov_FlowerStrip1:
744  case tov_FlowerStrip2:
745  case tov_FlowerStrip3:
746  case tov_Wasteland:
747  case tov_WaterBufferZone:
752  case tov_PTShrubPastures: //Needs to be changed later @AAS
753  case tov_PTCorkOak:
754  case tov_PTVineyards:
755  case tov_FIBufferZone:
759  case tov_OrchardCrop:
760  case tov_NLOrchardCrop:
761  case tov_BEOrchardCrop:
776  case tov_ITOrchard:
777  case tov_ITOOrchard:
778  case tov_DKOrchApple:
779  case tov_DKOrchPear:
780  case tov_DKOrchCherry:
781  case tov_DKOrchOther:
782  case tov_DKOOrchApple:
783  case tov_DKOOrchPear:
784  case tov_DKOOrchCherry:
785  case tov_DKOOrchOther:
786  case tov_DEOrchard:
787  case tov_DEOOrchard:
788  case tov_DEBushFruitPerm:
790  return 90; // Natural grass
791 
792  case tov_NoGrowth:
793  case tov_PlantNursery:
796  return 91; // No growth
797 
798  case tov_Lawn:
799  return 94; // Lawn
800 
801  case tov_Triticale:
802  case tov_PLWinterTriticale:
803  case tov_PTTriticale:
804  case tov_DETriticale:
806  return 7; // Conv. triticale
807 
808  case tov_OTriticale:
809  case tov_DEOTriticale:
810  return 107; // Org. triticale
811 
812  case tov_FITurnipRape:
813  case tov_FISpringRape:
814  case tov_SpringRape:
815  return 21; // Conv. spring rape
816 
817  case tov_FIOTurnipRape:
818  case tov_FIOSpringRape:
819  return 121; // Org. spring rape
820 
821  case tov_NLTulips:
822  return 80; // Tulips
823 
824  default: // No matching code so we need an error message of some kind
825  sprintf( error_num, "%d", VegReference );
826  g_msg->Warn( WARN_FILE,
827  "PlantGrowthData::VegTypeToCurveNum(): Unknown vegetation type:",
828  error_num );
829  exit( 1 );
830  }
831 }

References g_msg, tov_AgroChemIndustryCereal, tov_BEBeet, tov_BEBeetSpring, tov_BECatchPeaCrop, tov_BEGrassGrazed1, tov_BEGrassGrazed1Spring, tov_BEGrassGrazed2, tov_BEGrassGrazedLast, tov_BEMaize, tov_BEMaizeCC, tov_BEMaizeSpring, tov_BEOrchardCrop, tov_BEPotatoes, tov_BEPotatoesSpring, tov_BEWinterBarley, tov_BEWinterBarleyCC, tov_BEWinterWheat, tov_BEWinterWheatCC, tov_BroadBeans, tov_Carrots, tov_CloverGrassGrazed1, tov_CloverGrassGrazed2, tov_DEAsparagusEstablishedPlantation, tov_DEBushFruitPerm, tov_DECabbage, tov_DECarrots, tov_DEGrasslandSilageAnnual, tov_DEGreenFallow_1year, tov_DEHerbsPerennial_1year, tov_DEHerbsPerennial_after1year, tov_DELegumes, tov_DEMaize, tov_DEMaizeSilage, tov_DEOAsparagusEstablishedPlantation, tov_DEOats, tov_DEOBushFruitPerm, tov_DEOCabbages, tov_DEOCarrots, tov_DEOGrasslandSilageAnnual, tov_DEOGreenFallow_1year, tov_DEOHerbsPerennial_1year, tov_DEOHerbsPerennial_after1year, tov_DEOLegume, tov_DEOMaize, tov_DEOMaizeSilage, tov_DEOOats, tov_DEOOrchard, tov_DEOPeas, tov_DEOPermanentGrassGrazed, tov_DEOPermanentGrassLowYield, tov_DEOPotatoes, tov_DEOrchard, tov_DEOSpringRye, tov_DEOSugarBeet, tov_DEOTriticale, tov_DEOWinterBarley, tov_DEOWinterRape, tov_DEOWinterRye, tov_DEOWinterWheat, tov_DEPeas, tov_DEPermanentGrassGrazed, tov_DEPermanentGrassLowYield, tov_DEPotatoes, tov_DEPotatoesIndustry, tov_DESpringBarley, tov_DESpringRye, tov_DESugarBeet, tov_DETriticale, tov_DEWinterBarley, tov_DEWinterRape, tov_DEWinterRye, tov_DEWinterWheat, tov_DEWinterWheatLate, tov_DKBushFruit_Perm1, tov_DKBushFruit_Perm2, tov_DKCabbages, tov_DKCarrots, tov_DKCatchCrop, tov_DKCerealLegume, tov_DKCerealLegume_Whole, tov_DKChristmasTrees_Perm, tov_DKCloverGrassGrazed1, tov_DKCloverGrassGrazed2, tov_DKCloverGrassGrazed3, tov_DKEnergyCrop_Perm, tov_DKFarmForest_Perm, tov_DKFarmYoungForest_Perm, tov_DKFodderBeets, tov_DKGrassGrazed_Perm, tov_DKGrassLowYield_Perm, tov_DKGrassTussocky_Perm, tov_DKGrazingPigs, tov_DKGrazingPigs_Perm, tov_DKLegume_Beans, tov_DKLegume_Peas, tov_DKLegume_Whole, tov_DKMaize, tov_DKMaizeSilage, tov_DKMixedVeg, tov_DKOBushFruit_Perm1, tov_DKOBushFruit_Perm2, tov_DKOCabbages, tov_DKOCarrots, tov_DKOCatchCrop, tov_DKOCerealLegume, tov_DKOCerealLegume_Whole, tov_DKOChristmasTrees_Perm, tov_DKOCloverGrassGrazed1, tov_DKOCloverGrassGrazed2, tov_DKOCloverGrassGrazed3, tov_DKOEnergyCrop_Perm, tov_DKOFarmForest_Perm, tov_DKOFarmYoungForest_Perm, tov_DKOFodderBeets, tov_DKOGrassGrazed_Perm, tov_DKOGrassLowYield_Perm, tov_DKOGrazingPigs, tov_DKOGrazingPigs_Perm, tov_DKOLegume_Beans, tov_DKOLegume_Beans_CC, tov_DKOLegume_Peas, tov_DKOLegume_Peas_CC, tov_DKOLegume_Whole, tov_DKOLegume_Whole_CC, tov_DKOLegumeCloverGrass_Whole, tov_DKOLentils, tov_DKOLupines, tov_DKOMaize, tov_DKOMaizeSilage, tov_DKOMixedVeg, tov_DKOOrchApple, tov_DKOOrchardCrop_Perm, tov_DKOOrchCherry, tov_DKOOrchOther, tov_DKOOrchPear, tov_DKOPotato, tov_DKOPotatoIndustry, tov_DKOPotatoSeed, tov_DKOptimalFlowerMix1, tov_DKOptimalFlowerMix2, tov_DKOptimalFlowerMix3, tov_DKOrchApple, tov_DKOrchardCrop_Perm, tov_DKOrchCherry, tov_DKOrchOther, tov_DKOrchPear, tov_DKOSeedGrassRye_Spring, tov_DKOSetAside, tov_DKOSetAside_AnnualFlower, tov_DKOSetAside_PerennialFlower, tov_DKOSetAside_SummerMow, tov_DKOSpringBarley, tov_DKOSpringBarley_CC, tov_DKOSpringBarleyCloverGrass, tov_DKOSpringBarleySilage, tov_DKOSpringFodderGrass, tov_DKOSpringOats, tov_DKOSpringOats_CC, tov_DKOSpringWheat, tov_DKOSugarBeets, tov_DKOVegSeeds, tov_DKOWinterBarley, tov_DKOWinterCloverGrassGrazedSown, tov_DKOWinterFodderGrass, tov_DKOWinterRape, tov_DKOWinterRye, tov_DKOWinterRye_CC, tov_DKOWinterWheat, tov_DKOWinterWheat_CC, tov_DKPlantNursery_Perm, tov_DKPotato, tov_DKPotatoIndustry, tov_DKPotatoSeed, tov_DKSeedGrassFescue_Spring, tov_DKSeedGrassRye_Spring, tov_DKSetAside, tov_DKSetAside_SummerMow, tov_DKSpringBarley, tov_DKSpringBarley_CC, tov_DKSpringBarley_Green, tov_DKSpringBarleyCloverGrass, tov_DKSpringBarleySilage, tov_DKSpringFodderGrass, tov_DKSpringOats, tov_DKSpringOats_CC, tov_DKSpringWheat, tov_DKSugarBeets, tov_DKVegSeeds, tov_DKWinterBarley, tov_DKWinterCloverGrassGrazedSown, tov_DKWinterFodderGrass, tov_DKWinterRape, tov_DKWinterRye, tov_DKWinterRye_CC, tov_DKWinterWheat, tov_DKWinterWheat_CC, tov_DummyCropPestTesting, tov_FIBufferZone, tov_FIBufferZone_Perm, tov_FICaraway1, tov_FICaraway2, tov_FieldPeas, tov_FieldPeasSilage, tov_FieldPeasStrigling, tov_FIFabaBean, tov_FIFeedingGround, tov_FIGrasslandPasturePerennial1, tov_FIGrasslandPasturePerennial2, tov_FIGrasslandSilageAnnual, tov_FIGrasslandSilagePerennial1, tov_FIGrasslandSilagePerennial2, tov_FIGreenFallow_1year, tov_FIGreenFallow_Perm, tov_FINaturalGrassland, tov_FINaturalGrassland_Perm, tov_FIOCaraway1, tov_FIOCaraway2, tov_FIOFabaBean, tov_FIOPotato_North, tov_FIOPotato_South, tov_FIOPotatoIndustry_North, tov_FIOPotatoIndustry_South, tov_FIOSpringBarley_Fodder, tov_FIOSpringBarley_Malt, tov_FIOSpringOats, tov_FIOSpringRape, tov_FIOSpringWheat, tov_FIOStarchPotato_North, tov_FIOStarchPotato_South, tov_FIOTurnipRape, tov_FIOWinterRye, tov_FIOWinterWheat, tov_FIPotato_North, tov_FIPotato_South, tov_FIPotatoIndustry_North, tov_FIPotatoIndustry_South, tov_FISpringBarley_Fodder, tov_FISpringBarley_Malt, tov_FISpringOats, tov_FISpringRape, tov_FISpringWheat, tov_FISprSpringBarley_Fodder, tov_FIStarchPotato_North, tov_FIStarchPotato_South, tov_FISugarBeet, tov_FITurnipRape, tov_FIWinterRye, tov_FIWinterWheat, tov_FlowerStrip1, tov_FlowerStrip2, tov_FlowerStrip3, tov_FodderBeet, tov_FodderGrass, tov_FRGrassland, tov_FRGrassland_Perm, tov_FRMaize, tov_FRMaize_Silage, tov_FRPotatoes, tov_FRSorghum, tov_FRSpringBarley, tov_FRSpringWheat, tov_FRSunflower, tov_FRWinterBarley, tov_FRWinterRape, tov_FRWinterTriticale, tov_FRWinterWheat, tov_GenericCatchCrop, tov_Heath, tov_IRGrassland_no_reseed, tov_IRGrassland_reseed, tov_IRSpringBarley, tov_IRSpringOats, tov_IRSpringWheat, tov_IRWinterBarley, tov_IRWinterOats, tov_IRWinterWheat, tov_ITGrassland, tov_ITOOrchard, tov_ITOrchard, tov_Lawn, tov_Maize, tov_MaizeSilage, tov_MaizeStrigling, tov_NaturalGrass, tov_NLBeet, tov_NLBeetSpring, tov_NLCabbage, tov_NLCabbageSpring, tov_NLCarrots, tov_NLCarrotsSpring, tov_NLCatchCropPea, tov_NLGrassGrazed1, tov_NLGrassGrazed1Spring, tov_NLGrassGrazed2, tov_NLGrassGrazedExtensive1, tov_NLGrassGrazedExtensive1Spring, tov_NLGrassGrazedExtensive2, tov_NLGrassGrazedExtensiveLast, tov_NLGrassGrazedLast, tov_NLMaize, tov_NLMaizeSpring, tov_NLOrchardCrop, tov_NLPermanentGrassGrazed, tov_NLPermanentGrassGrazedExtensive, tov_NLPotatoes, tov_NLPotatoesSpring, tov_NLSpringBarley, tov_NLSpringBarleySpring, tov_NLTulips, tov_NLWinterWheat, tov_NoGrowth, tov_NorwegianOats, tov_NorwegianPotatoes, tov_NorwegianSpringBarley, tov_Oats, tov_OBarleyPeaCloverGrass, tov_OCarrots, tov_OCloverGrassGrazed1, tov_OCloverGrassGrazed2, tov_OCloverGrassSilage1, tov_OFieldPeas, tov_OFieldPeasSilage, tov_OFodderBeet, tov_OGrazingPigs, tov_OMaizeSilage, tov_OOats, tov_OPermanentGrassGrazed, tov_OPotatoes, tov_OrchardCrop, tov_OSBarleySilage, tov_OSeedGrass1, tov_OSeedGrass2, tov_OSetAside, tov_OSpringBarley, tov_OSpringBarleyClover, tov_OSpringBarleyExt, tov_OSpringBarleyGrass, tov_OSpringBarleyPigs, tov_OTriticale, tov_OWinterBarley, tov_OWinterBarleyExt, tov_OWinterRape, tov_OWinterRye, tov_OWinterWheat, tov_OWinterWheatUndersown, tov_PermanentGrassGrazed, tov_PermanentGrassLowYield, tov_PermanentGrassTussocky, tov_PermanentSetAside, tov_PlantNursery, tov_PLBeans, tov_PLBeet, tov_PLBeetSpr, tov_PLCarrots, tov_PLFodderLucerne1, tov_PLFodderLucerne2, tov_PLMaize, tov_PLMaizeSilage, tov_PLPotatoes, tov_PLSpringBarley, tov_PLSpringBarleySpr, tov_PLSpringWheat, tov_PLWinterBarley, tov_PLWinterRape, tov_PLWinterRye, tov_PLWinterTriticale, tov_PLWinterWheat, tov_PLWinterWheatLate, tov_Potatoes, tov_PotatoesIndustry, tov_PTBeans, tov_PTCabbage, tov_PTCabbage_Hort, tov_PTCloverGrassGrazed1, tov_PTCloverGrassGrazed2, tov_PTCorkOak, tov_PTFodderMix, tov_PTGrassGrazed, tov_PTHorticulture, tov_PTMaize, tov_PTMaize_Hort, tov_PTOats, tov_PTOliveGroveIntensive, tov_PTOliveGroveSuperIntensive, tov_PTOliveGroveTraditional, tov_PTOliveGroveTradOrganic, tov_PTOtherDryBeans, tov_PTPermanentGrassGrazed, tov_PTPotatoes, tov_PTRyegrass, tov_PTSetAside, tov_PTShrubPastures, tov_PTSorghum, tov_PTTriticale, tov_PTTurnipGrazed, tov_PTVineyards, tov_PTWinterBarley, tov_PTWinterRye, tov_PTWinterWheat, tov_PTYellowLupin, tov_SeedGrass1, tov_SeedGrass2, tov_SESpringBarley, tov_SetAside, tov_SEWinterRape_Seed, tov_SEWinterWheat, tov_SpringBarley, tov_SpringBarleyCloverGrass, tov_SpringBarleyCloverGrassStrigling, tov_SpringBarleyPeaCloverGrassStrigling, tov_SpringBarleyPTreatment, tov_SpringBarleySeed, tov_SpringBarleySilage, tov_SpringBarleySKManagement, tov_SpringBarleySpr, tov_SpringBarleyStrigling, tov_SpringBarleyStriglingCulm, tov_SpringBarleyStriglingSingle, tov_SpringRape, tov_SugarBeet, tov_Triticale, tov_UKBeans, tov_UKBeet, tov_UKMaize, tov_UKPermanentGrass, tov_UKPotatoes, tov_UKSpringBarley, tov_UKTempGrass, tov_UKWinterBarley, tov_UKWinterRape, tov_UKWinterWheat, tov_Wasteland, tov_WaterBufferZone, tov_WinterBarley, tov_WinterBarleyStrigling, tov_WinterRape, tov_WinterRapeStrigling, tov_WinterRye, tov_WinterRyeStrigling, tov_WinterWheat, tov_WinterWheatShort, tov_WinterWheatStrigling, tov_WinterWheatStriglingCulm, tov_WinterWheatStriglingSingle, tov_WWheatPControl, tov_WWheatPToxicControl, tov_WWheatPTreatment, tov_YoungForest, MapErrorMsg::Warn(), and WARN_FILE.

Referenced by FieldBoundary::FieldBoundary(), FlowerStrip::FlowerStrip(), FlowerStrip::SetSubType(), FlowerStripWithRotation::SetSubType(), VegElement::SetVegType(), and VegElement::VegElement().

Member Data Documentation

◆ m_bug_percent_a

double* PlantGrowthData::m_bug_percent_a
private

◆ m_bug_percent_b

double* PlantGrowthData::m_bug_percent_b
private

◆ m_bug_percent_c

double* PlantGrowthData::m_bug_percent_c
private

◆ m_bug_percent_d

int* PlantGrowthData::m_bug_percent_d
private

◆ m_final_ddeg

vector<vector<vector<double> > > PlantGrowthData::m_final_ddeg
private

Referenced by FindCropNum(), and PlantGrowthData().

◆ m_growth

vector< CropGrowth * > PlantGrowthData::m_growth
private

◆ m_ifile

ifstream PlantGrowthData::m_ifile
private

◆ m_num_crops

int PlantGrowthData::m_num_crops
private

Referenced by FindCropNum().

◆ m_numbers

vector< int > PlantGrowthData::m_numbers
private

◆ m_weed_percent

double* PlantGrowthData::m_weed_percent
private

The documentation for this class was generated from the following files:
tov_DKOLegume_Beans
Definition: LandscapeFarmingEnums.h:345
tov_SpringBarleySeed
Definition: LandscapeFarmingEnums.h:214
tov_FIWinterWheat
Definition: LandscapeFarmingEnums.h:524
tov_DEOGrasslandSilageAnnual
Definition: LandscapeFarmingEnums.h:482
tov_DKOChristmasTrees_Perm
Definition: LandscapeFarmingEnums.h:447
tov_FIBufferZone
Definition: LandscapeFarmingEnums.h:563
tov_DEOWinterWheat
Definition: LandscapeFarmingEnums.h:497
PlantGrowthData::m_bug_percent_b
double * m_bug_percent_b
Definition: Plants.h:88
tov_WinterWheatStrigling
Definition: LandscapeFarmingEnums.h:221
tov_DKGrazingPigs_Perm
Definition: LandscapeFarmingEnums.h:452
tov_DKOSetAside_AnnualFlower
Definition: LandscapeFarmingEnums.h:394
tov_NorwegianOats
Definition: LandscapeFarmingEnums.h:230
WARN_FILE
Definition: MapErrorMsg.h:37
tov_DKOCerealLegume
Definition: LandscapeFarmingEnums.h:366
tov_DEOSpringRye
Definition: LandscapeFarmingEnums.h:491
tov_DKOLegume_Peas
Definition: LandscapeFarmingEnums.h:344
tov_SpringBarleySKManagement
Definition: LandscapeFarmingEnums.h:227
tov_DKWinterRape
Definition: LandscapeFarmingEnums.h:418
PlantGrowthData::m_bug_percent_a
double * m_bug_percent_a
Definition: Plants.h:87
tov_OCloverGrassGrazed2
Definition: LandscapeFarmingEnums.h:205
tov_DKOptimalFlowerMix3
Definition: LandscapeFarmingEnums.h:438
tov_BEBeetSpring
Definition: LandscapeFarmingEnums.h:290
tov_FRSorghum
Definition: LandscapeFarmingEnums.h:594
tov_PLSpringWheat
Definition: LandscapeFarmingEnums.h:237
tov_PTCabbage_Hort
Definition: LandscapeFarmingEnums.h:331
tov_NLPermanentGrassGrazedExtensive
Definition: LandscapeFarmingEnums.h:272
tov_DEOSugarBeet
Definition: LandscapeFarmingEnums.h:492
tov_IRWinterBarley
Definition: LandscapeFarmingEnums.h:601
tov_DKOCabbages
Definition: LandscapeFarmingEnums.h:352
tov_PTCloverGrassGrazed1
Definition: LandscapeFarmingEnums.h:314
tov_DEOMaizeSilage
Definition: LandscapeFarmingEnums.h:486
tov_DKOSugarBeets
Definition: LandscapeFarmingEnums.h:350
PlantGrowthData::GetLAgreenDiff
double GetLAgreenDiff(double a_ddegs, double a_yddegs, int a_plant, int a_phase)
Get the differential in LA green for the day degrees experienced.
Definition: Plants.h:106
tov_DEOats
Definition: LandscapeFarmingEnums.h:479
tov_DKSpringOats_CC
Definition: LandscapeFarmingEnums.h:429
tov_DKSpringOats
Definition: LandscapeFarmingEnums.h:413
tov_WWheatPToxicControl
Definition: LandscapeFarmingEnums.h:217
tov_PTCloverGrassGrazed2
Definition: LandscapeFarmingEnums.h:315
tov_IRWinterOats
Definition: LandscapeFarmingEnums.h:603
tov_SetAside
Definition: LandscapeFarmingEnums.h:212
tov_DKOWinterRye_CC
Definition: LandscapeFarmingEnums.h:425
tov_PLBeet
Definition: LandscapeFarmingEnums.h:242
tov_DKOWinterFodderGrass
Definition: LandscapeFarmingEnums.h:379
tov_DEOCarrots
Definition: LandscapeFarmingEnums.h:481
tov_FIOPotatoIndustry_South
Definition: LandscapeFarmingEnums.h:546
tov_DKMixedVeg
Definition: LandscapeFarmingEnums.h:384
tov_DKSpringBarley_CC
Definition: LandscapeFarmingEnums.h:431
tov_SpringBarleyStriglingCulm
Definition: LandscapeFarmingEnums.h:224
tov_OCloverGrassSilage1
Definition: LandscapeFarmingEnums.h:205
tov_DKOOrchApple
Definition: LandscapeFarmingEnums.h:466
tov_DEWinterWheatLate
Definition: LandscapeFarmingEnums.h:510
tov_FIPotato_North
Definition: LandscapeFarmingEnums.h:539
tov_FITurnipRape
Definition: LandscapeFarmingEnums.h:533
tov_BEOrchardCrop
Definition: LandscapeFarmingEnums.h:298
tov_IRSpringOats
Definition: LandscapeFarmingEnums.h:598
tov_DKOWinterBarley
Definition: LandscapeFarmingEnums.h:401
tov_PLWinterRape
Definition: LandscapeFarmingEnums.h:233
CfgStr::value
char * value() const
Definition: Configurator.h:182
PlantGrowthData::FindCropNum
unsigned int FindCropNum(ifstream &ist)
Definition: Plants.cpp:105
tov_NLSpringBarley
Definition: LandscapeFarmingEnums.h:255
tov_FlowerStrip2
Definition: LandscapeFarmingEnums.h:199
tov_PTBeans
Definition: LandscapeFarmingEnums.h:322
tov_OMaizeSilage
Definition: LandscapeFarmingEnums.h:227
tov_PTMaize
Definition: LandscapeFarmingEnums.h:326
tov_DKOCloverGrassGrazed1
Definition: LandscapeFarmingEnums.h:374
tov_DEOTriticale
Definition: LandscapeFarmingEnums.h:493
tov_FIOWinterWheat
Definition: LandscapeFarmingEnums.h:525
tov_PTTriticale
Definition: LandscapeFarmingEnums.h:316
tov_PLSpringBarleySpr
Definition: LandscapeFarmingEnums.h:246
tov_WinterWheatStriglingCulm
Definition: LandscapeFarmingEnums.h:224
tov_DKOSetAside
Definition: LandscapeFarmingEnums.h:393
tov_DEOHerbsPerennial_after1year
Definition: LandscapeFarmingEnums.h:516
tov_DKOEnergyCrop_Perm
Definition: LandscapeFarmingEnums.h:449
tov_FIGrasslandPasturePerennial2
Definition: LandscapeFarmingEnums.h:557
tov_IRSpringWheat
Definition: LandscapeFarmingEnums.h:596
tov_BECatchPeaCrop
Definition: LandscapeFarmingEnums.h:291
tov_DKOWinterRape
Definition: LandscapeFarmingEnums.h:402
PlantGrowthData::GetLAtotalDiff
double GetLAtotalDiff(double a_ddegs, double a_yddegs, int a_plant, int a_phase)
Get the differential in LA total for the day degrees experienced.
Definition: Plants.h:116
tov_NLCabbageSpring
Definition: LandscapeFarmingEnums.h:267
tov_DKSpringBarley_Green
Definition: LandscapeFarmingEnums.h:411
tov_PLCarrots
Definition: LandscapeFarmingEnums.h:245
tov_Carrots
Definition: LandscapeFarmingEnums.h:203
tov_PTOliveGroveTradOrganic
Definition: LandscapeFarmingEnums.h:334
tov_BEWinterWheat
Definition: LandscapeFarmingEnums.h:302
tov_WinterRape
Definition: LandscapeFarmingEnums.h:215
tov_OSpringBarleyClover
Definition: LandscapeFarmingEnums.h:208
tov_DEWinterBarley
Definition: LandscapeFarmingEnums.h:507
tov_FIOSpringBarley_Fodder
Definition: LandscapeFarmingEnums.h:555
tov_DKOMaizeSilage
Definition: LandscapeFarmingEnums.h:387
tov_NaturalGrass
Definition: LandscapeFarmingEnums.h:196
tov_DKOSetAside_PerennialFlower
Definition: LandscapeFarmingEnums.h:395
tov_DKOGrassLowYield_Perm
Definition: LandscapeFarmingEnums.h:455
tov_DKSpringFodderGrass
Definition: LandscapeFarmingEnums.h:377
tov_ITGrassland
Definition: LandscapeFarmingEnums.h:606
tov_DKOSpringOats
Definition: LandscapeFarmingEnums.h:398
tov_FISpringBarley_Fodder
Definition: LandscapeFarmingEnums.h:553
tov_DKOLegume_Beans_CC
Definition: LandscapeFarmingEnums.h:426
tov_DEOAsparagusEstablishedPlantation
Definition: LandscapeFarmingEnums.h:512
tov_NLWinterWheat
Definition: LandscapeFarmingEnums.h:256
tov_DKOrchPear
Definition: LandscapeFarmingEnums.h:463
tov_OWinterWheatUndersown
Definition: LandscapeFarmingEnums.h:211
tov_OPermanentGrassGrazed
Definition: LandscapeFarmingEnums.h:206
tov_UKWinterRape
Definition: LandscapeFarmingEnums.h:286
tov_DEGrasslandSilageAnnual
Definition: LandscapeFarmingEnums.h:474
PlantGrowthData::m_bug_percent_d
int * m_bug_percent_d
Definition: Plants.h:90
tov_PTWinterBarley
Definition: LandscapeFarmingEnums.h:321
tov_NLGrassGrazed1Spring
Definition: LandscapeFarmingEnums.h:269
tov_ITOOrchard
Definition: LandscapeFarmingEnums.h:608
tov_DKOPotatoIndustry
Definition: LandscapeFarmingEnums.h:390
tov_DKFarmYoungForest_Perm
Definition: LandscapeFarmingEnums.h:456
tov_DKCloverGrassGrazed2
Definition: LandscapeFarmingEnums.h:371
PlantGrowthData::m_bug_percent_c
double * m_bug_percent_c
Definition: Plants.h:89
tov_DKOptimalFlowerMix2
Definition: LandscapeFarmingEnums.h:437
tov_WinterWheatShort
Definition: LandscapeFarmingEnums.h:218
tov_DKFarmForest_Perm
Definition: LandscapeFarmingEnums.h:450
tov_DKMaize
Definition: LandscapeFarmingEnums.h:382
tov_PTMaize_Hort
Definition: LandscapeFarmingEnums.h:332
tov_DKOGrassGrazed_Perm
Definition: LandscapeFarmingEnums.h:454
tov_DKWinterRye
Definition: LandscapeFarmingEnums.h:419
tov_WinterBarleyStrigling
Definition: LandscapeFarmingEnums.h:221
tov_FIGreenFallow_Perm
Definition: LandscapeFarmingEnums.h:572
tov_PotatoesIndustry
Definition: LandscapeFarmingEnums.h:212
tov_DECabbage
Definition: LandscapeFarmingEnums.h:472
tov_DKPlantNursery_Perm
Definition: LandscapeFarmingEnums.h:458
tov_DKOOrchCherry
Definition: LandscapeFarmingEnums.h:468
tov_UKWinterWheat
Definition: LandscapeFarmingEnums.h:287
tov_FRGrassland_Perm
Definition: LandscapeFarmingEnums.h:589
tov_DEWinterRye
Definition: LandscapeFarmingEnums.h:506
tov_BEWinterBarley
Definition: LandscapeFarmingEnums.h:301
tov_DKGrassTussocky_Perm
Definition: LandscapeFarmingEnums.h:435
tov_DETriticale
Definition: LandscapeFarmingEnums.h:505
tov_DKOSpringBarley
Definition: LandscapeFarmingEnums.h:363
tov_PermanentGrassLowYield
Definition: LandscapeFarmingEnums.h:225
tov_FIOStarchPotato_North
Definition: LandscapeFarmingEnums.h:529
tov_PLFodderLucerne1
Definition: LandscapeFarmingEnums.h:243
tov_DKWinterFodderGrass
Definition: LandscapeFarmingEnums.h:378
tov_FieldPeasStrigling
Definition: LandscapeFarmingEnums.h:218
tov_FIOCaraway2
Definition: LandscapeFarmingEnums.h:568
tov_DELegumes
Definition: LandscapeFarmingEnums.h:476
tov_FISprSpringBarley_Fodder
Definition: LandscapeFarmingEnums.h:554
tov_DEWinterRape
Definition: LandscapeFarmingEnums.h:508
tov_PLMaizeSilage
Definition: LandscapeFarmingEnums.h:240
tov_OrchardCrop
Definition: LandscapeFarmingEnums.h:227
tov_UKPermanentGrass
Definition: LandscapeFarmingEnums.h:281
tov_PTShrubPastures
Definition: LandscapeFarmingEnums.h:318
tov_PLWinterTriticale
Definition: LandscapeFarmingEnums.h:235
tov_DKPotato
Definition: LandscapeFarmingEnums.h:404
tov_DKSetAside_SummerMow
Definition: LandscapeFarmingEnums.h:410
CropGrowth
Definition: Plants.h:67
tov_DEHerbsPerennial_after1year
Definition: LandscapeFarmingEnums.h:514
tov_DEOBushFruitPerm
Definition: LandscapeFarmingEnums.h:521
tov_PLSpringBarley
Definition: LandscapeFarmingEnums.h:238
tov_BEPotatoes
Definition: LandscapeFarmingEnums.h:299
tov_FIFabaBean
Definition: LandscapeFarmingEnums.h:551
tov_DKOSpringBarley_CC
Definition: LandscapeFarmingEnums.h:432
tov_DKOCloverGrassGrazed2
Definition: LandscapeFarmingEnums.h:375
tov_DKOLentils
Definition: LandscapeFarmingEnums.h:434
tov_FIOTurnipRape
Definition: LandscapeFarmingEnums.h:534
tov_BroadBeans
Definition: LandscapeFarmingEnums.h:228
tov_DKCloverGrassGrazed3
Definition: LandscapeFarmingEnums.h:372
tov_FRWinterBarley
Definition: LandscapeFarmingEnums.h:582
tov_PTCabbage
Definition: LandscapeFarmingEnums.h:330
tov_DKOSpringFodderGrass
Definition: LandscapeFarmingEnums.h:380
tov_FIPotatoIndustry_South
Definition: LandscapeFarmingEnums.h:544
tov_DKSetAside
Definition: LandscapeFarmingEnums.h:409
tov_UKTempGrass
Definition: LandscapeFarmingEnums.h:284
tov_PTVineyards
Definition: LandscapeFarmingEnums.h:320
tov_DKPotatoSeed
Definition: LandscapeFarmingEnums.h:406
tov_DKWinterCloverGrassGrazedSown
Definition: LandscapeFarmingEnums.h:369
tov_NLPermanentGrassGrazed
Definition: LandscapeFarmingEnums.h:261
PlantGrowthData::m_num_crops
int m_num_crops
Definition: Plants.h:83
tov_PLWinterRye
Definition: LandscapeFarmingEnums.h:236
tov_DKSpringBarley
Definition: LandscapeFarmingEnums.h:361
tov_OSBarleySilage
Definition: LandscapeFarmingEnums.h:218
tov_FieldPeas
Definition: LandscapeFarmingEnums.h:203
tov_DKOCatchCrop
Definition: LandscapeFarmingEnums.h:421
tov_PTPotatoes
Definition: LandscapeFarmingEnums.h:328
tov_FIGrasslandSilagePerennial2
Definition: LandscapeFarmingEnums.h:559
tov_DKLegume_Beans
Definition: LandscapeFarmingEnums.h:358
PlantGrowthData::FindDiff
double FindDiff(double a_ddegs, double a_yddegs, int a_plant, int a_phase, int a_type)
Definition: Plants.cpp:45
tov_DKWinterRye_CC
Definition: LandscapeFarmingEnums.h:424
tov_FIOFabaBean
Definition: LandscapeFarmingEnums.h:552
tov_DKCarrots
Definition: LandscapeFarmingEnums.h:353
tov_NLPotatoesSpring
Definition: LandscapeFarmingEnums.h:265
tov_NLOrchardCrop
Definition: LandscapeFarmingEnums.h:271
tov_DKOSpringBarleyCloverGrass
Definition: LandscapeFarmingEnums.h:364
tov_WinterBarley
Definition: LandscapeFarmingEnums.h:215
tov_DKOGrazingPigs
Definition: LandscapeFarmingEnums.h:385
tov_UKPotatoes
Definition: LandscapeFarmingEnums.h:282
tov_FRSpringBarley
Definition: LandscapeFarmingEnums.h:587
tov_IRGrassland_no_reseed
Definition: LandscapeFarmingEnums.h:599
tov_NLGrassGrazedExtensive1Spring
Definition: LandscapeFarmingEnums.h:275
tov_OPotatoes
Definition: LandscapeFarmingEnums.h:206
tov_BEWinterBarleyCC
Definition: LandscapeFarmingEnums.h:305
tov_FINaturalGrassland
Definition: LandscapeFarmingEnums.h:560
tov_WWheatPTreatment
Definition: LandscapeFarmingEnums.h:217
tov_OWinterBarleyExt
Definition: LandscapeFarmingEnums.h:227
tov_WinterRapeStrigling
Definition: LandscapeFarmingEnums.h:221
tov_FISpringRape
Definition: LandscapeFarmingEnums.h:535
tov_PTOliveGroveTraditional
Definition: LandscapeFarmingEnums.h:333
tov_DECarrots
Definition: LandscapeFarmingEnums.h:473
tov_FICaraway1
Definition: LandscapeFarmingEnums.h:565
PlantGrowthData::m_growth
vector< CropGrowth * > m_growth
Definition: Plants.h:80
tov_OCloverGrassGrazed1
Definition: LandscapeFarmingEnums.h:205
tov_SeedGrass1
Definition: LandscapeFarmingEnums.h:212
tov_FIStarchPotato_South
Definition: LandscapeFarmingEnums.h:528
tov_SpringBarleySilage
Definition: LandscapeFarmingEnums.h:214
tov_IRWinterWheat
Definition: LandscapeFarmingEnums.h:602
tov_SpringBarleyPTreatment
Definition: LandscapeFarmingEnums.h:225
tov_FRPotatoes
Definition: LandscapeFarmingEnums.h:593
tov_UKBeet
Definition: LandscapeFarmingEnums.h:279
PlantGrowthData::m_numbers
vector< int > m_numbers
Definition: Plants.h:82
tov_DKOSpringWheat
Definition: LandscapeFarmingEnums.h:399
tov_DKOrchCherry
Definition: LandscapeFarmingEnums.h:464
tov_DEPermanentGrassLowYield
Definition: LandscapeFarmingEnums.h:500
tov_DKLegume_Whole
Definition: LandscapeFarmingEnums.h:356
tov_PTOliveGroveSuperIntensive
Definition: LandscapeFarmingEnums.h:336
tov_PTFodderMix
Definition: LandscapeFarmingEnums.h:312
tov_DKOLegume_Whole_CC
Definition: LandscapeFarmingEnums.h:428
tov_Triticale
Definition: LandscapeFarmingEnums.h:215
tov_IRSpringBarley
Definition: LandscapeFarmingEnums.h:597
tov_DKOOrchPear
Definition: LandscapeFarmingEnums.h:467
tov_PLWinterBarley
Definition: LandscapeFarmingEnums.h:234
tov_DKOFarmYoungForest_Perm
Definition: LandscapeFarmingEnums.h:457
tov_DKMaizeSilage
Definition: LandscapeFarmingEnums.h:383
tov_DEOPeas
Definition: LandscapeFarmingEnums.h:488
tov_NLMaize
Definition: LandscapeFarmingEnums.h:253
tov_AgroChemIndustryCereal
Definition: LandscapeFarmingEnums.h:217
tov_DEGreenFallow_1year
Definition: LandscapeFarmingEnums.h:475
tov_NorwegianPotatoes
Definition: LandscapeFarmingEnums.h:230
tov_DKOMaize
Definition: LandscapeFarmingEnums.h:386
tov_OSeedGrass2
Definition: LandscapeFarmingEnums.h:208
tov_FIOPotato_North
Definition: LandscapeFarmingEnums.h:541
tov_DKGrassLowYield_Perm
Definition: LandscapeFarmingEnums.h:461
tov_FIPotato_South
Definition: LandscapeFarmingEnums.h:540
tov_DEOWinterRape
Definition: LandscapeFarmingEnums.h:495
tov_DEOOats
Definition: LandscapeFarmingEnums.h:487
MaxNoInflections
const unsigned int MaxNoInflections
Definition: Plants.h:38
tov_DEBushFruitPerm
Definition: LandscapeFarmingEnums.h:520
tov_Wasteland
Definition: LandscapeFarmingEnums.h:228
tov_NLGrassGrazedExtensive1
Definition: LandscapeFarmingEnums.h:273
tov_PTSorghum
Definition: LandscapeFarmingEnums.h:311
tov_DEHerbsPerennial_1year
Definition: LandscapeFarmingEnums.h:513
tov_DKOOrchOther
Definition: LandscapeFarmingEnums.h:469
tov_DEOMaize
Definition: LandscapeFarmingEnums.h:485
tov_FRWinterWheat
Definition: LandscapeFarmingEnums.h:581
tov_PermanentSetAside
Definition: LandscapeFarmingEnums.h:211
tov_DEPotatoes
Definition: LandscapeFarmingEnums.h:502
tov_PLBeans
Definition: LandscapeFarmingEnums.h:249
tov_FIGrasslandSilageAnnual
Definition: LandscapeFarmingEnums.h:564
tov_WinterRyeStrigling
Definition: LandscapeFarmingEnums.h:221
tov_DEOGreenFallow_1year
Definition: LandscapeFarmingEnums.h:483
tov_SpringBarleyCloverGrassStrigling
Definition: LandscapeFarmingEnums.h:220
PlantGrowthData::m_weed_percent
double * m_weed_percent
Definition: Plants.h:86
tov_DKOptimalFlowerMix1
Definition: LandscapeFarmingEnums.h:436
tov_FISpringBarley_Malt
Definition: LandscapeFarmingEnums.h:549
tov_DKWinterBarley
Definition: LandscapeFarmingEnums.h:417
tov_UKBeans
Definition: LandscapeFarmingEnums.h:278
tov_DESugarBeet
Definition: LandscapeFarmingEnums.h:471
tov_DEOOrchard
Definition: LandscapeFarmingEnums.h:519
tov_NLBeet
Definition: LandscapeFarmingEnums.h:251
tov_OCarrots
Definition: LandscapeFarmingEnums.h:205
MapErrorMsg::Warn
void Warn(MapErrorState a_level, std::string a_msg1, std::string a_msg2)
Definition: MapErrorMsg.cpp:69
tov_NLBeetSpring
Definition: LandscapeFarmingEnums.h:262
tov_FIOSpringBarley_Malt
Definition: LandscapeFarmingEnums.h:550
tov_PlantNursery
Definition: LandscapeFarmingEnums.h:228
tov_IRGrassland_reseed
Definition: LandscapeFarmingEnums.h:600
tov_SpringBarley
Definition: LandscapeFarmingEnums.h:214
tov_FIGrasslandSilagePerennial1
Definition: LandscapeFarmingEnums.h:558
tov_WinterWheatStriglingSingle
Definition: LandscapeFarmingEnums.h:224
tov_DKGrassGrazed_Perm
Definition: LandscapeFarmingEnums.h:460
PlantGrowthData::GetHeightDiff
double GetHeightDiff(double a_ddegs, double a_yddegs, int a_plant, int a_phase)
Get the differential in veg height for the day degrees experienced.
Definition: Plants.h:125
tov_FIStarchPotato_North
Definition: LandscapeFarmingEnums.h:527
tov_PTOats
Definition: LandscapeFarmingEnums.h:327
tov_OSetAside
Definition: LandscapeFarmingEnums.h:208
tov_FISpringWheat
Definition: LandscapeFarmingEnums.h:531
tov_PTWinterWheat
Definition: LandscapeFarmingEnums.h:309
tov_FlowerStrip3
Definition: LandscapeFarmingEnums.h:200
tov_FIOSpringWheat
Definition: LandscapeFarmingEnums.h:532
tov_DKOWinterWheat_CC
Definition: LandscapeFarmingEnums.h:423
tov_DKBushFruit_Perm1
Definition: LandscapeFarmingEnums.h:442
tov_DKPotatoIndustry
Definition: LandscapeFarmingEnums.h:405
tov_DEPermanentGrassGrazed
Definition: LandscapeFarmingEnums.h:499
tov_NLSpringBarleySpring
Definition: LandscapeFarmingEnums.h:266
tov_DKCerealLegume
Definition: LandscapeFarmingEnums.h:365
tov_UKMaize
Definition: LandscapeFarmingEnums.h:280
tov_OWinterRape
Definition: LandscapeFarmingEnums.h:209
tov_DKOBushFruit_Perm1
Definition: LandscapeFarmingEnums.h:444
tov_SESpringBarley
Definition: LandscapeFarmingEnums.h:576
tov_DKOLegume_Peas_CC
Definition: LandscapeFarmingEnums.h:427
tov_PermanentGrassTussocky
Definition: LandscapeFarmingEnums.h:211
tov_FRSunflower
Definition: LandscapeFarmingEnums.h:591
tov_BEGrassGrazed2
Definition: LandscapeFarmingEnums.h:294
tov_BEGrassGrazed1
Definition: LandscapeFarmingEnums.h:292
tov_DKOSpringOats_CC
Definition: LandscapeFarmingEnums.h:430
tov_SpringBarleySpr
Definition: LandscapeFarmingEnums.h:228
tov_DEOPermanentGrassLowYield
Definition: LandscapeFarmingEnums.h:501
tov_FIFeedingGround
Definition: LandscapeFarmingEnums.h:561
tov_DKOVegSeeds
Definition: LandscapeFarmingEnums.h:400
tov_FIOPotato_South
Definition: LandscapeFarmingEnums.h:542
tov_PLPotatoes
Definition: LandscapeFarmingEnums.h:241
tov_PLWinterWheatLate
Definition: LandscapeFarmingEnums.h:247
tov_NoGrowth
Definition: LandscapeFarmingEnums.h:197
tov_NLGrassGrazedExtensive2
Definition: LandscapeFarmingEnums.h:274
tov_DummyCropPestTesting
Definition: LandscapeFarmingEnums.h:341
tov_OTriticale
Definition: LandscapeFarmingEnums.h:209
tov_NLGrassGrazed1
Definition: LandscapeFarmingEnums.h:259
tov_OWinterBarley
Definition: LandscapeFarmingEnums.h:209
tov_DKOrchOther
Definition: LandscapeFarmingEnums.h:465
tov_OSpringBarleyPigs
Definition: LandscapeFarmingEnums.h:209
tov_PTOtherDryBeans
Definition: LandscapeFarmingEnums.h:317
tov_DKChristmasTrees_Perm
Definition: LandscapeFarmingEnums.h:446
tov_CloverGrassGrazed1
Definition: LandscapeFarmingEnums.h:203
tov_BEBeet
Definition: LandscapeFarmingEnums.h:289
tov_FICaraway2
Definition: LandscapeFarmingEnums.h:566
tov_DKVegSeeds
Definition: LandscapeFarmingEnums.h:416
tov_SEWinterRape_Seed
Definition: LandscapeFarmingEnums.h:577
tov_FIOWinterRye
Definition: LandscapeFarmingEnums.h:538
tov_OSpringBarleyExt
Definition: LandscapeFarmingEnums.h:225
tov_FIWinterRye
Definition: LandscapeFarmingEnums.h:537
tov_BEGrassGrazedLast
Definition: LandscapeFarmingEnums.h:295
tov_MaizeStrigling
Definition: LandscapeFarmingEnums.h:220
tov_PTSetAside
Definition: LandscapeFarmingEnums.h:337
tov_PLWinterWheat
Definition: LandscapeFarmingEnums.h:232
tov_NLGrassGrazedExtensiveLast
Definition: LandscapeFarmingEnums.h:276
tov_DEPotatoesIndustry
Definition: LandscapeFarmingEnums.h:503
tov_FIOPotatoIndustry_North
Definition: LandscapeFarmingEnums.h:545
tov_OBarleyPeaCloverGrass
Definition: LandscapeFarmingEnums.h:203
tov_SpringBarleyStriglingSingle
Definition: LandscapeFarmingEnums.h:222
tov_OOats
Definition: LandscapeFarmingEnums.h:206
tov_FlowerStrip1
Definition: LandscapeFarmingEnums.h:198
tov_DKWinterWheat_CC
Definition: LandscapeFarmingEnums.h:422
g_msg
MapErrorMsg * g_msg
Definition: MapErrorMsg.cpp:41
tov_DKOPotatoSeed
Definition: LandscapeFarmingEnums.h:391
tov_PTRyegrass
Definition: LandscapeFarmingEnums.h:324
tov_OGrazingPigs
Definition: LandscapeFarmingEnums.h:206
tov_DKOMixedVeg
Definition: LandscapeFarmingEnums.h:388
tov_DKOWinterCloverGrassGrazedSown
Definition: LandscapeFarmingEnums.h:373
tov_SpringBarleyCloverGrass
Definition: LandscapeFarmingEnums.h:214
tov_SpringRape
Definition: LandscapeFarmingEnums.h:215
tov_DKOWinterRye
Definition: LandscapeFarmingEnums.h:403
tov_DEOWinterBarley
Definition: LandscapeFarmingEnums.h:494
tov_DKCabbages
Definition: LandscapeFarmingEnums.h:351
tov_FIGreenFallow_1year
Definition: LandscapeFarmingEnums.h:562
tov_DKOLupines
Definition: LandscapeFarmingEnums.h:433
tov_DEWinterWheat
Definition: LandscapeFarmingEnums.h:509
tov_BEMaizeCC
Definition: LandscapeFarmingEnums.h:304
tov_DKOrchardCrop_Perm
Definition: LandscapeFarmingEnums.h:459
tov_DEOHerbsPerennial_1year
Definition: LandscapeFarmingEnums.h:515
tov_FISpringOats
Definition: LandscapeFarmingEnums.h:547
tov_DEOPermanentGrassGrazed
Definition: LandscapeFarmingEnums.h:489
tov_FRWinterRape
Definition: LandscapeFarmingEnums.h:584
tov_FieldPeasSilage
Definition: LandscapeFarmingEnums.h:227
tov_BEMaize
Definition: LandscapeFarmingEnums.h:296
tov_FIGrasslandPasturePerennial1
Definition: LandscapeFarmingEnums.h:556
tov_DEOCabbages
Definition: LandscapeFarmingEnums.h:480
tov_DKGrazingPigs
Definition: LandscapeFarmingEnums.h:381
tov_DKOFarmForest_Perm
Definition: LandscapeFarmingEnums.h:451
tov_OSeedGrass1
Definition: LandscapeFarmingEnums.h:208
tov_SpringBarleyStrigling
Definition: LandscapeFarmingEnums.h:220
tov_SeedGrass2
Definition: LandscapeFarmingEnums.h:212
tov_NLGrassGrazedLast
Definition: LandscapeFarmingEnums.h:270
tov_FRGrassland
Definition: LandscapeFarmingEnums.h:588
tov_DKCerealLegume_Whole
Definition: LandscapeFarmingEnums.h:367
tov_DEOLegume
Definition: LandscapeFarmingEnums.h:484
tov_OFieldPeas
Definition: LandscapeFarmingEnums.h:205
tov_DEOrchard
Definition: LandscapeFarmingEnums.h:518
tov_DEOPotatoes
Definition: LandscapeFarmingEnums.h:490
tov_DKEnergyCrop_Perm
Definition: LandscapeFarmingEnums.h:448
tov_FodderBeet
Definition: LandscapeFarmingEnums.h:203
tov_OSpringBarleyGrass
Definition: LandscapeFarmingEnums.h:208
tov_WWheatPControl
Definition: LandscapeFarmingEnums.h:217
tov_DKOOrchardCrop_Perm
Definition: LandscapeFarmingEnums.h:441
tov_DKSpringBarleyCloverGrass
Definition: LandscapeFarmingEnums.h:362
tov_BEMaizeSpring
Definition: LandscapeFarmingEnums.h:297
tov_BEPotatoesSpring
Definition: LandscapeFarmingEnums.h:300
PlantGrowthData::SetVegNum
void SetVegNum(unsigned int a_i, ifstream &ist, const char *a_cropcurvefile)
Definition: Plants.cpp:140
tov_CloverGrassGrazed2
Definition: LandscapeFarmingEnums.h:203
tov_UKSpringBarley
Definition: LandscapeFarmingEnums.h:283
tov_NLCabbage
Definition: LandscapeFarmingEnums.h:257
tov_WinterWheat
Definition: LandscapeFarmingEnums.h:217
tov_DKOSpringBarleySilage
Definition: LandscapeFarmingEnums.h:397
tov_DKOCloverGrassGrazed3
Definition: LandscapeFarmingEnums.h:376
tov_FodderGrass
Definition: LandscapeFarmingEnums.h:224
tov_Maize
Definition: LandscapeFarmingEnums.h:203
tov_DEPeas
Definition: LandscapeFarmingEnums.h:498
tov_DKOWinterWheat
Definition: LandscapeFarmingEnums.h:360
tov_BEGrassGrazed1Spring
Definition: LandscapeFarmingEnums.h:293
tov_OFieldPeasSilage
Definition: LandscapeFarmingEnums.h:218
tov_DESpringRye
Definition: LandscapeFarmingEnums.h:504
tov_DKOrchApple
Definition: LandscapeFarmingEnums.h:462
tov_YoungForest
Definition: LandscapeFarmingEnums.h:222
tov_FRMaize_Silage
Definition: LandscapeFarmingEnums.h:586
tov_DKCatchCrop
Definition: LandscapeFarmingEnums.h:420
tov_NLGrassGrazed2
Definition: LandscapeFarmingEnums.h:260
tov_DKOCarrots
Definition: LandscapeFarmingEnums.h:355
l_map_cropcurves_file
static CfgStr l_map_cropcurves_file("MAP_CROPCURVES_FILE", CFG_CUSTOM, "curves.pre")
tov_Oats
Definition: LandscapeFarmingEnums.h:203
tov_DKSeedGrassFescue_Spring
Definition: LandscapeFarmingEnums.h:407
tov_GenericCatchCrop
Definition: LandscapeFarmingEnums.h:339
tov_Lawn
Definition: LandscapeFarmingEnums.h:225
tov_DKOFodderBeets
Definition: LandscapeFarmingEnums.h:349
tov_WinterRye
Definition: LandscapeFarmingEnums.h:217
tov_FIOCaraway1
Definition: LandscapeFarmingEnums.h:567
PlantGrowthData::m_final_ddeg
vector< vector< vector< double > > > m_final_ddeg
Definition: Plants.h:81
tov_DEMaize
Definition: LandscapeFarmingEnums.h:477
tov_FIBufferZone_Perm
Definition: LandscapeFarmingEnums.h:573
tov_OWinterWheat
Definition: LandscapeFarmingEnums.h:228
tov_PTHorticulture
Definition: LandscapeFarmingEnums.h:329
tov_DKCloverGrassGrazed1
Definition: LandscapeFarmingEnums.h:370
tov_DEOWinterRye
Definition: LandscapeFarmingEnums.h:496
tov_MaizeSilage
Definition: LandscapeFarmingEnums.h:224
tov_SEWinterWheat
Definition: LandscapeFarmingEnums.h:578
tov_BEWinterWheatCC
Definition: LandscapeFarmingEnums.h:303
tov_Heath
Definition: LandscapeFarmingEnums.h:228
tov_DKOLegumeCloverGrass_Whole
Definition: LandscapeFarmingEnums.h:354
tov_DKWinterWheat
Definition: LandscapeFarmingEnums.h:359
tov_DKBushFruit_Perm2
Definition: LandscapeFarmingEnums.h:443
tov_DKSugarBeets
Definition: LandscapeFarmingEnums.h:347
tov_FIPotatoIndustry_North
Definition: LandscapeFarmingEnums.h:543
tov_FIOStarchPotato_South
Definition: LandscapeFarmingEnums.h:530
tov_PTTurnipGrazed
Definition: LandscapeFarmingEnums.h:313
tov_PTYellowLupin
Definition: LandscapeFarmingEnums.h:325
tov_ITOrchard
Definition: LandscapeFarmingEnums.h:607
tov_FRMaize
Definition: LandscapeFarmingEnums.h:585
tov_UKWinterBarley
Definition: LandscapeFarmingEnums.h:285
tov_DKOSetAside_SummerMow
Definition: LandscapeFarmingEnums.h:396
tov_FISugarBeet
Definition: LandscapeFarmingEnums.h:526
tov_PermanentGrassGrazed
Definition: LandscapeFarmingEnums.h:211
tov_PLBeetSpr
Definition: LandscapeFarmingEnums.h:248
tov_DEMaizeSilage
Definition: LandscapeFarmingEnums.h:478
tov_NLTulips
Definition: LandscapeFarmingEnums.h:258
tov_PLFodderLucerne2
Definition: LandscapeFarmingEnums.h:244
tov_PTGrassGrazed
Definition: LandscapeFarmingEnums.h:310
tov_FIOSpringRape
Definition: LandscapeFarmingEnums.h:536
tov_DKSpringWheat
Definition: LandscapeFarmingEnums.h:414
tov_DKSpringBarleySilage
Definition: LandscapeFarmingEnums.h:412
tov_NorwegianSpringBarley
Definition: LandscapeFarmingEnums.h:230
tov_OFodderBeet
Definition: LandscapeFarmingEnums.h:227
tov_DKOPotato
Definition: LandscapeFarmingEnums.h:389
tov_NLCatchCropPea
Definition: LandscapeFarmingEnums.h:268
tov_FIOSpringOats
Definition: LandscapeFarmingEnums.h:548
tov_DKOSeedGrassRye_Spring
Definition: LandscapeFarmingEnums.h:392
tov_NLMaizeSpring
Definition: LandscapeFarmingEnums.h:264
tov_FINaturalGrassland_Perm
Definition: LandscapeFarmingEnums.h:571
tov_SugarBeet
Definition: LandscapeFarmingEnums.h:228
tov_DKLegume_Peas
Definition: LandscapeFarmingEnums.h:357
tov_NLPotatoes
Definition: LandscapeFarmingEnums.h:254
tov_PTWinterRye
Definition: LandscapeFarmingEnums.h:323
tov_WaterBufferZone
Definition: LandscapeFarmingEnums.h:201
tov_DKOLegume_Whole
Definition: LandscapeFarmingEnums.h:346
tov_DKOGrazingPigs_Perm
Definition: LandscapeFarmingEnums.h:453
tov_DKFodderBeets
Definition: LandscapeFarmingEnums.h:348
tov_PTCorkOak
Definition: LandscapeFarmingEnums.h:319
tov_FRWinterTriticale
Definition: LandscapeFarmingEnums.h:583
tov_SpringBarleyPeaCloverGrassStrigling
Definition: LandscapeFarmingEnums.h:222
tov_PLMaize
Definition: LandscapeFarmingEnums.h:239
tov_PTPermanentGrassGrazed
Definition: LandscapeFarmingEnums.h:308
tov_FRSpringWheat
Definition: LandscapeFarmingEnums.h:592
tov_Potatoes
Definition: LandscapeFarmingEnums.h:212
tov_NLCarrotsSpring
Definition: LandscapeFarmingEnums.h:263
tov_OSpringBarley
Definition: LandscapeFarmingEnums.h:208
tov_DESpringBarley
Definition: LandscapeFarmingEnums.h:517
tov_DEAsparagusEstablishedPlantation
Definition: LandscapeFarmingEnums.h:511
tov_PTOliveGroveIntensive
Definition: LandscapeFarmingEnums.h:335
tov_DKOBushFruit_Perm2
Definition: LandscapeFarmingEnums.h:445
tov_DKOCerealLegume_Whole
Definition: LandscapeFarmingEnums.h:368
tov_NLCarrots
Definition: LandscapeFarmingEnums.h:252
tov_OWinterRye
Definition: LandscapeFarmingEnums.h:211
tov_DKSeedGrassRye_Spring
Definition: LandscapeFarmingEnums.h:408