|
#include <Refine.hpp>
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
. |