![]() |
00001 // Copyright (C) 2004 Johan Hoffman and Anders Logg. 00002 // Licensed under the GNU GPL Version 2. 00003 00004 #ifndef __PRECONDITIONER_H 00005 #define __PRECONDITIONER_H 00006 00007 namespace dolfin 00008 { 00009 00010 class Vector; 00011 00023 00024 class Preconditioner 00025 { 00026 public: 00027 00029 Preconditioner(); 00030 00032 virtual ~Preconditioner(); 00033 00035 virtual void solve(Vector& x, const Vector& b) = 0; 00036 00037 }; 00038 00039 } 00040 00041 #endif
Documentation automatically generated with Doxygen on 10 Sep 2004.