Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

EigenAlgorithm.h

Go 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/algorithm/eigenAlgo/EigenAlgorithm.h,v $
00024                                                                         
00025                                                                         
00026 // File: ~/analysis/algorithm/eigenAlgo/EigenAlgorithm.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 EigenAlgorithm.
00033 // EigenAlgorithm is a class which performs a eigen solution algorithm
00034 // to solve the equations. 
00035 //
00036 // This class is inheritanted from the base class of SolutionAlgorithm
00037 // which was created by fmk (Frank).
00038 
00039 
00040 #ifndef EigenAlgorithm_h
00041 #define EigenAlgorithm_h
00042 
00043 #include <SolutionAlgorithm.h>
00044 
00045 #include <AnalysisModel.h>
00046 #include <EigenSOE.h>
00047 #include <EigenIntegrator.h>
00048 
00050 class EigenAlgorithm : public SolutionAlgorithm
00051 {
00052   public:
00054      EigenAlgorithm(int classTag);
00056      virtual ~EigenAlgorithm();
00057      
00059      virtual void setLinks(AnalysisModel &theModel,
00060      EigenIntegrator &theIntegrator,
00061      EigenSOE &theSOE);
00062      
00064      virtual int solveCurrentStep(int numModes) = 0;
00066      virtual void Print(ostream &s, int flag=0) = 0;
00067      
00069      virtual AnalysisModel *getAnalysisModelPtr() const;
00071      virtual EigenIntegrator *getEigenIntegratorPtr() const;
00073      virtual EigenSOE *getEigenSOEptr() const;
00074  
00075   protected:
00076   
00077   private:
00079      AnalysisModel  *theModel;
00081      EigenIntegrator *theIntegrator;
00083      EigenSOE *theSOE;
00084      
00085 };
00086 
00087 #endif
00088 ÿ
Copyright Contact Us