Hermes2D
2.0
|
Adaptivity provides framework for modifying elements in order to decrease errors of the solution. More...
Classes | |
class | Hermes::Hermes2D::Adapt< Scalar > |
Evaluation of an error between a (coarse) solution and a reference solution and adaptivity. More... | |
class | Hermes::Hermes2D::ElementToRefine |
A refinement record. More... | |
class | Hermes::Hermes2D::KellyTypeAdapt< Scalar > |
A framework for explicit aposteriori error estimators. More... | |
class | Hermes::Hermes2D::BasicKellyAdapt< Scalar > |
Simple Kelly-estimator based adaptivity for elliptic problems. More... | |
Macros | |
#define | HERMES_TOTAL_ERROR_REL 0x00 |
Constant used by Adapt::calc_eror(). More... | |
#define | HERMES_TOTAL_ERROR_ABS 0x01 |
#define | HERMES_ELEMENT_ERROR_REL 0x00 |
#define | HERMES_ELEMENT_ERROR_ABS 0x10 |
Adaptivity provides framework for modifying elements in order to decrease errors of the solution.
Adaptivity classes calculate error of every element. An error of an element is calculated either by comparing a coarse solution with a reference solution or by evaluating suitable error estimate. Errors of elements define the order in which elements are examined. During examining an element, a refinement is proposed and the element is refined if applicable. The refinement is proposed through refinement selectors, see Refinement Selectors.
#define HERMES_ELEMENT_ERROR_ABS 0x10 |
An error of an element is a square of an error divided by a square of a norm of a corresponding component. When norms of 2 components are very different (e.g. microwave heating), it can help. Navier-stokes on different meshes work only when absolute error (see ::H2D_ELEMENT_ERROR_ABS) is used.
#define HERMES_ELEMENT_ERROR_REL 0x00 |
The total error is absolute, i.e., it is an integral over squares of differencies.
Definition at line 51 of file global.h.
Referenced by Hermes::Hermes2D::KellyTypeAdapt< Scalar >::calc_err_internal(), and Hermes::Hermes2D::Adapt< Scalar >::calc_err_internal().
#define HERMES_TOTAL_ERROR_ABS 0x01 |
The total error is divided by the norm and therefore it should be in a range[0, 1].
Definition at line 48 of file global.h.
Referenced by Hermes::Hermes2D::KellyTypeAdapt< Scalar >::calc_err_internal(), and Hermes::Hermes2D::Adapt< Scalar >::calc_err_internal().
#define HERMES_TOTAL_ERROR_REL 0x00 |
Constant used by Adapt::calc_eror().
A flag which defines interpretation of the total error.
Definition at line 45 of file global.h.
Referenced by Hermes::Hermes2D::KellyTypeAdapt< Scalar >::calc_err_internal(), and Hermes::Hermes2D::Adapt< Scalar >::calc_err_internal().