Department of Scientific Computing   
Institute for Numerical Simulation   
University of Bonn   
Documentation
Download
Programming References
Bug Reports / Suggestions
FAQ
Authors
Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

Refine.hpp

00001 //
00002 // class fuer Refine
00003 //
00004 
00005 #ifndef _REFINE_
00006 # define _REFINE_
00007 
00008 #include "Wavelet.hpp"
00009 
00012 class AdaptivityCriterion {
00013 public:
00014   
00016        AdaptivityCriterion()                                    ;
00018        AdaptivityCriterion(const int strategy)                  ;
00020        AdaptivityCriterion(const int strategy,const double eps) ;
00021 
00023   void SetStrategy(const int s)                  ;
00025   void SetStrategy(const int s,const double eps) ;
00027   void SetEps     (const double eps)             ;
00029   void Print() ;
00030 
00032   bool IsActive(const double waveletcoefficient,const int *l,const int Level0,const int Dim) ;
00033 
00041   enum { REFINEBOUNDBOX=1 , L2_THRESHOLD=0, H1_THRESHOLD=1 , Hq_THRESHOLD=5 ,SPARSE_GRID=2, FIXED_LEVEL=3 , ANY=4 } ;
00042 
00043   double eps ;
00044   int    strategy ;
00045   int    MaxLevel ;
00047   double qinf,q1  ;
00048 } ;
00049 
00050 #endif

Generated at Mon Aug 19 10:02:32 2002 for AWFD by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001