ug4
|
This class encapsulates the multi-grid attachments for error estimation. More...
#include <error_elem_marking_strategy.h>
Public Types | |
typedef MultiGrid::AttachmentAccessor< elem_type, error_attachment_type > | attachment_accessor_type |
typedef domain_traits< dim >::element_type | elem_type |
typedef Attachment< number > | error_attachment_type |
Public Member Functions | |
void | attach_indicators (SmartPtr< MultiGrid > pMG) |
Attach error indicator to multigrid. More... | |
void | detach_indicators () |
Detach error indicator from multigrid. More... | |
number & | error (typename attachment_accessor_type::atraits::ConstElemPtr pElem) |
returns error indicator value More... | |
const number & | error (typename attachment_accessor_type::atraits::ConstElemPtr pElem) const |
returns error indicator value More... | |
attachment_accessor_type & | errors () |
IMultigridElementIndicators () | |
CTOR. More... | |
~IMultigridElementIndicators () | |
DTOR. More... | |
Static Public Attributes | |
static const int | dim = TDomain::dim |
world dimension More... | |
Protected Attributes | |
attachment_accessor_type | m_aaError |
error_attachment_type | m_aError |
SmartPtr< MultiGrid > | m_pMG |
Friends | |
class | IElementMarkingStrategy< TDomain > |
This class encapsulates the multi-grid attachments for error estimation.
Purpose: replaces direct access to 'm_aaError' etc.
typedef MultiGrid::AttachmentAccessor<elem_type, error_attachment_type > ug::IMultigridElementIndicators< TDomain >::attachment_accessor_type |
typedef domain_traits<dim>::element_type ug::IMultigridElementIndicators< TDomain >::elem_type |
typedef Attachment<number> ug::IMultigridElementIndicators< TDomain >::error_attachment_type |
|
inline |
CTOR.
|
inline |
DTOR.
References ug::IMultigridElementIndicators< TDomain >::detach_indicators().
|
inline |
Attach error indicator to multigrid.
References ug::IMultigridElementIndicators< TDomain >::m_aaError, ug::IMultigridElementIndicators< TDomain >::m_aError, and ug::IMultigridElementIndicators< TDomain >::m_pMG.
|
inline |
Detach error indicator from multigrid.
References SmartPtr< T, FreePolicy >::invalid(), ug::IMultigridElementIndicators< TDomain >::m_aError, and ug::IMultigridElementIndicators< TDomain >::m_pMG.
Referenced by ug::IMultigridElementIndicators< TDomain >::~IMultigridElementIndicators().
|
inline |
returns error indicator value
References ug::IMultigridElementIndicators< TDomain >::m_aaError.
|
inline |
returns error indicator value
References ug::IMultigridElementIndicators< TDomain >::m_aaError.
|
inline |
TODO: remove this function (mbreit: no, please leave it, it is very useful, at least with const access)
References ug::IMultigridElementIndicators< TDomain >::m_aaError.
Referenced by ug::IElementMarkingStrategy< TDomain >::mark().
|
friend |
|
static |
world dimension
|
protected |
|
protected |
|
protected |