Dune-Fufem 2.11-git
Loading...
Searching...
No Matches
ErrorFractionMarkingStrategy< GridType > Class Template Reference

This marking strategy marks local indicators providing a given fraction of the global error in descending order. All elements attached to these indicators are marked for refinement. More...

#include <dune/fufem/estimators/errorfractionmarking.hh>

Static Public Member Functions

static void mark (RefinementIndicator< GridType > &refinementIndicator, GridType &grid, double fraction)
 
static void mark (const std::vector< RefinementIndicator< GridType > * > &refinementIndicator, const std::vector< GridType * > &grids, double fraction)
 Sorts the errors associated to all subentities of all grids and marks all those elements (for refimenent) that have a subentity among the top percentage.
 

Detailed Description

template<class GridType>
class ErrorFractionMarkingStrategy< GridType >

This marking strategy marks local indicators providing a given fraction of the global error in descending order. All elements attached to these indicators are marked for refinement.

This is a local indicator (nstead of element) oriented version of the marking strategy (M*) in

'A Convergent Adaptive Algorithm for Poisson's Equation', W.Dörfler, Sinum, 1996, Vol. 33

The fraction \(\alpha\) given to the mark method corresponds to \(\alpha=(1-\theta_*)^2\) in the above paper.

Member Function Documentation

◆ mark() [1/2]

template<class GridType >
void ErrorFractionMarkingStrategy< GridType >::mark ( const std::vector< RefinementIndicator< GridType > * > &  refinementIndicator,
const std::vector< GridType * > &  grids,
double  fraction 
)
static

Sorts the errors associated to all subentities of all grids and marks all those elements (for refimenent) that have a subentity among the top percentage.

Parameters
refinementIndicatorFor each grid, the errors associated with its entities are provided here.
gridsA std::vector of grid pointers to consider.
fractionSpecifies the fraction of the error to be taken into account for refinement.

◆ mark() [2/2]

template<class GridType >
void ErrorFractionMarkingStrategy< GridType >::mark ( RefinementIndicator< GridType > &  refinementIndicator,
GridType &  grid,
double  fraction 
)
static

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