EigenSolver.h

Go to the documentation of this file.
00001 // File: ~/system_of_eqn/eigenSOE/EigenSolver.C
00002 //
00003 // Written: Jun Peng
00004 // Created: Sat Feb. 6, 1999
00005 // Revision: A
00006 //
00007 // Description: This file contains the class definition of EigenSOE.
00008 // EigenSOE is a subclass of Solver.
00009 // This is an abstract base class and thus no objects of it's type
00010 // can be instantiated. Instances of EigenSolver are used to solve
00011 // a EigenSOE. (perform eigen analysis)
00012 //
00013 // This class is inheritanted from the base class of Solver
00014 // which was created by fmk (Frank).
00015 
00016 
00017 #ifndef EigenSolver_h
00018 #define EigenSolver_h
00019 
00020 #include <Solver.h>
00021 #include <Vector.h>
00022 
00023 class EigenSOE;
00024 
00025 class EigenSolver : public Solver
00026 {
00027   public:
00028      EigenSolver(int classTag);
00029      virtual ~EigenSolver();
00030 
00031      virtual int solve(void) =0;
00032      virtual int solve(int numModes) =0;     
00033      virtual const Vector &getEigenvector(int mode) = 0;
00034      virtual double getEigenvalue(int mode) = 0;     
00035 
00036      virtual int setSize() = 0;
00037      
00038   private:
00039 
00040 };
00041 
00042 #endif

Generated on Mon Oct 23 15:05:27 2006 for OpenSees by doxygen 1.5.0