MaxNodeDispRecorder.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.4 $
00022 // $Date: 2004/11/24 22:45:28 $
00023 // $Source: /usr/local/cvs/OpenSees/SRC/recorder/MaxNodeDispRecorder.h,v $
00024                                                                         
00025                                                                         
00026 #ifndef MaxNodeDispRecorder_h
00027 #define MaxNodeDispRecorder_h
00028 
00029 // File: ~/recorder/MaxNodeDispRecorder.h
00030 //
00031 // Written: fmk 
00032 // Created: 11/98
00033 // Revision: A
00034 //
00035 // Description: This file contains the class definition for MaxNodeDispRecorder.
00036 // A MaxNodeDispRecorder is used to determine the max nodal displacement
00037 // at a collection of nodes over an analysis. (between commitTag of 0 and
00038 // last commitTag).
00039 //
00040 // What: "@(#) MaxNodeDispRecorder.h, revA"
00041 
00042 #include <Recorder.h>
00043 #include <ID.h>
00044 #include <Vector.h>
00045 
00046 class Domain;
00047 
00048 class MaxNodeDispRecorder: public Recorder
00049 {
00050   public:
00051     MaxNodeDispRecorder(int dof, const ID &theNodes, Domain &theDomain);
00052     ~MaxNodeDispRecorder();
00053     int record(int commitTag, double timeStamp);
00054     int playback(int commitTag);
00055 
00056     int restart(void);    
00057     
00058   protected:
00059     
00060   private:      
00061     ID theNodes;
00062     Vector maxDisp;
00063     int dof;
00064     Domain *theDomain;
00065 };
00066 
00067 
00068 #endif

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