00001 #ifndef __CGilboaNonLinearDiffRmpOp__ 00002 #define __CGilboaNonLinearDiffRmpOp__ 00003 00004 00030 #include <stdio.h> 00031 00032 #include "CGilboaLinearDiffOp.hpp" 00033 00034 00035 class CGilboaNonLinearDiffRmpOp : public CGilboaLinearDiffOp 00036 { 00037 protected: 00038 00039 double k; 00040 00041 protected: 00042 00043 // conductivity 00044 virtual RComplex cN(CImage* image, int x, int y); 00045 virtual RComplex cW(CImage* image, int x, int y); 00046 virtual RComplex cS(CImage* image, int x, int y); 00047 virtual RComplex cE(CImage* image, int x, int y); 00048 00049 public: 00050 00051 CGilboaNonLinearDiffRmpOp(int iterations=8, double t=0.2, double ctheta=0.001, double asigma=0.0, double kval=2.0) 00052 :CGilboaLinearDiffOp(iterations, t, ctheta, asigma){k= kval;} 00053 virtual ~CGilboaNonLinearDiffRmpOp(){} 00054 00055 virtual void report(FILE* file){ fprintf(file,"CGilboaNonLinearDiffRmpOp\n"); } 00056 }; 00057 00058 00059 #endif