DoubleMMRelGrowth.h

00001 //---------------------------------------------------------------------------
00002 // DoubleMMRelGrowth
00003 //---------------------------------------------------------------------------
00004 #if !defined(DoubleMMRelGrowth_H)
00005   #define DoubleMMRelGrowth_H
00006 
00007 #include "MichMenGrowthBase.h"
00008 
00009 class clSimManager;
00010 class clTree;
00011 class clTreePopulation;
00012 class clGridBase;
00013 
00066 class clDoubleMMRelGrowth : virtual public clMichMenBase {
00067 //note: need the virtual keyword to avoid base class ambiguity.
00068 
00069   public:
00070 
00076   clDoubleMMRelGrowth(clSimManager *p_oSimManager);
00077 
00081   ~clDoubleMMRelGrowth();
00082 
00091   float CalcDiameterGrowthValue(clTree *p_oTree, clTreePopulation *p_oPop, float fHeightGrowth);
00092 
00099   void SetNameData(char *cNameString);
00100 
00110   void DoShellSetup(xercesc::DOMDocument *p_oDoc);
00111 
00112   protected:
00113 
00117   clGridBase *mp_oResourceGrid;
00118 
00121   float *mp_fResourceInfluence;
00122 
00124   float m_fNumberYearsPerTimestep;
00125 
00127   short int m_iResourceCode;
00128 };
00129 //---------------------------------------------------------------------------
00130 #endif // DoubleMMRelGrowth_H

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