ug4
ug::IElementMarkingStrategy< TDomain > Class Template Referenceabstract

Abstract base class for element marking (in adaptive refinement) More...

#include <error_elem_marking_strategy.h>

+ Inheritance diagram for ug::IElementMarkingStrategy< TDomain >:

Public Types

typedef Grid::AttachmentAccessor< elem_type, ug::Attachment< number > > elem_accessor_type
 
typedef domain_traits< dim >::element_type elem_type
 element type to be marked More...
 

Public Member Functions

number global_estimated_error () const
 
number global_estimated_error_per_elem_max () const
 
number global_estimated_error_per_elem_min () const
 
 IElementMarkingStrategy ()
 
void mark (IMultigridElementIndicators< TDomain > &mgElemIndicators, IRefiner &refiner, ConstSmartPtr< DoFDistribution > dd)
 This function marks all elements. More...
 
virtual ~IElementMarkingStrategy ()
 

Static Public Attributes

static const int dim = TDomain::dim
 world dimension More...
 

Protected Member Functions

virtual void mark (elem_accessor_type &aaError, IRefiner &refiner, ConstSmartPtr< DoFDistribution > dd)=0
 DEPRECATED: More...
 

Protected Attributes

number m_latest_error
 
number m_latest_error_per_elem_max
 
number m_latest_error_per_elem_min
 

Detailed Description

template<typename TDomain>
class ug::IElementMarkingStrategy< TDomain >

Abstract base class for element marking (in adaptive refinement)

Member Typedef Documentation

◆ elem_accessor_type

◆ elem_type

template<typename TDomain >
typedef domain_traits<dim>::element_type ug::IElementMarkingStrategy< TDomain >::elem_type

element type to be marked

Constructor & Destructor Documentation

◆ IElementMarkingStrategy()

template<typename TDomain >
ug::IElementMarkingStrategy< TDomain >::IElementMarkingStrategy ( )
inline

◆ ~IElementMarkingStrategy()

template<typename TDomain >
virtual ug::IElementMarkingStrategy< TDomain >::~IElementMarkingStrategy ( )
inlinevirtual

Member Function Documentation

◆ global_estimated_error()

template<typename TDomain >
number ug::IElementMarkingStrategy< TDomain >::global_estimated_error ( ) const
inline

◆ global_estimated_error_per_elem_max()

template<typename TDomain >
number ug::IElementMarkingStrategy< TDomain >::global_estimated_error_per_elem_max ( ) const
inline

◆ global_estimated_error_per_elem_min()

template<typename TDomain >
number ug::IElementMarkingStrategy< TDomain >::global_estimated_error_per_elem_min ( ) const
inline

◆ mark() [1/2]

◆ mark() [2/2]

template<typename TDomain >
void ug::IElementMarkingStrategy< TDomain >::mark ( IMultigridElementIndicators< TDomain > &  mgElemIndicators,
IRefiner refiner,
ConstSmartPtr< DoFDistribution dd 
)
inline

This function marks all elements.

References ug::IMultigridElementIndicators< TDomain >::errors().

Member Data Documentation

◆ dim

template<typename TDomain >
const int ug::IElementMarkingStrategy< TDomain >::dim = TDomain::dim
static

world dimension

◆ m_latest_error

template<typename TDomain >
number ug::IElementMarkingStrategy< TDomain >::m_latest_error
protected

◆ m_latest_error_per_elem_max

template<typename TDomain >
number ug::IElementMarkingStrategy< TDomain >::m_latest_error_per_elem_max
protected

◆ m_latest_error_per_elem_min

template<typename TDomain >
number ug::IElementMarkingStrategy< TDomain >::m_latest_error_per_elem_min
protected

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