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
00027
00028
00029
00030
00031
00032
00033
00034
00035 #ifndef UniformExcitation_h
00036 #define UniformExcitation_h
00037
00038 #include <EarthquakePattern.h>
00039
00051 class UniformExcitation : public EarthquakePattern
00052 {
00053 public:
00056 UniformExcitation(GroundMotion &theMotion, int dof, int tag, double vel0 = 0.0);
00057
00061 ~UniformExcitation();
00062
00063
00065 void setDomain(Domain *theDomain);
00066
00068 void applyLoad(double time);
00070 void Print(ostream &s, int flag =0);
00071
00073 int sendSelf(int commitTag, Channel &theChannel);
00075 int recvSelf(int commitTag, Channel &theChannel,
00076 FEM_ObjectBroker &theBroker);
00077
00079 LoadPattern *getCopy(void);
00080 protected:
00081
00082 private:
00084 GroundMotion *theMotion;
00085 int theDof;
00086 double vel0;
00087 };
00088
00089 #endif