00001 00005 class RefinementInd_prm : public HandleId 00006 00007 { 00008 friend class GridRefAdm; 00009 protected: 00010 StringList subclasses; 00011 static Handle(RefinementInd_prm) master; 00012 virtual RefinementInd_prm* clone () { return new RefinementInd_prm(); } 00013 RefinementInd_prm (); 00014 public: 00015 static RefinementInd_prm* construct (); 00016 virtual ~RefinementInd_prm () {} 00017 00018 String indicator; 00019 00020 Hypercubes hypercubes; 00021 Disks disks; 00022 real contour_value; 00023 real func_time; 00024 VecSimple(int) usr_elm_list; 00025 bool refine_neighbors2; 00026 00027 real eval_error; 00028 bool error_for_stop; 00029 00030 static void defineStatic (MenuSystem& menu, int level); 00031 virtual void define (MenuSystem& menu, int level) 00032 { defineStatic (menu, level); } 00033 virtual void scan (MenuSystem& menu); 00034 00035 virtual void attach (VecSimple(int)& elm_list, 00036 bool refine_neighbors2 = false); 00037 virtual void addPoints (const VecSimple(Ptv(real))& center); 00038 virtual void setFuncTime (real time) { func_time = time; } 00039 virtual void setContourValue (real value) { contour_value = value; } 00040 00041 virtual RefinementInd* create () const; 00042 const StringList& hier () const { return subclasses; } 00043 static const StringList& hierStatic () { return master->hier(); } 00044 static void registerPrmSubclass (RefinementInd_prm& sc) 00045 { master.rebind (sc); } 00046 static void unregisterPrmSubclass () 00047 { master.rebind (new RefinementInd_prm()); } 00048 }; 00049 00050