Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

NodalLoad.h

Go to the documentation of this file.
00001 /* ****************************************************************** **
00002 **    OpenSees - Open System for Earthquake Engineering Simulation    **
00003 **          Pacific Earthquake Engineering Research Center            **
00004 **                                                                    **
00005 **                                                                    **
00006 ** (C) Copyright 1999, The Regents of the University of California    **
00007 ** All Rights Reserved.                                               **
00008 **                                                                    **
00009 ** Commercial use of this program without express permission of the   **
00010 ** University of California, Berkeley, is strictly prohibited.  See   **
00011 ** file 'COPYRIGHT'  in main directory for information on usage and   **
00012 ** redistribution,  and for a DISCLAIMER OF ALL WARRANTIES.           **
00013 **                                                                    **
00014 ** Developed by:                                                      **
00015 **   Frank McKenna (fmckenna@ce.berkeley.edu)                         **
00016 **   Gregory L. Fenves (fenves@ce.berkeley.edu)                       **
00017 **   Filip C. Filippou (filippou@ce.berkeley.edu)                     **
00018 **                                                                    **
00019 ** ****************************************************************** */
00020                                                                         
00021 // $Revision: 1.2 $
00022 // $Date: 2001/06/14 06:21:41 $
00023 // $Source: /usr/local/cvs/OpenSees/SRC/domain/node/NodalLoad.h,v $
00024                                                                         
00025                                                                         
00026 #ifndef NodalLoad_h
00027 #define NodalLoad_h
00028 
00029 // File: ~/domain/node/NodalLoad.h
00030 //
00031 // Written: fmk 
00032 // Created: 11/96
00033 // Revision: A
00034 //
00035 // Purpose: This file contains the class interface for NodalLoad.
00036 // NodalLoad is a class for appling nodal loads to the model.
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;     // true if load is load factor independent
00160 
00161 };
00162 
00163 #endif
00164 
Copyright Contact Us