Hermes2D
3.0
|
#include <adapt.h>
Public Member Functions | |
virtual bool | add_refinement (ErrorCalculator< Scalar > *error_calculator, double processed_error_squared, double max_error_squared, int element_inspected_i)=0 |
Class for selecting the stopping criterion of the loop over all elements in an descending order wrt. their error.
Serves for only inspect such a portion of all elements of all meshes in the system for potential refinement.
|
pure virtual |
Main AdaptivityStoppingCriterion method. It is evaluated in the loop over all elements in an descending order wrt. their error. The loop ends with the first negative result of a call to this method. Decide if the refinement at hand will be carried out.
Implemented in Hermes::Hermes2D::AdaptStoppingCriterionLevels< Scalar >, Hermes::Hermes2D::AdaptStoppingCriterionSingleElement< Scalar >, and Hermes::Hermes2D::AdaptStoppingCriterionCumulative< Scalar >.