EigenAnalysis.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.1.1.1 $ 00022 // $Date: 2000/09/15 08:23:16 $ 00023 // $Source: /usr/local/cvs/OpenSees/SRC/analysis/analysis/EigenAnalysis.h,v $ 00024 00025 00026 // File: ~/analysis/analysis/eigenAnalysis/EigenAnalysis.h 00027 // 00028 // Written: Jun Peng 00029 // Created: Wed Jan 27, 1999 00030 // Revision: A 00031 // 00032 // Description: This file contains the class definition of EigenAnalysis. 00033 // EigenAnalysis is a subclass of Analysis, it is used to perform the 00034 // eigen vlaue analysis on the FE_Model. 00035 // 00036 // This class is inheritanted from the base class of Analysis 00037 // which was created by fmk (Frank). 00038 00039 00040 #ifndef EigenAnalysis_h 00041 #define EigenAnalysis_h 00042 00043 #include <Analysis.h> 00044 00045 class ConstraintHandler; 00046 class DOF_Numberer; 00047 class AnalysisModel; 00048 class EigenAlgorithm; 00049 class EigenIntegrator; 00050 class EigenSOE; 00051 00052 class EigenAnalysis : public Analysis 00053 { 00054 public: 00055 EigenAnalysis(Domain &theDomain, 00056 ConstraintHandler &theHandler, 00057 DOF_Numberer &theNumberer, 00058 AnalysisModel &theModel, 00059 EigenAlgorithm &theAlgo, 00060 EigenSOE &theSOE, 00061 EigenIntegrator &theIntegrator); 00062 00063 virtual ~EigenAnalysis(); 00064 00065 virtual int analyze(int numModes); 00066 void clearAll(void); 00067 virtual int domainChanged(); 00068 00069 virtual int setAlgorithm(EigenAlgorithm &theAlgo); 00070 virtual int setIntegrator(EigenIntegrator &theIntegrator); 00071 virtual int setEigenSOE(EigenSOE &theSOE); 00072 00073 protected: 00074 ConstraintHandler *getConstraintHandlerPtr() const; 00075 DOF_Numberer *getDOF_NumbererPtr() const; 00076 AnalysisModel *getAnalysisModelPtr() const; 00077 EigenAlgorithm *getEigenAlgorithm() const; 00078 EigenSOE *getEigenSOE() const; 00079 EigenIntegrator *getEigenIntegrator() const; 00080 00081 private: 00082 ConstraintHandler *theConstraintHandler; 00083 DOF_Numberer *theDOF_Numberer; 00084 AnalysisModel *theAnalysisModel; 00085 EigenAlgorithm *theAlgorithm; 00086 EigenSOE *theSOE; 00087 EigenIntegrator *theIntegrator; 00088 int domainStamp; 00089 }; 00090 00091 #endif 00092 |