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 #include <ConstraintHandler.h>
00046 #include <DOF_Numberer.h>
00047 #include <AnalysisModel.h>
00048 #include <EigenAlgorithm.h>
00049 #include <EigenIntegrator.h>
00050 #include <EigenSOE.h>
00051
00053 class EigenAnalysis : public Analysis
00054 {
00055 public:
00057 EigenAnalysis(Domain &theDomain,
00058 ConstraintHandler &theHandler,
00059 DOF_Numberer &theNumberer,
00060 AnalysisModel &theModel,
00061 EigenAlgorithm &theAlgo,
00062 EigenSOE &theSOE,
00063 EigenIntegrator &theIntegrator);
00064
00066 virtual ~EigenAnalysis();
00067
00069 virtual int analyze(int numModes);
00071 void clearAll(void);
00073 virtual int domainChanged();
00074
00076 virtual int setAlgorithm(EigenAlgorithm &theAlgo);
00078 virtual int setIntegrator(EigenIntegrator &theIntegrator);
00080 virtual int setEigenSOE(EigenSOE &theSOE);
00081
00082 protected:
00084 ConstraintHandler *getConstraintHandlerPtr() const;
00086 DOF_Numberer *getDOF_NumbererPtr() const;
00088 AnalysisModel *getAnalysisModelPtr() const;
00090 EigenAlgorithm *getEigenAlgorithm() const;
00092 EigenSOE *getEigenSOE() const;
00094 EigenIntegrator *getEigenIntegrator() const;
00095
00096 private:
00098 ConstraintHandler *theConstraintHandler;
00100 DOF_Numberer *theDOF_Numberer;
00102 AnalysisModel *theAnalysisModel;
00104 EigenAlgorithm *theAlgorithm;
00106 EigenSOE *theSOE;
00108 EigenIntegrator *theIntegrator;
00110 int domainStamp;
00111 };
00112
00113 #endif
00114
00115 ÿ