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

Evaluate difference between two functions (w.r.t various norms) More...

#include <time_extrapolation.h>

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

Public Types

typedef ISubDiagErrorEst< TVector > base_type
 
typedef GridFunction< TDomain, TAlgebra > grid_function_type
 
typedef IComponentSpace< grid_function_type > subspace_type
 
typedef CompositeSpace< grid_function_type > composite_type
 

Public Member Functions

void add (SmartPtr< subspace_type > spSubspace)
 
void add (SmartPtr< composite_type > spCompositeSpace)
 
bool update (SmartPtr< TVector > vUpdate, number alpha, SmartPtr< TVector > vFine, SmartPtr< TVector > vCoarse)
 compute update vUpdate = vFine + alpha * (vFine- vCoarse) AND estimate error | alpha * (vFine- vCoarse)|
 
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
 

Protected Attributes

std::vector< SmartPtr< subspace_type > > m_spSubspaces
 
- Protected Attributes inherited from ug::ISubDiagErrorEst< TAlgebra::vector_type >
number m_est
 

Detailed Description

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

Evaluate difference between two functions (w.r.t various norms)

Member Function Documentation

◆ config_string()

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

print config string

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

◆ update()

template<class TDomain, class TAlgebra>
bool ug::ScaledGridFunctionEstimator< TDomain, TAlgebra >::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< TAlgebra::vector_type >.


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