Newmark1.hGo 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.5 $ 00022 // $Date: 2003/02/14 23:00:49 $ 00023 // $Source: /usr/local/cvs/OpenSees/SRC/analysis/integrator/Newmark1.h,v $ 00024 00025 00026 #ifndef Newmark1_h 00027 #define Newmark1_h 00028 00029 // File: ~/analysis/integrator/Newmark1.h 00030 // 00031 // Written: fmk 00032 // Created: 11/98 00033 // Revision: A 00034 // 00035 // Description: This file contains the class definition for Newmark1. 00036 // Newmark1 is an algorithmic class for performing a transient analysis 00037 // using the Newmark1 integration scheme. 00038 // 00039 // What: "@(#) Newmark1.h, revA" 00040 00041 #include <TransientIntegrator.h> 00042 00043 class DOF_Group; 00044 class FE_Element; 00045 class Vector; 00046 00047 class Newmark1 : public TransientIntegrator 00048 { 00049 public: 00050 Newmark1(); 00051 Newmark1(double gamma, double beta, bool disp = true); 00052 Newmark1(double gamma, double beta, double alphaM, double betaK, double betaKi, double betaKc); 00053 00054 ~Newmark1(); 00055 00056 // methods which define what the FE_Element and DOF_Groups add 00057 // to the system of equation object. 00058 int formEleTangent(FE_Element *theEle); 00059 int formNodTangent(DOF_Group *theDof); 00060 00061 int domainChanged(void); 00062 int initialize(void); 00063 int newStep(double deltaT); 00064 int revertToLastStep(void); 00065 int update(const Vector &deltaU); 00066 00067 virtual int sendSelf(int commitTag, Channel &theChannel); 00068 virtual int recvSelf(int commitTag, Channel &theChannel, 00069 FEM_ObjectBroker &theBroker); 00070 00071 void Print(OPS_Stream &s, int flag =0); 00072 00073 protected: 00074 00075 private: 00076 double gamma; 00077 double beta; 00078 00079 double alphaM, betaK, betaKi, betaKc; 00080 double c1, c2, c3, c4; // some constants we need to keep 00081 Vector *Up, *Updot; // predicted response quantities at time t+deltat for 1st iter 00082 Vector *U, *Udot, *Udotdot; //response quantities at time t+deltat = predicted + corrected 00083 00084 }; 00085 00086 #endif 00087 |