SenescenceMort.h

00001 //---------------------------------------------------------------------------
00002 
00003 #ifndef SenescenceMortH
00004 #define SenescenceMortH
00005 //---------------------------------------------------------------------------
00006 #include "MortalityBase.h"
00034 class clSenescence : virtual public clMortalityBase {
00035 //note: need the virtual keyword to avoid base class ambiguity.
00036 
00037  public:
00038 
00044  clSenescence(clSimManager *p_oSimManager);
00045 
00049  ~clSenescence();
00050 
00056  void DoShellSetup(xercesc::DOMDocument *p_oDoc);
00057 
00065   bool DoMort(clTree *p_oTree, const float &fDiam, const short int &iSpecies);
00066 
00067  protected:
00068 
00069  floatVal *mp_fRandomAlpha;    
00070  floatVal *mp_fRandomBeta;     
00071  floatVal *mp_fDbhAtOnset;     
00072  float **mp_fMortProb;         
00074  int m_iMaxDbh;                
00075  short int m_iNumTotalSpecies; 
00082 void CalculateMortalityProbability();
00083 };
00084 //---------------------------------------------------------------------------
00085 #endif

Generated on Thu Jan 26 13:44:35 2006 for SORTIE Core C++ Documentation by  doxygen 1.4.6-NO