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

TimeSeries.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:19 $
00023 // $Source: /usr/local/cvs/OpenSees/SRC/domain/pattern/TimeSeries.h,v $
00024                                                                         
00025                                                                         
00026 #ifndef TimeSeries_h
00027 #define TimeSeries_h
00028 
00029 // File: ~/domain/pattern/TimeSeries.h
00030 //
00031 // Written: fmk 
00032 // Created: 07/99
00033 // Revision: A
00034 //
00035 // Purpose: This file contains the class definition for TimeSeries.
00036 // TimeSeries is an abstract class. A TimeSeries object is used to
00037 // determine the load factor to be applied to the loads in a pettern.
00038 // to the model. 
00039 //
00040 // What: "@(#) TimeSeries.h, revA"
00041 
00042 #include <MovableObject.h>
00043 #include <iostream.h>
00044 
00054 class TimeSeries : public MovableObject
00055 {
00056   public:
00061     TimeSeries(int classTag);
00062 
00066     virtual ~TimeSeries();
00067 
00068 
00070     virtual double getFactor (double pseudoTime) = 0;
00076     virtual double getDuration () = 0;
00077 
00081     virtual double getPeakFactor () = 0;
00082 
00083 
00085     virtual double getTimeIncr (double pseudoTime) = 0;
00086 
00087     // This is defined to be the time increment from the argument
00088     // 'pseudoTime' to the NEXT point in the time series path
00089     // THIS MAY CHANGE -- MAY BE BETTER TO GET THE TIME INCREMENT
00090     // FROM THE PREVIOUS POINT IN THE PATH UP TO 'pseudoTime', WILL
00092 
00093     virtual void Print(ostream &s, int flag = 0) = 0;        
00094 
00095   protected:
00096  
00097   private:
00098 };
00099 
00100 #endif
Copyright Contact Us