Hermes2D  3.0
Hermes::Hermes2D::AdaptStoppingCriterionSingleElement< Scalar > Class Template Reference

#include <adapt.h>

+ Inheritance diagram for Hermes::Hermes2D::AdaptStoppingCriterionSingleElement< Scalar >:

Public Member Functions

 AdaptStoppingCriterionSingleElement (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.
 

Detailed Description

template<typename Scalar>
class Hermes::Hermes2D::AdaptStoppingCriterionSingleElement< Scalar >

Stopping criterion based on maximum element error. The method add_refinement will return false as soon as the particular element carries lower error than AdaptStoppingCriterionSingleElement::threshold times the maximum element error.

Definition at line 82 of file adapt.h.


The documentation for this class was generated from the following files: