|
ug4
|
Error estimator data class storing one scalar number per side. More...
#include <err_est_data.h>
Inheritance diagram for ug::SideFluxErrEstData< TDomain >:Public Types | |
| typedef TDomain | domain_type |
| domain type | |
| typedef domain_traits< dim >::side_type | side_type |
| type of the sides (face, edge) and the elems (volume, face) | |
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 | |
| virtual number | get_elem_error_indicator (GridObject *elem, const MathVector< dim > vCornerCoords[]) |
| calculate L2 integrals | |
| number & | operator() (side_type *pSide) |
| get the data reference for a given side | |
| virtual void | release_err_est_data () |
| virtual function to release data structures of the error estimator | |
| SideFluxErrEstData () | |
| constructor | |
| virtual void | summarize_err_est_data (SmartPtr< TDomain > spDomain) |
| virtual function called after the computation of the error estimator data in all the elements | |
| ConstSmartPtr< SurfaceView > & | surface_view () |
| get the surface view | |
| virtual | ~SideFluxErrEstData () |
| virtual class destructor | |
Public Member Functions inherited from ug::IErrEstData< TDomain > | |
| bool | consider_me () const |
| virtual function granting get access to the m_consider member | |
| IErrEstData () | |
| class constructor | |
| number | scaling_factor () |
| get scaling factor | |
| void | set_consider_me (bool b) |
| whether or not this instance is to be considered by domainDisc | |
| void | set_scaling_factor (number scale) |
| set scaling factor for final error calculation | |
| virtual | ~IErrEstData () |
| virtual class destructor | |
Static Public Attributes | |
| static const int | dim = TDomain::dim |
| world dimension | |
Static Public Attributes inherited from ug::IErrEstData< TDomain > | |
| static const int | dim = TDomain::dim |
| world dimension | |
Private Attributes | |
| MultiGrid::AttachmentAccessor< side_type, ANumber > | m_aaFluxJump |
| Attachment accessor. | |
| ANumber | m_aFluxJumpOverSide |
| Flux jumps for the error estimator. | |
| GridLevel | m_errEstGL |
| Finest grid level. | |
| ConstSmartPtr< SurfaceView > | m_spSV |
| Grid for the attachment. | |
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().