ug4
ug::ErrorEvaluator< TDomain > Class Template Reference

Evaluation for IElemError. More...

#include <data_evaluator.h>

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

Public Member Functions

 ErrorEvaluator (int discPart, const std::vector< IElemError< TDomain > * > &vElemDisc, ConstSmartPtr< FunctionPattern > fctPat, const bool bNonRegularGrid, LocalVectorTimeSeries *locTimeSeries=NULL, const std::vector< number > *vScaleMass=NULL, const std::vector< number > *vScaleStiff=NULL)
 sets the elem discs to evaluate More...
 
- Public Member Functions inherited from ug::DataEvaluatorBase< TDomain, IElemError< TDomain > >
void compute_err_est_A_elem (LocalVector &u, GridObject *elem, const MathVector< dim > vCornerCoords[], const LocalIndices &ind, const number scaleMass=(number) 1.0, const number scaleStiff=(number) 1.0)
 compute contributions of the local error indicators in one element for all IElemDiscs More...
 
void compute_err_est_M_elem (LocalVector &u, GridObject *elem, const MathVector< dim > vCornerCoords[], const LocalIndices &ind, const number scaleMass=(number) 1.0, const number scaleStiff=(number) 1.0)
 compute contributions of the local error indicators in one element for all IElemDiscs More...
 
void compute_err_est_rhs_elem (GridObject *elem, const MathVector< dim > vCornerCoords[], const LocalIndices &ind, const number scaleMass=(number) 1.0, const number scaleStiff=(number) 1.0)
 compute contributions of the local error indicators in one element for all IElemDiscs More...
 
 DataEvaluatorBase (int discPart, const std::vector< IElemError< TDomain > * > &vElemDisc, ConstSmartPtr< FunctionPattern > fctPat, const bool bNonRegularGrid, LocalVectorTimeSeries *locTimeSeries=NULL, const std::vector< number > *vScaleMass=NULL, const std::vector< number > *vScaleStiff=NULL)
 sets the elem discs to evaluate More...
 
void finish_err_est_elem_loop ()
 finishes the error estimator element loop for all IElemDiscs More...
 
void prepare_err_est_elem (LocalVector &u, GridObject *elem, const MathVector< dim > vCornerCoords[], const LocalIndices &ind, bool bDeriv=false)
 prepares the element for all IElemDiscs More...
 
void prepare_err_est_elem_loop (const ReferenceObjectID id, int si)
 prepares the element loop for all IElemDiscs for the computation of the error estimator More...
 
void set_time_point (const size_t timePoint)
 sets the time point for data evaluation More...
 
bool time_series_needed () const
 returns if local time series is really needed for assembling More...
 
bool use_hanging () const
 returns if one of the element discs needs hanging dofs More...
 

Additional Inherited Members

- Static Public Attributes inherited from ug::DataEvaluatorBase< TDomain, IElemError< TDomain > >
static const int dim
 world dimension More...
 
- Protected Member Functions inherited from ug::DataEvaluatorBase< TDomain, IElemError< TDomain > >
void add_data_to_eval_data (std::vector< SmartPtr< ICplUserData< dim > > > &vEvalData, std::vector< SmartPtr< ICplUserData< dim > > > &vTryingToAdd)
 tries to add the last entry of vTryingToAdd to the eval data More...
 
void clear_extracted_data_and_mappings ()
 clears imports and user data and mappings betweem commonFctGrp and local More...
 
void clear_positions_in_user_data ()
 clears all requested positions in user data More...
 
void extract_imports_and_userdata (int subsetIndex, int discPart)
 extracts imports and userdata from IElemDiscs More...
 
- Protected Attributes inherited from ug::DataEvaluatorBase< TDomain, IElemError< TDomain > >
bool m_bNeedLocTimeSeries
 flag indicating if any elem disc needs local time series More...
 
bool m_bUseHanging
 flag if hanging nodes are used More...
 
int m_discPart
 disc part needed (MASS and/or STIFF and/or RHS) More...
 
LocalVectorTimeSeriesm_pLocTimeSeries
 local time series (non-const since mapping may change) More...
 
ConstSmartPtr< FunctionPatternm_spFctPattern
 underlying function pattern More...
 
std::vector< IElemError< TDomain > * > m_vElemDisc [MAX_PROCESS]
 elem disc data More...
 
std::vector< IDataImport< dim > * > m_vImport [MAX_PROCESS][MAX_PART]
 imports that must be evaluated More...
 
std::vector< SmartPtr< ICplUserData< dim > > > m_vConstData
 
std::vector< SmartPtr< ICplUserData< dim > > > m_vPosData
 
std::vector< SmartPtr< ICplUserData< dim > > > m_vDependentData
 

Detailed Description

template<typename TDomain>
class ug::ErrorEvaluator< TDomain >

Evaluation for IElemError.

Constructor & Destructor Documentation

◆ ErrorEvaluator()

template<typename TDomain >
ug::ErrorEvaluator< TDomain >::ErrorEvaluator ( int  discPart,
const std::vector< IElemError< TDomain > * > &  vElemDisc,
ConstSmartPtr< FunctionPattern fctPat,
const bool  bNonRegularGrid,
LocalVectorTimeSeries locTimeSeries = NULL,
const std::vector< number > *  vScaleMass = NULL,
const std::vector< number > *  vScaleStiff = NULL 
)
inline

sets the elem discs to evaluate


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