ug4
|
#include <error_elem_marking_strategy.h>
Public Types | |
typedef IElementMarkingStrategy< TDomain > | base_type |
Public Types inherited from ug::IElementMarkingStrategy< TDomain > | |
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 | |
APosterioriCoarsening (number theta=0.1) | |
void | set_max_level (int lvl) |
void | set_min_level (int lvl) |
Public Member Functions inherited from ug::IElementMarkingStrategy< TDomain > | |
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 () |
Protected Member Functions | |
void | mark (typename base_type::elem_accessor_type &aaErrorSq, IRefiner &refiner, ConstSmartPtr< DoFDistribution > dd) |
DEPRECATED: More... | |
Protected Attributes | |
int | m_max_level |
int | m_min_level |
number | m_theta |
Protected Attributes inherited from ug::IElementMarkingStrategy< TDomain > | |
number | m_latest_error |
number | m_latest_error_per_elem_max |
number | m_latest_error_per_elem_min |
Additional Inherited Members | |
Static Public Attributes inherited from ug::IElementMarkingStrategy< TDomain > | |
static const int | dim = TDomain::dim |
world dimension More... | |
Marks element with smallest \eta_i^2 (cf. Verfuerth script)
typedef IElementMarkingStrategy<TDomain> ug::APosterioriCoarsening< TDomain >::base_type |
|
inline |
|
protectedvirtual |
DEPRECATED:
Implements ug::IElementMarkingStrategy< TDomain >.
References pcl::ProcessCommunicator::allreduce(), ug::ComputeMinMax(), ug::IRefiner::mark(), pcl::NumProcs(), PCL_RO_SUM, ug::RM_COARSEN, UG_ASSERT, and UG_LOG.
|
inline |
|
inline |
|
protected |
Referenced by ug::APosterioriCoarsening< TDomain >::set_max_level().
|
protected |
Referenced by ug::APosterioriCoarsening< TDomain >::set_min_level().
|
protected |