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

MultiSupportPattern.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.1 $
00022 // $Date: 2000/12/12 07:44:19 $
00023 // $Source: /usr/local/cvs/OpenSees/SRC/domain/pattern/MultiSupportPattern.h,v $
00024                                                                         
00025 #ifndef MultiSupportPattern_h
00026 #define MultiSupportPattern_h
00027 
00028 // Written: fmk 11/00
00029 // Revised:
00030 //
00031 // Purpose: This file contains the class definition for MultiSupportPattern.
00032 // MultiSupportPattern is an abstract class.
00033 
00034 #include <LoadPattern.h>
00035 #include <ID.h>
00036 
00037 #include <GroundMotion.h>
00038 #include <Vector.h>
00039 
00041 class MultiSupportPattern : public LoadPattern
00042 {
00043   public:
00045     MultiSupportPattern(int tag, int classTag);
00047     MultiSupportPattern(int tag);    
00049     virtual ~MultiSupportPattern();
00050 
00052     virtual void applyLoad(double time);
00054     virtual bool addNodalLoad(NodalLoad *);
00056     virtual bool addElementalLoad(ElementalLoad *);
00057     
00059     virtual int sendSelf(int commitTag, Channel &theChannel);
00061     virtual int recvSelf(int commitTag, Channel &theChannel, 
00062     FEM_ObjectBroker &theBroker);
00064     virtual void Print(ostream &s, int flag =0);        
00065 
00067     virtual LoadPattern *getCopy(void);
00068 
00070     int addMotion(GroundMotion &theMotion, int tag);    
00072     GroundMotion *getMotion(int tag);        
00073 
00074  protected:
00075 
00076  private:
00078     GroundMotion **theMotions;
00080     ID theMotionTags;
00082     int numMotions;
00083 };
00084 
00085 #endif
00086 ÿ
Copyright Contact Us