CompetitionMort.h

00001 //---------------------------------------------------------------------------
00002 
00003 #ifndef CompetitionMort
00004 #define CompetitionMort
00005 //---------------------------------------------------------------------------
00006 #include "MortalityBase.h"
00025 class clCompetitionMort : virtual public clMortalityBase {
00026 //note: need the virtual keyword to avoid base class ambiguity.
00027 
00028  public:
00029 
00033  clCompetitionMort(clSimManager *p_oSimManager);
00034 
00038  ~clCompetitionMort();
00039 
00046  void DoShellSetup(xercesc::DOMDocument *p_oDoc);
00047 
00055  bool DoMort(clTree *p_oTree, const float &fDbh, const short int &iSpecies);
00056 
00057  protected:
00058 
00059  short int **mp_iLgmCodes; 
00061  float *mp_fCompMort;           
00062  float *mp_fCompMortMax;        
00064  float m_fNumberYearsPerTimestep; 
00067  //Parameters to calculate potential growth as in NCI growth
00068  float *mp_fXb;           
00070  float *mp_fMaxPotentialGrowth; 
00072  float *mp_fX0;   
00074  short int *mp_iIndexes;  
00085   void GetLgmVariableCodes();
00086 };
00087 //---------------------------------------------------------------------------
00088 #endif
00089 
00090 

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