|
Plugins
|
Evaluate using continuous norms. More...
#include <time_extrapolation.h>
Inheritance diagram for ug::GridFunctionEstimator< TDomain, TAlgebra >:Public Types | |
| typedef ISubDiagErrorEst< TVector > | base_type |
| typedef GridFunction< TDomain, TAlgebra > | grid_function_type |
| typedef IGridFunctionSpace< grid_function_type > | subspace_type |
Public Member Functions | |
| void | add (SmartPtr< subspace_type > spSubspace) |
| add sub-space component | |
| void | add (SmartPtr< subspace_type > spSubspace, number sigma) |
| std::string | config_string () const |
| print config string | |
| GridFunctionEstimator () | |
| GridFunctionEstimator (double ref) | |
| void | set_reference_norm (number norm) |
| bool | update (SmartPtr< TVector > vUpdate, number alpha, SmartPtr< TVector > vFine, SmartPtr< TVector > vCoarse) |
| apply w/ rel norm | |
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 |
| typedef std::pair< SmartPtr< subspace_type >, number > | weighted_obj_type |
Protected Attributes | |
| number | m_refNormValue |
| std::vector< weighted_obj_type > | m_spWeightedSubspaces |
Protected Attributes inherited from ug::ISubDiagErrorEst< TAlgebra::vector_type > | |
| number | m_est |
Evaluate using continuous norms.
Can provide subspaces (incl. scaling).
sum_I \sigma_I \frac{|e|_I}{|u|_I} For ref value <= 0 TOL is scaled relatively w.r.t. function norm.
| typedef ISubDiagErrorEst<TVector> ug::GridFunctionEstimator< TDomain, TAlgebra >::base_type |
| typedef GridFunction<TDomain, TAlgebra> ug::GridFunctionEstimator< TDomain, TAlgebra >::grid_function_type |
| typedef IGridFunctionSpace<grid_function_type> ug::GridFunctionEstimator< TDomain, TAlgebra >::subspace_type |
|
protected |
|
protected |
|
inline |
|
inline |
|
inline |
add sub-space component
References ug::GridFunctionEstimator< TDomain, TAlgebra >::m_spWeightedSubspaces.
|
inline |
|
inlinevirtual |
print config string
Reimplemented from ug::ISubDiagErrorEst< TAlgebra::vector_type >.
References ug::GridFunctionEstimator< TDomain, TAlgebra >::m_spWeightedSubspaces.
|
inline |
|
inlinevirtual |
apply w/ rel norm
Implements ug::ISubDiagErrorEst< TAlgebra::vector_type >.
References SmartPtr< typename T, template< class TT > class FreePolicy >::invalid(), ug::ISubDiagErrorEst< TVector >::m_est, ug::GridFunctionEstimator< TDomain, TAlgebra >::m_refNormValue, ug::GridFunctionEstimator< TDomain, TAlgebra >::m_spWeightedSubspaces, UG_LOG, and ug::VecScaleAdd().
|
protected |
|
protected |