00001 //--------------------------------------------------------------------------- 00002 // LogBiLevelGrowth 00003 //--------------------------------------------------------------------------- 00004 #if !defined(LogBiLevelGrowth_H) 00005 #define LogBiLevelGrowth_H 00006 00007 #include "GrowthBase.h" 00008 00009 class clGridBase; 00010 00043 class clLogBiLevelGrowth : virtual public clGrowthBase { 00044 //note: need the virtual keyword to avoid base class ambiguity. 00045 00046 public: 00047 00051 clLogBiLevelGrowth(clSimManager *p_oSimManager); 00052 00056 ~clLogBiLevelGrowth(); 00057 00071 float CalcHeightGrowthValue(clTree *p_oTree, clTreePopulation *p_oPop, float fDiameterGrowth); 00072 00085 void DoShellSetup(xercesc::DOMDocument *p_oDoc); 00086 00087 protected: 00088 00090 clGridBase *mp_oStormLight; 00091 00093 float *mp_fLoLightMaxGrowth; 00094 00096 float *mp_fLoLightX0; 00097 00099 float *mp_fLoLightXb; 00100 00102 float *mp_fHiLightMaxGrowth; 00103 00105 float *mp_fHiLightX0; 00106 00108 float *mp_fHiLightXb; 00109 00112 float *mp_fHiLightThreshold; 00113 00115 int *mp_iIndexes; 00116 00119 float m_fYearsPerTimestep; 00120 00122 int m_iLightCode; 00123 }; 00124 //--------------------------------------------------------------------------- 00125 #endif // SimpleLinearGrowth_H