Plugins
|
Evaluate difference between two functions (w.r.t various norms) More...
#include <time_extrapolation.h>
Public Types | |
typedef ISubDiagErrorEst< TVector > | base_type |
typedef CompositeSpace< grid_function_type > | composite_type |
typedef GridFunction< TDomain, TAlgebra > | grid_function_type |
typedef IComponentSpace< grid_function_type > | subspace_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... | |
void | use_strict_relative_norms (bool b) |
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 |
bool | m_strictRelativeError |
Protected Attributes inherited from ug::ISubDiagErrorEst< TAlgebra::vector_type > | |
number | m_est |
Evaluate difference between two functions (w.r.t various norms)
| u |^2 = \sum |u|_i^2
typedef ISubDiagErrorEst<TVector> ug::CompositeGridFunctionEstimator< TDomain, TAlgebra >::base_type |
typedef CompositeSpace<grid_function_type> ug::CompositeGridFunctionEstimator< TDomain, TAlgebra >::composite_type |
typedef GridFunction<TDomain, TAlgebra> ug::CompositeGridFunctionEstimator< TDomain, TAlgebra >::grid_function_type |
typedef IComponentSpace<grid_function_type> ug::CompositeGridFunctionEstimator< TDomain, TAlgebra >::subspace_type |
|
protected |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
print config string
Reimplemented from ug::ISubDiagErrorEst< TAlgebra::vector_type >.
References ug::CompositeGridFunctionEstimator< TDomain, TAlgebra >::m_spSubspaces.
|
inlinevirtual |
compute update vUpdate = vFine + alpha * (vFine- vCoarse) AND estimate error | alpha * (vFine- vCoarse)|
Implements ug::ISubDiagErrorEst< TAlgebra::vector_type >.
References SmartPtr< class, FreePolicy >::invalid(), ug::ISubDiagErrorEst< TVector >::m_est, ug::CompositeGridFunctionEstimator< TDomain, TAlgebra >::m_spSubspaces, ug::CompositeGridFunctionEstimator< TDomain, TAlgebra >::m_strictRelativeError, ug::SMALL, UG_LOGN, and ug::VecScaleAdd().
|
inline |
|
protected |
|
protected |