optadaptor.h

Go to the documentation of this file.
00001 #ifndef __optadaptor_h
00002 #define __optadaptor_h
00003 
00004 #include "gascoigne.h"
00005 #include "adaptordata.h"
00006 
00007 /*********************************************************************/
00008 
00009 namespace Gascoigne
00010 {
00011 class OptAdaptor
00012 {
00013  protected:
00014 
00015   int d,p,p2,p4,n_aimed;
00016   int refined, double_refined, coarsened, marge, used;
00017 
00018   double co, dd, pp, factor;
00019 
00020   AdaptorData&             info;
00021   const DoubleVector&   vol;
00022         DoubleVector&   eta;
00023 
00024   void prepare();
00025 
00026 public:
00027 
00028   OptAdaptor  (AdaptorData&, DoubleVector&, const DoubleVector&);
00029 
00030   void refine (IntVector&);
00031   void coarse (IntVector&);
00032   void RefineGnuplot (IntVector&);
00033 };
00034 }
00035 
00036 /*********************************************************************/
00037 
00038 #endif

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