70 double m_start[ 5 ] [ 3 ];
71 bool m_start_valid[ 5 ];
91 double FindDiff(
double a_ddegs,
double a_yddegs,
int a_plant,
int a_phase,
int a_type );
92 unsigned int FindCropNum(
const char * a_cropcurvefile );
93 void SetVegNum(
unsigned int a_i,
const char * a_cropcurvefile );
94 void MakeBugPercentArray(
void );
95 void ReadBugPercentageFile(
void );
101 double GetLAtotalDiff(
double a_ddegs,
double a_yddegs,
int a_plant,
int a_phase );
102 double GetLAgreenDiff(
double a_ddegs,
double a_yddegs,
int a_plant,
int a_phase );
103 double GetHeightDiff(
double a_ddegs,
double a_yddegs,
int a_plant,
int a_phase );
106 return m_growth[ m_numbers[ a_veg_type ]]->m_start[ a_phase ] [ a_type ];
109 bool StartValid(
int a_veg_type,
int a_phase );
125 return m_weed_percent[ a_letype ];
130 return m_bug_percent_a[ a_letype ];
135 return m_bug_percent_b[ a_letype ];
140 return m_bug_percent_c[ a_letype ];
145 return (
double) m_bug_percent_d[ a_letype ];
149 return m_growth[ a_plant_num ]->m_lownut;
153 return m_growth[ m_numbers[ a_plant ]]->m_lownut;
156 CropData(
const char * a_cropcurvefile );
double GetBugPercentA(TTypesOfVegetation a_letype)
bool GetNutStatusExt(int a_plant)
double GetBugPercentD(TTypesOfVegetation a_letype)
vector< CropGrowth * > m_growth
double GetBugPercentB(TTypesOfVegetation a_letype)
bool GetNutStatus(int a_plant_num)
double GetStartValue(int a_veg_type, int a_phase, int a_type)
double GetWeedPercent(TTypesOfVegetation a_letype)
const unsigned int MaxNoInflections
Growth_Phases
Growth phase indicator.
double GetBugPercentC(TTypesOfVegetation a_letype)