00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef _CatchmentSectorSpecific_h
00023 #define _CatchmentSectorSpecific_h
00024
00025 #include "CropGrowthHandler.h"
00026 #include "CatchmentSector.h"
00027 class raster3D;
00028
00029
00030 class ssector : public sector
00031 { protected:
00032
00033 double A_2;
00034 double A_5;
00035 double S_5;
00036 double S_7;
00037
00038
00039 public:
00040 ssector (const char* i, const char* o,
00041 int sc, scuenca* sub,
00042 int sk= 0,
00043 double a2 = 1.0, double a5 = 0.0,
00044 double s5 = 0.0, double s7 = 0.0,
00045 CropPrecipitation* p_cropPrecipitation_=NULL, CropWater* p_cropWat_=NULL) :
00046 sector (i, o, sc, sub, sk, p_cropPrecipitation_, p_cropWat_)
00047 { A_2 = a2;
00048 A_5 = a5;
00049 S_5 = s5;
00050 S_7 = s7;
00051 }
00052
00053 virtual ~ssector(void)
00054 {
00055 }
00056
00057 virtual double computeInternalReturnFlowCoefficients(void);
00058
00059
00060 virtual void printToScreen(void);
00061
00062
00063 virtual double get_a2(void);
00064 virtual double get_a5(void);
00065 virtual double get_s5(void);
00066 virtual double get_s7(void);
00067 };
00068
00069
00070
00071 #endif
00072
00073