Load.hGo 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.1.1.1 $ 00022 // $Date: 2000/09/15 08:23:19 $ 00023 // $Source: /usr/local/cvs/OpenSees/SRC/domain/load/Load.h,v $ 00024 00025 00026 #ifndef Load_h 00027 #define Load_h 00028 00029 // File: ~/domain/load/Load.h 00030 // 00031 // Written: fmk 00032 // Created: 11/96 00033 // Revision: A 00034 // 00035 // Purpose: This file contains the class definition for Load. 00036 // Load is an abstract class. A Load object is used to add load 00037 // to the model. 00038 // 00039 // What: "@(#) Load.h, revA" 00040 00041 #include <ID.h> 00042 #include <DomainComponent.h> 00043 00044 class Load : public DomainComponent 00045 { 00046 public: 00047 Load(int tag, int classTag); 00048 00049 virtual ~Load(); 00050 00051 // pure virtual functions 00052 virtual void applyLoad(double loadfactor) =0; 00053 00054 virtual void setLoadPatternTag(int loadPaternTag); 00055 virtual int getLoadPatternTag(void) const; 00056 00057 protected: 00058 00059 private: 00060 int loadPatternTag; 00061 }; 00062 00063 #endif |