KASKADE 7 development version
|
Embedded error estimation and mesh refinement. More...
#include <embedded_errorest.hh>
Embedded error estimation and mesh refinement.
Given an approximate solution \( u \) and an explicit error approximation representation \( \delta u \) from the same finite element spaces, this error estimator computes
\[ \epsilon_i = \int_\Omega (s_u(u)\delta u)^2 \, dx, \quad \eta_i = \int_\Omega s(u)^2 \, dx. \]
If \( \epsilon_i > \mathrm{aTOL}_i^2 + \mathrm{rTOL}_i^2 \eta_i \) for any \( i \), the mesh is refined.
The cells with largest contribution to \( \epsilon_i \) are marked for refinement.
Definition at line 315 of file embedded_errorest.hh.
Public Types | |
typedef GridManager< typename VariableSetDescription::Grid > | GManager |
typedef EmbeddedErrorEstimator< VariableSetDescription, Scaling > | Self |
Public Member Functions | |
EmbeddedErrorEstimator (GManager &gridManager_, VariableSetDescription const &varDesc_, Scaling const &scaling_=Scaling()) | |
Constructor. More... | |
bool | estimate (typename VariableSetDescription::VariableSet const &err, typename VariableSetDescription::VariableSet const &sol) const |
perform error estimation More... | |
Self & | setTolerances (std::vector< std::pair< double, double > > const &tol_) |
set the tolerances More... | |
Self & | setScaling (Scaling const &scaling_) |
set the scaling More... | |
Self & | setCriterion (RefinementCriterion const &criterion_) |
set the refinement criterion More... | |
Self & | setVerbosity (int verbosity_) |
set the verbosity level More... | |