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

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.1.1.1 $
00022 // $Date: 2000/09/15 08:23:25 $
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 #include <Domain.h>
00047 
00056 class MaxNodeDispRecorder: public Recorder
00057 {
00058   public:
00065     MaxNodeDispRecorder(int dof, const ID &theNodes, Domain &theDomain);
00066 
00070     ~MaxNodeDispRecorder();
00071 
00081     int record(int commitTag);
00082 
00088     int playback(int commitTag);
00089 
00090 
00094     void restart(void);    
00095 
00096     
00097   protected:
00098     
00099   private: 
00101     ID theNodes;
00102 
00104     Vector maxDisp;
00106     int dof;
00108     Domain *theDomain;
00109 };
00110 
00111 
00112 #endif
Copyright Contact Us