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

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 #include <EigenSOE.h>
00024 
00026 class EigenSolver : public Solver
00027 {
00028   public:
00030      EigenSolver(int classTag);
00032      virtual ~EigenSolver();
00033 
00035      virtual int solve(void) =0;
00037      virtual int solve(int numModes) =0;     
00039      virtual const Vector &getEigenvector(int mode) = 0;
00041      virtual double getEigenvalue(int mode) = 0;     
00042 
00044      virtual int setSize() = 0;
00045      
00046   private:
00047 
00048 };
00049 
00050 #endif
00051 ÿ
Copyright Contact Us