Hermes2D
3.0
|
#include <adapt.h>
Public Member Functions | |
AdaptStoppingCriterionLevels (double threshold) | |
Constructor specifying the threshold (see description of threshold). | |
bool | add_refinement (ErrorCalculator< Scalar > *error_calculator, double processed_error_squared, double max_error_squared, int element_inspected_i) |
Decide if the refinement at hand will be carried out. | |
Stopping criterion based on refining elements with similar errors. The method add_refinement will return false as soon as the particular element carries significantly less error than the previous one in the descending sequence. Useful e.g. when we are more interested in overall solution quality than resolution of a steep singularity etc.