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  

AdaptivityCriterion Class Reference

AdaptivityCriterion provides the criteria for the refinement process. First one has to set a refinement strategy and the appropriate parameters. More...

#include <Refine.hpp>

List of all members.

Public Types

enum  {
  REFINEBOUNDBOX = 1 , L2_THRESHOLD = 0, H1_THRESHOLD = 1 , Hq_THRESHOLD = 5 ,
  SPARSE_GRID = 2, FIXED_LEVEL = 3 , ANY = 4
}
 values for the refinement strategy:
a wavelet coefficient fulfills the refinement criterion, if
L2_THRESHOLD:
H1_THRESHOLD:
Hq_THRESHOLD:
ANY: any wavelet coefficients fulfills the criterion
REFINEBOUNDBOX: size of neighbourhood to be inserted around an active index (default: 1)
.



Public Methods

 AdaptivityCriterion ()
 default constructor.

 AdaptivityCriterion (const int strategy)
 with selection of strategy.

 AdaptivityCriterion (const int strategy, const double eps)
 with selection of strategy and threshold parameter.

void SetStrategy (const int s)
 just set the strategy.

void SetStrategy (const int s, const double eps)
 set the strategy and threshold parameter.

void SetEps (const double eps)
 just set the threshold parameter.

void Print ()
 print.

bool IsActive (const double waveletcoefficient, const int *l, const int Level0, const int Dim)
 return true, if the given waveletcoefficient satisfies the refinement criterion, which may additionally depend on the level.


Public Attributes

double qinf
 weights for coefficients .

double q1
 weights for coefficients .


The documentation for this class was generated from the following files:
Generated at Mon Aug 19 10:02:32 2002 for AWFD by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001