KASKADE 7 development version
|
Fixed fraction refinement criterion. Determines the refinement thresholds such that at least the specified fraction of the cells are marked for refinement. This ensures that not too few cells are marked, which could lead to very many refinement iterations, but may lead to erratic refinement if there are indeed only very local refinements necessary. More...
#include <errorest.hh>
Fixed fraction refinement criterion. Determines the refinement thresholds such that at least the specified fraction of the cells are marked for refinement. This ensures that not too few cells are marked, which could lead to very many refinement iterations, but may lead to erratic refinement if there are indeed only very local refinements necessary.
In very rare circumstances (namely when there are many cells with exactly the same local error estimate), much more cells than the required fraction can be marked for refinement.
Definition at line 80 of file errorest.hh.
Public Member Functions | |
FixedFractionCriterion (double fraction=0.2) | |
std::vector< double > | threshold (boost::multi_array< double, 2 > const &normalizedErrors) const |
Computes the thresholds for refinement. More... | |
Kaskade::FixedFractionCriterion::FixedFractionCriterion | ( | double | fraction = 0.2 | ) |
|
inherited |
Computes the thresholds for refinement.
normalizedErrors | a twodimensional array containing the normalized error contribution for each cell and each variable, i.e. normalizedErrors[i][j] contains the error contribution of cell i to the error in variable j, divided by the tolerance, such that the sum over i should not exceed one (for acceptance) |
Referenced by Kaskade::EmbeddedErrorEstimator< VariableSetDescription, Scaling >::estimate().