00001 #ifndef __F_QmrCgStab2LS_H__ 00002 #define __F_QmrCgStab2LS_H__ 00003 00004 00035 #include <stdio.h> 00036 #include "F_QmrCgStabLS.hpp" 00037 00038 00039 class F_QmrCgStab2LS : public F_QmrCgStabLS 00040 { 00041 protected: 00042 00043 virtual FloatVector* singleSolve(AFloatMatrix* A, FloatVector* b, FloatVector* x=0); 00044 00045 public: 00046 F_QmrCgStab2LS(int maxIterations, double epsilon=1.0e-4):F_QmrCgStabLS(maxIterations, epsilon) 00047 { r=p= rbar0=s=v=d=dt=t= 0;} 00048 virtual ~F_QmrCgStab2LS(){} 00049 }; 00050 00051 #endif 00052