malteadaptor.h

Go to the documentation of this file.
00001 #ifndef  __MalteAdaptor_h
00002 #define  __MalteAdaptor_h
00003 
00004 #include  "gascoigne.h"
00005 #include  "adaptordata.h"
00006 #include  "paramfile.h"
00007 
00008 
00009 namespace Gascoigne
00010 {
00011 
00012 //
00023 //
00024 
00025 class MalteAdaptor
00026 {
00027 protected:
00028 
00029   const  DoubleVector&   eta;
00030   int    ppp, coarsening, refining, maxnodes, N;
00031   double etasum, gamma, alpha, beta, yfactor;
00032 
00033   double Expectation(double theta, double x) const;
00034   double Expectation(double thetax, double thetay, double x, double y) const;
00035   double ExpectationCoarsening(double theta, double x) const;
00036   void   refine_and_coarse(IntVector& ref, IntVector& coarse) const;
00037 
00038 public:
00039 
00040   MalteAdaptor(const ParamFile* pf, const DoubleVector& eta);
00041   void coarse(IntVector& coarse) const;
00042   void refine(IntVector& ref) const;
00043   void refine(IntVector& ref, IntVector& coarse) const;
00044 };
00045 }
00046 
00047 #endif

Generated on Thu Sep 14 10:34:37 2006 for Gascoigne by  doxygen 1.4.7