Plugins
ug::GridFunctionEstimator< TDomain, TAlgebra > Class Template Reference

Evaluate using continuous norms. More...

#include <time_extrapolation.h>

+ Inheritance diagram for ug::GridFunctionEstimator< TDomain, TAlgebra >:

Public Types

typedef ISubDiagErrorEst< TVectorbase_type
 
typedef GridFunction< TDomain, TAlgebra > grid_function_type
 
typedef IGridFunctionSpace< grid_function_typesubspace_type
 

Public Member Functions

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

Protected Types

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

Protected Attributes

number m_refNormValue
 
std::vector< weighted_obj_typem_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 Typedef Documentation

◆ base_type

template<class TDomain , class TAlgebra >
typedef ISubDiagErrorEst<TVector> ug::GridFunctionEstimator< TDomain, TAlgebra >::base_type

◆ grid_function_type

template<class TDomain , class TAlgebra >
typedef GridFunction<TDomain, TAlgebra> ug::GridFunctionEstimator< TDomain, TAlgebra >::grid_function_type

◆ subspace_type

template<class TDomain , class TAlgebra >
typedef IGridFunctionSpace<grid_function_type> ug::GridFunctionEstimator< TDomain, TAlgebra >::subspace_type

◆ TVector

template<class TDomain , class TAlgebra >
typedef TAlgebra::vector_type ug::GridFunctionEstimator< TDomain, TAlgebra >::TVector
protected

◆ weighted_obj_type

template<class TDomain , class TAlgebra >
typedef std::pair<SmartPtr<subspace_type>, number> ug::GridFunctionEstimator< TDomain, TAlgebra >::weighted_obj_type
protected

Constructor & Destructor Documentation

◆ GridFunctionEstimator() [1/2]

template<class TDomain , class TAlgebra >
ug::GridFunctionEstimator< TDomain, TAlgebra >::GridFunctionEstimator ( )
inline

◆ GridFunctionEstimator() [2/2]

template<class TDomain , class TAlgebra >
ug::GridFunctionEstimator< TDomain, TAlgebra >::GridFunctionEstimator ( double  ref)
inline

Member Function Documentation

◆ add() [1/2]

template<class TDomain , class TAlgebra >
void ug::GridFunctionEstimator< TDomain, TAlgebra >::add ( SmartPtr< subspace_type spSubspace)
inline

◆ add() [2/2]

template<class TDomain , class TAlgebra >
void ug::GridFunctionEstimator< TDomain, TAlgebra >::add ( SmartPtr< subspace_type spSubspace,
number  sigma 
)
inline

◆ config_string()

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

◆ set_reference_norm()

template<class TDomain , class TAlgebra >
void ug::GridFunctionEstimator< TDomain, TAlgebra >::set_reference_norm ( number  norm)
inline

◆ update()

Member Data Documentation

◆ m_refNormValue

template<class TDomain , class TAlgebra >
number ug::GridFunctionEstimator< TDomain, TAlgebra >::m_refNormValue
protected

◆ m_spWeightedSubspaces


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