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
00026 #ifndef TrigSeries_h
00027 #define TrigSeries_h
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044 #include <TimeSeries.h>
00045
00047 class TrigSeries : public TimeSeries
00048 {
00049 public:
00051 TrigSeries(double tStart, double tFinish,
00052 double period, double shift, double cFactor = 1.0);
00054 TrigSeries();
00055
00057 ~TrigSeries();
00058
00060 double getFactor(double pseudoTime);
00062 double getDuration () {return tFinish-tStart;}
00064 double getPeakFactor () {return cFactor;}
00066 double getTimeIncr (double pseudoTime) {return tFinish-tStart;}
00067
00069 int sendSelf(int commitTag, Channel &theChannel);
00071 int recvSelf(int commitTag, Channel &theChannel,
00072 FEM_ObjectBroker &theBroker);
00073
00075 void Print(ostream &s, int flag =0);
00076
00077 protected:
00078
00079 private:
00081 double tStart;
00082 double tFinish;
00083 double period;
00085 double shift;
00087 double cFactor;
00088 };
00089
00090 #endif
00091 ÿ