00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef ConstantSeries_h
00026 #define ConstantSeries_h
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041 #include <TimeSeries.h>
00042
00044 class ConstantSeries : public TimeSeries
00045 {
00046 public:
00048 ConstantSeries(double cFactor = 1.0);
00049
00051 ~ConstantSeries();
00052
00054 double getFactor(double pseudoTime) {return cFactor;}
00055
00056
00058
00059 double getPeakFactor () {return cFactor;}
00060 double getTimeIncr (double pseudoTime) {return 1.0;}
00061
00063 int sendSelf(int commitTag, Channel &theChannel);
00065 int recvSelf(int commitTag, Channel &theChannel,
00066 FEM_ObjectBroker &theBroker);
00067
00069 void Print(ostream &s, int flag =0);
00070
00071 protected:
00072
00073 private:
00075 double cFactor;
00076 };
00077
00078 #endif
00079 ÿ