EnvelopeElementRecorder.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.8 $
00022 // $Date: 2006/08/04 22:33:53 $
00023 // $Source: /usr/local/cvs/OpenSees/SRC/recorder/EnvelopeElementRecorder.h,v $
00024                                                                         
00025 #ifndef EnvelopeElementRecorder_h
00026 #define EnvelopeElementRecorder_h
00027 
00028 // Written: fmk 
00029 //
00030 // What: "@(#) EnvelopeElementRecorder.h, revA"
00031 
00032 #include <Recorder.h>
00033 #include <Information.h>
00034 #include <OPS_Globals.h>
00035 #include <ID.h>
00036 
00037 
00038 class Domain;
00039 class Vector;
00040 class Matrix;
00041 class Element;
00042 class Response;
00043 class FE_Datastore;
00044 
00045 class EnvelopeElementRecorder: public Recorder
00046 {
00047   public:
00048   EnvelopeElementRecorder();
00049     EnvelopeElementRecorder(const ID &eleID, 
00050                             const char **argv, 
00051                             int argc,
00052                             Domain &theDomain, 
00053                             OPS_Stream &theOutputHandler,
00054                             double deltaT = 0.0,
00055                             bool echoTimeFlag = true); 
00056 
00057 
00058     ~EnvelopeElementRecorder();
00059 
00060     int record(int commitTag, double timeStamp);
00061     int restart(void);    
00062 
00063     int setDomain(Domain &theDomain);
00064     int sendSelf(int commitTag, Channel &theChannel);  
00065     int recvSelf(int commitTag, Channel &theChannel, 
00066                  FEM_ObjectBroker &theBroker);
00067     
00068   protected:
00069     
00070   private:      
00071     int initialize(void);
00072 
00073     int numEle;
00074     ID eleID;
00075     Response **theResponses;
00076 
00077     Domain *theDomain;
00078     OPS_Stream *theHandler;
00079 
00080     double deltaT;
00081     double nextTimeStampToRecord;
00082 
00083     Matrix *data;
00084     Vector *currentData;
00085     bool first;
00086 
00087     bool initializationDone;
00088     char **responseArgs;
00089     int numArgs;
00090 
00091     bool echoTimeFlag; 
00092 };
00093 
00094 
00095 #endif

Generated on Mon Oct 23 15:05:24 2006 for OpenSees by doxygen 1.5.0