00001 #ifndef __FAmosRestorationLS__
00002 #define __FAmosRestorationLS__
00003 
00004 
00024 #include <stdio.h>
00025 
00026 #include "AFSplittedRestorationLS.hpp"
00027 
00028 
00029 class FAmosRestorationLS : public  AFSplittedRestorationLS
00030 {
00031 protected:
00032 
00033 bool                    cfl;
00034 
00035 AFSymMatrix*    A1left;         
00036 AFSymMatrix*    A2left;         
00037 
00038 AFSymMatrix*    A1right;                
00039 AFSymMatrix*    A2right;                
00040 
00041 protected:
00042 
00043 
00044 virtual FImage*         solveSingle(FImage* uk, FImage* uk1=0);
00045         
00046 public:
00047 FAmosRestorationLS(int outerIter, int innerIter, double t, AFSpatialDiscretisation* smodel,
00048                                 bool cflTest=true, bool normalized=true, bool nonLinearFlag=true);
00049 FAmosRestorationLS(int model, int outerIter, int innerIter, double t, AFSpatialDiscretisation* smodel,
00050                                 bool cflTest=true, bool normalized=true, bool nonLinearFlag=true);
00051 virtual ~FAmosRestorationLS(){}
00052 
00053 
00054 virtual void report(FILE* file){ fprintf(file,"Amos 2D restoration\n"); }
00055 };
00056 
00057 
00058 #endif