|
Plugins
|
Evaluate difference between two functions (w.r.t various norms) More...
#include <time_extrapolation.h>
Inheritance diagram for ug::ScaledGridFunctionEstimator< TDomain, TAlgebra >: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) |
| std::string | config_string () const |
| print config string | |
| ScaledGridFunctionEstimator () | |
| 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)| | |
Public Member Functions inherited from ug::ISubDiagErrorEst< TAlgebra::vector_type > | |
| number | get_current_estimate () |
| get estimate | |
| 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 |
Evaluate difference between two functions (w.r.t various norms)
| typedef ISubDiagErrorEst<TVector> ug::ScaledGridFunctionEstimator< TDomain, TAlgebra >::base_type |
| typedef CompositeSpace<grid_function_type> ug::ScaledGridFunctionEstimator< TDomain, TAlgebra >::composite_type |
| typedef GridFunction<TDomain, TAlgebra> ug::ScaledGridFunctionEstimator< TDomain, TAlgebra >::grid_function_type |
| typedef IComponentSpace<grid_function_type> ug::ScaledGridFunctionEstimator< TDomain, TAlgebra >::subspace_type |
|
protected |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
print config string
Reimplemented from ug::ISubDiagErrorEst< TAlgebra::vector_type >.
References ug::ScaledGridFunctionEstimator< 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< typename T, template< class TT > class FreePolicy >::invalid(), ug::ISubDiagErrorEst< TVector >::m_est, ug::ScaledGridFunctionEstimator< TDomain, TAlgebra >::m_spSubspaces, UG_LOGN, and ug::VecScaleAdd().
|
protected |