Hermes2D
3.0
|
#include <adapt.h>
Public Member Functions | |
AdaptStoppingCriterionCumulative (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) |
Stopping criterion based on cumulative processed error. The method add_refinement will return false as soon as the already processed refinements counted for AdaptStoppingCriterionCumulative::threshold of the total error.
|
virtual |
Decide if the refinement at hand will be carried out. Will return false as soon as the already processed refinements counted for AdaptStoppingCriterionCumulative::threshold of the total error.
Implements Hermes::Hermes2D::AdaptivityStoppingCriterion< Scalar >.