ug4
ug::MultipleSideAndElemErrEstData< TDomain > Class Template Reference

#include <err_est_data.h>

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

Public Types

typedef SideAndElemErrEstData< TDomain >::elem_type elem_type
 
typedef SideAndElemErrEstData< TDomain >::side_type side_type
 type of the sides (face, edge) and the elems (volume, face) More...
 

Public Member Functions

virtual void add (SmartPtr< SideAndElemErrEstData< TDomain > > spEed, const char *fct)
 
bool equal_elem_order () const
 returns whether all underlying err ests have the same elem and side integration orders More...
 
bool equal_side_order () const
 returns whether all underlying err ests have the same elem and side integration orders More...
 
 MultipleSideAndElemErrEstData (ConstSmartPtr< ApproximationSpace< TDomain > > approx)
 constructor More...
 
virtual ~MultipleSideAndElemErrEstData ()
 destructor More...
 
- Public Member Functions inherited from ug::MultipleErrEstData< TDomain, SideAndElemErrEstData< TDomain > >
virtual void alloc_err_est_data (ConstSmartPtr< SurfaceView > spSV, const GridLevel &gl)
 virtual function to allocate data structures for the error estimator More...
 
SideAndElemErrEstData< TDomain > * get (size_t uid)
 accessing the underlying error estimator data objects via function id More...
 
virtual number get_elem_error_indicator (GridObject *elem, const MathVector< dim > vCornerCoords[])
 calculate L2 integrals More...
 
 MultipleErrEstData (ConstSmartPtr< ApproximationSpace< TDomain > > approx)
 class constructor More...
 
size_t num () const
 getting the number of underlying error estimator data objects More...
 
virtual void release_err_est_data ()
 virtual function to release data structures for the error estimator 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...
 
virtual ~MultipleErrEstData ()
 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::MultipleErrEstData< TDomain, SideAndElemErrEstData< TDomain > >
static const int dim
 world dimension More...
 
- Static Public Attributes inherited from ug::IErrEstData< TDomain >
static const int dim = TDomain::dim
 world dimension More...
 

Protected Member Functions

void check_equal_elem_order ()
 
void check_equal_order ()
 
void check_equal_side_order ()
 

Private Attributes

bool m_bEqElemOrder
 
bool m_bEqSideOrder
 

Additional Inherited Members

- Protected Attributes inherited from ug::MultipleErrEstData< TDomain, SideAndElemErrEstData< TDomain > >
FunctionGroup m_fctGrp
 function group (in order to map fcts to error estimator objects) More...
 
ConstSmartPtr< ApproximationSpace< TDomain > > m_spApprox
 approx space More...
 
std::vector< SideAndElemErrEstData< TDomain > * > m_vEed
 

Member Typedef Documentation

◆ elem_type

template<typename TDomain >
typedef SideAndElemErrEstData<TDomain>::elem_type ug::MultipleSideAndElemErrEstData< TDomain >::elem_type

◆ side_type

template<typename TDomain >
typedef SideAndElemErrEstData<TDomain>::side_type ug::MultipleSideAndElemErrEstData< TDomain >::side_type

type of the sides (face, edge) and the elems (volume, face)

Constructor & Destructor Documentation

◆ MultipleSideAndElemErrEstData()

template<typename TDomain >
ug::MultipleSideAndElemErrEstData< TDomain >::MultipleSideAndElemErrEstData ( ConstSmartPtr< ApproximationSpace< TDomain > >  approx)
inline

constructor

◆ ~MultipleSideAndElemErrEstData()

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

destructor

Member Function Documentation

◆ add()

template<typename TDomain >
void ug::MultipleSideAndElemErrEstData< TDomain >::add ( SmartPtr< SideAndElemErrEstData< TDomain > >  spEed,
const char *  fct 
)
virtual

adding error estimator data objects overrides parent add method; performs check for equal order after adding

Reimplemented from ug::MultipleErrEstData< TDomain, SideAndElemErrEstData< TDomain > >.

◆ check_equal_elem_order()

template<typename TDomain >
void ug::MultipleSideAndElemErrEstData< TDomain >::check_equal_elem_order
protected

find out whether all underlying err_ests have the same elem integration orders (makes assembling easier)

◆ check_equal_order()

template<typename TDomain >
void ug::MultipleSideAndElemErrEstData< TDomain >::check_equal_order
protected

find out whether all underlying err_ests have the same integration orders (makes assembling easier)

◆ check_equal_side_order()

template<typename TDomain >
void ug::MultipleSideAndElemErrEstData< TDomain >::check_equal_side_order
protected

find out whether all underlying err_ests have the same side integration orders (makes assembling easier)

◆ equal_elem_order()

template<typename TDomain >
bool ug::MultipleSideAndElemErrEstData< TDomain >::equal_elem_order ( ) const
inline

returns whether all underlying err ests have the same elem and side integration orders

References ug::MultipleSideAndElemErrEstData< TDomain >::m_bEqElemOrder.

◆ equal_side_order()

template<typename TDomain >
bool ug::MultipleSideAndElemErrEstData< TDomain >::equal_side_order ( ) const
inline

returns whether all underlying err ests have the same elem and side integration orders

References ug::MultipleSideAndElemErrEstData< TDomain >::m_bEqSideOrder.

Referenced by ug::FV1InnerBoundaryElemDisc< TImpl, TDomain >::prep_err_est_elem_loop().

Member Data Documentation

◆ dim

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

world dimension

◆ m_bEqElemOrder

template<typename TDomain >
bool ug::MultipleSideAndElemErrEstData< TDomain >::m_bEqElemOrder
private

◆ m_bEqSideOrder

template<typename TDomain >
bool ug::MultipleSideAndElemErrEstData< TDomain >::m_bEqSideOrder
private

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