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 NodalLoad_h
00027 #define NodalLoad_h
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038 #include <Load.h>
00039 #include <Node.h>
00040 #include <Vector.h>
00041
00052 class NodalLoad : public Load
00053 {
00054 public:
00067 NodalLoad(int classTag);
00068
00074 NodalLoad(int tag, int node, int classTag);
00075
00082 NodalLoad(int tag, int node, const Vector &load, bool isLoadConstant = false);
00083
00088 ~NodalLoad();
00089
00090
00099 virtual void setDomain(Domain *newDomain);
00100
00104 virtual int getNodeTag(void) const;
00105
00117 virtual void applyLoad(double loadFactor);
00118
00119
00127 virtual int sendSelf(int commitTag, Channel &theChannel);
00128
00136 virtual int recvSelf(int commitTag, Channel &theChannel,
00137
00138 FEM_ObjectBroker &theBroker);
00139
00143 virtual void Print(ostream &s, int flag =0);
00144
00145
00147 int setParameter (char **argv, int argc, Information &info);
00148
00150 int updateParameter (int parameterID, Information &info);
00151
00152 protected:
00153
00154 private:
00156 int myNode;
00157 Node *myNodePtr;
00158 Vector *load;
00159 bool konstant;
00160
00161 };
00162
00163 #endif
00164