00001 //--------------------------------------------------------------------------- 00002 00003 #ifndef GMFMortH 00004 #define GMFMortH 00005 //--------------------------------------------------------------------------- 00006 #include "MortalityBase.h" 00029 class clGMFMort : virtual public clMortalityBase { 00030 //note: need the virtual keyword to avoid base class ambiguity. 00031 00032 public: 00033 00038 clGMFMort(clSimManager *p_oSimManager); 00039 00043 ~clGMFMort(); 00044 00053 void DoShellSetup(xercesc::DOMDocument *p_oDoc); 00054 00063 bool DoMort(clTree *p_oTree, const float &fDbh, const short int &iSpecies); 00064 00065 protected: 00066 00067 short int **mp_iGrowthCodes; 00069 float *mp_fMortAtZeroGrowth; 00070 float *mp_fLightDepMort; 00080 void GetGrowthVariableCodes(); 00081 00082 }; 00083 //--------------------------------------------------------------------------- 00084 #endif