LIMEX plugin
All Classes Functions Variables Typedefs Modules
ug::GridFunctionEstimator< TDomain, TAlgebra > Class Template Reference

Evaluate using continuous norms. More...

#include <time_extrapolation.h>

Inheritance diagram for ug::GridFunctionEstimator< TDomain, TAlgebra >:
ug::ISubDiagErrorEst< TAlgebra::vector_type >

Public Types

typedef ISubDiagErrorEst< TVector > base_type
 
typedef GridFunction< TDomain, TAlgebra > grid_function_type
 
typedef IGridFunctionSpace< grid_function_type > subspace_type
 

Public Member Functions

 GridFunctionEstimator (double ref)
 
void add (SmartPtr< subspace_type > spSubspace)
 add sub-space component
 
void add (SmartPtr< subspace_type > spSubspace, number sigma)
 
bool update (SmartPtr< TVector > vUpdate, number alpha, SmartPtr< TVector > vFine, SmartPtr< TVector > vCoarse)
 apply w/ rel norm
 
void set_reference_norm (number norm)
 
std::string config_string () const
 print config string
 
- Public Member Functions inherited from ug::ISubDiagErrorEst< TAlgebra::vector_type >
number get_current_estimate ()
 get estimate
 
void reset_estimate ()
 

Protected Types

typedef TAlgebra::vector_type TVector
 
typedef std::pair< SmartPtr< subspace_type >, number > weighted_obj_type
 

Protected Attributes

number m_refNormValue
 
std::vector< weighted_obj_type > m_spWeightedSubspaces
 
- Protected Attributes inherited from ug::ISubDiagErrorEst< TAlgebra::vector_type >
number m_est
 

Detailed Description

template<class TDomain, class TAlgebra>
class ug::GridFunctionEstimator< TDomain, TAlgebra >

Evaluate using continuous norms.

Can provide subspaces (incl. scaling).

sum_I \sigma_I \frac{|e|_I}{|u|_I} For ref value <= 0 TOL is scaled relatively w.r.t. function norm.

Member Function Documentation

◆ config_string()

template<class TDomain, class TAlgebra>
std::string ug::GridFunctionEstimator< TDomain, TAlgebra >::config_string ( ) const
inlinevirtual

print config string

Reimplemented from ug::ISubDiagErrorEst< TAlgebra::vector_type >.

◆ update()

template<class TDomain, class TAlgebra>
bool ug::GridFunctionEstimator< TDomain, TAlgebra >::update ( SmartPtr< TVector > vUpdate,
number alpha,
SmartPtr< TVector > vFine,
SmartPtr< TVector > vCoarse )
inlinevirtual

apply w/ rel norm

Implements ug::ISubDiagErrorEst< TAlgebra::vector_type >.


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