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 Beam2dUniformLoad_h
00026 #define Beam2dUniformLoad_h
00027
00028
00029
00030
00031
00032 #include <ElementalLoad.h>
00033
00034 class Beam2dUniformLoad : public ElementalLoad
00035 {
00036 public:
00037 Beam2dUniformLoad(int tag, double wTrans, double wAxial,
00038 const ID &theElementTags);
00039 Beam2dUniformLoad();
00040 ~Beam2dUniformLoad();
00041
00042 const Vector &getData(int &type, double loadFactor);
00043
00044 int sendSelf(int commitTag, Channel &theChannel);
00045 int recvSelf(int commitTag, Channel &theChannel, FEM_ObjectBroker &theBroker);
00046 void Print(OPS_Stream &s, int flag =0);
00047
00048 int setParameter(const char **argv, int argc, Parameter ¶m);
00049 int updateParameter(int parameterID, Information &info);
00050 int activateParameter(int paramID);
00051
00052 const Vector &getSensitivityData(int gradNumber);
00053
00054 protected:
00055
00056 private:
00057 double wTrans;
00058 double wAxial;
00059 static Vector data;
00060
00061 int parameterID;
00062 };
00063
00064 #endif
00065