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

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

#include <time_extrapolation.h>

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

Public Types

typedef ISubDiagErrorEst< TVectorbase_type
 
typedef CompositeSpace< grid_function_typecomposite_type
 
typedef GridFunction< TDomain, TAlgebra > grid_function_type
 
typedef IComponentSpace< grid_function_typesubspace_type
 

Public Member Functions

void add (SmartPtr< composite_type > spCompositeSpace)
 
void add (SmartPtr< subspace_type > spSubspace)
 
 CompositeGridFunctionEstimator ()
 
std::string config_string () const
 print config string More...
 
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)| 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
 

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::CompositeGridFunctionEstimator< TDomain, TAlgebra >

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

| u |^2 = \sum |u|_i^2

Member Typedef Documentation

◆ base_type

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

◆ composite_type

template<class TDomain , class TAlgebra >
typedef CompositeSpace<grid_function_type> ug::CompositeGridFunctionEstimator< TDomain, TAlgebra >::composite_type

◆ grid_function_type

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

◆ subspace_type

template<class TDomain , class TAlgebra >
typedef IComponentSpace<grid_function_type> ug::CompositeGridFunctionEstimator< TDomain, TAlgebra >::subspace_type

◆ TVector

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

Constructor & Destructor Documentation

◆ CompositeGridFunctionEstimator()

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

Member Function Documentation

◆ add() [1/2]

template<class TDomain , class TAlgebra >
void ug::CompositeGridFunctionEstimator< TDomain, TAlgebra >::add ( SmartPtr< composite_type spCompositeSpace)
inline

◆ add() [2/2]

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

◆ config_string()

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

◆ update()

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

Member Data Documentation

◆ m_spSubspaces


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