ug4
|
Error estimator data class storing one scalar number per side. More...
#include <err_est_data.h>
Public Types | |
typedef TDomain | domain_type |
domain type More... | |
typedef domain_traits< dim >::side_type | side_type |
type of the sides (face, edge) and the elems (volume, face) More... | |
Public Member Functions | |
virtual void | alloc_err_est_data (ConstSmartPtr< SurfaceView > spSV, const GridLevel &gl) |
virtual function to allocate data structures for the error estimator More... | |
virtual number | get_elem_error_indicator (GridObject *elem, const MathVector< dim > vCornerCoords[]) |
calculate L2 integrals More... | |
number & | operator() (side_type *pSide) |
get the data reference for a given side More... | |
virtual void | release_err_est_data () |
virtual function to release data structures of the error estimator More... | |
SideFluxErrEstData () | |
constructor More... | |
virtual void | summarize_err_est_data (SmartPtr< TDomain > spDomain) |
virtual function called after the computation of the error estimator data in all the elements More... | |
ConstSmartPtr< SurfaceView > & | surface_view () |
get the surface view More... | |
virtual | ~SideFluxErrEstData () |
virtual class destructor More... | |
Public Member Functions inherited from ug::IErrEstData< TDomain > | |
bool | consider_me () const |
virtual function granting get access to the m_consider member More... | |
IErrEstData () | |
class constructor More... | |
number | scaling_factor () |
get scaling factor More... | |
void | set_consider_me (bool b) |
whether or not this instance is to be considered by domainDisc More... | |
void | set_scaling_factor (number scale) |
set scaling factor for final error calculation More... | |
virtual | ~IErrEstData () |
virtual class destructor More... | |
Static Public Attributes | |
static const int | dim = TDomain::dim |
world dimension More... | |
Static Public Attributes inherited from ug::IErrEstData< TDomain > | |
static const int | dim = TDomain::dim |
world dimension More... | |
Private Attributes | |
MultiGrid::AttachmentAccessor< side_type, ANumber > | m_aaFluxJump |
Attachment accessor. More... | |
ANumber | m_aFluxJumpOverSide |
Flux jumps for the error estimator. More... | |
GridLevel | m_errEstGL |
Finest grid level. More... | |
ConstSmartPtr< SurfaceView > | m_spSV |
Grid for the attachment. More... | |
Error estimator data class storing one scalar number per side.
This class allocates an attachment keeping one number per full-dimensional element side. Furthermore, the data are collected at the boundaries of the patches (in the case of the adaptive refinement).
TDomain | domain type |
typedef TDomain ug::SideFluxErrEstData< TDomain >::domain_type |
domain type
typedef domain_traits<dim>::side_type ug::SideFluxErrEstData< TDomain >::side_type |
type of the sides (face, edge) and the elems (volume, face)
|
inline |
constructor
|
inlinevirtual |
virtual class destructor
|
virtual |
virtual function to allocate data structures for the error estimator
Allocates data structures for the error estimator.
Implements ug::IErrEstData< TDomain >.
References ug::GridLevel::SURFACE, ug::GridLevel::type(), and UG_THROW.
|
inlinevirtual |
calculate L2 integrals
Implements ug::IErrEstData< TDomain >.
|
inline |
get the data reference for a given side
pSide | pointer to the side |
References ug::SideFluxErrEstData< TDomain >::m_aaFluxJump.
|
virtual |
virtual function to release data structures of the error estimator
Releases data structures of the error estimator.
Implements ug::IErrEstData< TDomain >.
|
virtual |
virtual function called after the computation of the error estimator data in all the elements
Called after the computation of the error estimator data in all the elements.
Implements ug::IErrEstData< TDomain >.
References ug::SurfaceView::SHADOW_RIM, and UG_THROW.
|
inline |
get the surface view
References ug::SideFluxErrEstData< TDomain >::m_spSV.
|
static |
world dimension
|
private |
Attachment accessor.
Referenced by ug::SideFluxErrEstData< TDomain >::operator()().
|
private |
Flux jumps for the error estimator.
|
private |
Finest grid level.
|
private |
Grid for the attachment.
Referenced by ug::SideFluxErrEstData< TDomain >::surface_view().