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:40:23 $
00023 // $Source: /usr/local/cvs/OpenSees/SRC/domain/pattern/TrapezoidalTimeSeriesIntegrator.h,v $
00024
00025
00026 // File: src/domain/TrapezoidalTimeSeriesIntegrator.h
00027 //
00028 // Written: MHS
00029 // Created: 10/99
00030 // Revision: A
00031 //
00032 // Description: This file contains the class definition for
00033 // a TrapezoidalTimeSeriesIntegrator, which integrates a
00034 // ground motion TimeSeries using the trapezoidal rule.
00035 //
00036 // What: "@(#) TrapezoidalTimeSeriesIntegrator.h, revA"
00037
00038 #ifndef TrapezoidalTimeSeriesIntegrator_h
00039 #define TrapezoidalTimeSeriesIntegrator_h
00040
00041 #include <TimeSeriesIntegrator.h>
00042
00044 class TrapezoidalTimeSeriesIntegrator : public TimeSeriesIntegrator
00045 {
00046 public:
00048 TrapezoidalTimeSeriesIntegrator();
00049
00051 ~TrapezoidalTimeSeriesIntegrator();
00052
00054 TimeSeries* integrate(TimeSeries *theTimeSeries, double delta);
00055
00057 int sendSelf(int commitTag, Channel &theChannel);
00059 int recvSelf(int commitTag, Channel &theChannel,
00060 FEM_ObjectBroker &theBroker);
00061
00063 void Print(ostream &s, int flag =0);
00064
00065 protected:
00066
00067 private:
00068 };
00069
00070 #endif
00071 ÿ