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: 2001/05/03 06:15:34 $ 00023 // $Source: /usr/local/cvs/OpenSees/SRC/analysis/analysis/StaticAnalysis.h,v $ 00024 00025 00026 #ifndef StaticAnalysis_h 00027 #define StaticAnalysis_h 00028 00029 // File: ~/analysis/analysis/StaticAnalysis.h 00030 // 00031 // Written: fmk 00032 // Created: 11/96 00033 // Revision: A 00034 // 00035 // Description: This file contains the interface for the StaticAnalysis 00036 // class. StaticAnalysis is a subclass of Analysis, it is used to perform 00037 // a static analysis on the FE\_Model. 00038 // 00039 // What: "@(#) StaticAnalysis.h, revA" 00040 00041 #include <Analysis.h> 00042 00043 #include <ConstraintHandler.h> 00044 #include <DOF_Numberer.h> 00045 #include <AnalysisModel.h> 00046 #include <StaticIntegrator.h> 00047 #include <LinearSOE.h> 00048 #include <EquiSolnAlgo.h> 00049 00081 class StaticAnalysis: public Analysis 00082 { 00083 public: 00087 StaticAnalysis(Domain &theDomain, 00088 00089 ConstraintHandler &theHandler, 00090 DOF_Numberer &theNumberer, 00091 AnalysisModel &theModel, 00092 EquiSolnAlgo &theSolnAlgo, 00093 LinearSOE &theSOE, 00094 StaticIntegrator &theIntegrator); 00095 00100 ~StaticAnalysis(); 00101 00102 00108 void clearAll(void); 00109 00110 00112 int analyze(int numSteps); 00113 00115 int initialize(void); 00117 int domainChanged(void); 00118 00120 int setAlgorithm(EquiSolnAlgo &theAlgorithm); 00122 int setIntegrator(StaticIntegrator &theIntegrator); 00124 int setLinearSOE(LinearSOE &theSOE); 00125 00126 protected: 00127 00128 private: 00130 ConstraintHandler *theConstraintHandler; 00132 DOF_Numberer *theDOF_Numberer; 00134 AnalysisModel *theAnalysisModel; 00136 EquiSolnAlgo *theAlgorithm; 00138 LinearSOE *theSOE; 00140 StaticIntegrator *theIntegrator; 00142 int domainStamp; 00143 }; 00144 00145 #endif