00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef BandArpackSOE_h
00021 #define BandArpackSOE_h
00022
00023 #include <EigenSOE.h>
00024 #include <Vector.h>
00025
00026 #include <AnalysisModel.h>
00027 #include <BandArpackSolver.h>
00028
00030 class BandArpackSOE : public EigenSOE
00031 {
00032 public:
00034 BandArpackSOE(BandArpackSolver &theSolver, AnalysisModel &theModel,
00035 double shift = 0.0);
00036
00038 virtual ~BandArpackSOE();
00039
00041 virtual int getNumEqn(void) const;
00043 virtual int setSize(Graph &theGraph);
00044
00046 virtual int addA(const Matrix &, const ID &, double fact = 1.0);
00048 virtual int addM(const Matrix &, const ID &, double fact = 1.0);
00049
00051 virtual void zeroA(void);
00053 virtual void zeroM(void);
00054
00056 virtual double getShift(void);
00057
00059 int sendSelf(int commitTag, Channel &theChannel);
00061 int recvSelf(int commitTag, Channel &theChannel,
00062 FEM_ObjectBroker &theBroker);
00063
00065 friend #include <BandArpackSolver.h>
00066
00067 protected:
00068
00069 private:
00070 int size, numSuperD, numSubD;
00072 double *A;
00074 int Asize;
00076 bool factored;
00078 double shift;
00080 AnalysisModel *theModel;
00081
00082 };
00083
00084
00085 #endif
00086
00087
00088
00089 ÿ