00001 00005 class AMG : public DirectSolver 00006 00007 { 00008 00009 public: 00010 00011 AMG (); 00012 AMG (const LinEqSolver_prm& pm); 00013 ~AMG () {} 00014 00015 virtual bool ok () const { return msys.ok(); } 00016 00017 virtual bool solve (LinEqSystem& system); 00018 00019 virtual int getWork 00020 (const LinEqSysWork work_tp = TOTAL_WORK) const; 00021 00022 virtual real getStorage 00023 (const LinEqSysStorage storage_tp = TOTAL_STORAGE) const; 00024 00025 virtual String description () const; 00026 00027 CLASS_INFO 00028 }; 00029 00030