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.2 $ 00022 // $Date: 2000/12/13 04:47:09 $ 00023 // $Source: /usr/local/cvs/OpenSees/SRC/analysis/analysis/DirectIntegrationAnalysis.h,v $ 00024 00025 00026 #ifndef DirectIntegrationAnalysis_h 00027 #define DirectIntegrationAnalysis_h 00028 00029 // File: ~/analysis/analysis/DirectIntegrationAnalysis.h 00030 // 00031 // Written: fmk 00032 // Created: 11/96 00033 // Revision: A 00034 // 00035 // Description: This file contains the class definition for 00036 // DirectIntegrationAnalysis. DirectIntegrationAnalysis is a 00037 // subclass of TransientAnalysis. It is used to perform a 00038 // dynamic analysis on the FE\_Model using a direct integration scheme. 00039 // 00040 // What: "@(#) DirectIntegrationAnalysis.h, revA" 00041 00042 #include <TransientAnalysis.h> 00043 00044 #include <ConstraintHandler.h> 00045 #include <DOF_Numberer.h> 00046 #include <AnalysisModel.h> 00047 #include <TransientIntegrator.h> 00048 #include <LinearSOE.h> 00049 #include <EquiSolnAlgo.h> 00050 00083 class DirectIntegrationAnalysis: public TransientAnalysis 00084 { 00085 public: 00089 DirectIntegrationAnalysis(Domain &theDomain, 00090 00091 ConstraintHandler &theHandler, 00092 DOF_Numberer &theNumberer, 00093 AnalysisModel &theModel, 00094 EquiSolnAlgo &theSolnAlgo, 00095 LinearSOE &theSOE, 00096 TransientIntegrator &theIntegrator); 00101 virtual ~DirectIntegrationAnalysis(); 00102 00103 00109 void clearAll(void); 00110 00111 00116 int analyze(int numSteps, double dT); 00117 00119 int initialize(void); 00120 00121 00123 int domainChanged(void); 00124 00126 int setAlgorithm(EquiSolnAlgo &theAlgorithm); 00128 int setIntegrator(TransientIntegrator &theIntegrator); 00130 int setLinearSOE(LinearSOE &theSOE); 00131 00133 int checkDomainChange(void); 00135 EquiSolnAlgo *getAlgorithm(void); 00137 TransientIntegrator *getIntegrator(); 00138 00139 protected: 00140 00141 private: 00143 ConstraintHandler *theConstraintHandler; 00145 DOF_Numberer *theDOF_Numberer; 00147 AnalysisModel *theAnalysisModel; 00149 EquiSolnAlgo *theAlgorithm; 00151 LinearSOE *theSOE; 00153 TransientIntegrator *theIntegrator; 00155 int domainStamp; 00156 }; 00157 00158 #endif 00159