Plugins
ug::NormRelEstimator< TVector > Class Template Reference

Evaluate using (algebraic) L2 norm. More...

#include <time_extrapolation.h>

+ Inheritance diagram for ug::NormRelEstimator< TVector >:

Public Member Functions

 NormRelEstimator ()
 
bool update (SmartPtr< TVector > vUpdate, number alpha2, SmartPtr< TVector > vFine, SmartPtr< TVector > vCoarse)
 compute update vUpdate = vFine + alpha * (vFine- vCoarse) AND estimate error | alpha * (vFine- vCoarse)| More...
 
- Public Member Functions inherited from ug::ISubDiagErrorEst< TVector >
virtual std::string config_string () const
 
number get_current_estimate ()
 get estimate More...
 
 ISubDiagErrorEst ()
 
void reset_estimate ()
 
virtual ~ISubDiagErrorEst ()
 

Protected Types

typedef ISubDiagErrorEst< TVector > base_type
 

Additional Inherited Members

- Protected Attributes inherited from ug::ISubDiagErrorEst< TVector >
number m_est
 

Detailed Description

template<class TVector>
class ug::NormRelEstimator< TVector >

Evaluate using (algebraic) L2 norm.

Member Typedef Documentation

◆ base_type

template<class TVector >
typedef ISubDiagErrorEst<TVector> ug::NormRelEstimator< TVector >::base_type
protected

Constructor & Destructor Documentation

◆ NormRelEstimator()

template<class TVector >
ug::NormRelEstimator< TVector >::NormRelEstimator ( )
inline

Member Function Documentation

◆ update()

template<class TVector >
bool ug::NormRelEstimator< TVector >::update ( SmartPtr< TVector >  vUpdate,
number  alpha2,
SmartPtr< TVector >  vFine,
SmartPtr< TVector >  vCoarse 
)
inlinevirtual

compute update vUpdate = vFine + alpha * (vFine- vCoarse) AND estimate error | alpha * (vFine- vCoarse)|

Implements ug::ISubDiagErrorEst< TVector >.

References ug::ISubDiagErrorEst< TVector >::m_est, and ug::tools::VecScaleAddWithNormRel().


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