VariableTimeStepDirectIntegrationAnalysis.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.3 $ 00022 // $Date: 2005/11/29 23:36:47 $ 00023 // $Source: /usr/local/cvs/OpenSees/SRC/analysis/analysis/VariableTimeStepDirectIntegrationAnalysis.h,v $ 00024 00025 00026 #ifndef VariableTimeStepDirectIntegrationAnalysis_h 00027 #define VariableTimeStepDirectIntegrationAnalysis_h 00028 00029 // File: ~/analysis/analysis/VariableTimeStepDirectIntegrationAnalysis.h 00030 // 00031 // Written: fmk 00032 // Created: 10/00 00033 // Revision: A 00034 // 00035 // Description: This file contains the class definition for 00036 // VariableTimeStepDirectIntegrationAnalysis. VariableTimeStepDirectIntegrationAnalysis 00037 // is a subclass of DirectIntegrationAnalysis. It is used to perform a 00038 // dynamic analysis on the FE\_Model using a direct integration scheme. 00039 // 00040 // What: "@(#) VariableTimeStepDirectIntegrationAnalysis.h, revA" 00041 00042 #include <DirectIntegrationAnalysis.h> 00043 00044 class ConstraintHandler; 00045 class DOF_Numberer; 00046 class AnalysisModel; 00047 class TransientIntegrator; 00048 class LinearSOE; 00049 class EquiSolnAlgo; 00050 class ConvergenceTest; 00051 00052 class VariableTimeStepDirectIntegrationAnalysis: public DirectIntegrationAnalysis 00053 { 00054 public: 00055 VariableTimeStepDirectIntegrationAnalysis(Domain &theDomain, 00056 ConstraintHandler &theHandler, 00057 DOF_Numberer &theNumberer, 00058 AnalysisModel &theModel, 00059 EquiSolnAlgo &theSolnAlgo, 00060 LinearSOE &theSOE, 00061 TransientIntegrator &theIntegrator, 00062 ConvergenceTest *theTest =0); 00063 virtual ~VariableTimeStepDirectIntegrationAnalysis(); 00064 00065 int analyze(int numSteps, double dT, double dtMin, double dtMax, int Jd); 00066 00067 protected: 00068 virtual double determineDt(double dT, double dtMin, double dtMax, int Jd, 00069 ConvergenceTest *theTest); 00070 00071 private: 00072 }; 00073 00074 #endif 00075 |