Template Class InfNorm
Defined in File InfNorm.hpp
Inheritance Relationships
Base Type
public AnalysisManager::NativeDynamicSolver::ErrorNorm< ScalarT, IdxT >(Template Class ErrorNorm)
Class Documentation
-
template<class ScalarT, typename IdxT>
class InfNorm : public AnalysisManager::NativeDynamicSolver::ErrorNorm<ScalarT, IdxT> Infinity norm of component-wise tolerance-scaled errors.
This norm requires the estimated error in every component to meet its absolute and relative tolerance.
Public Functions
-
inline InfNorm(std::unique_ptr<State> abs_tol, RealT rel_tol)
Construct an infinity norm that owns the supplied absolute-tolerance vector.
- Parameters:
abs_tol – Component-wise absolute tolerances.
rel_tol – Relative tolerance applied to the larger magnitude of the current and previous states.
-
virtual RealT errorNorm(State &err, State &y, State &yprev, GridKit::LinearAlgebra::VectorHandler<ScalarT, IdxT> &handler, GridKit::memory::MemorySpace memspace) const final
Compute the tolerance-scaled infinity norm through the supplied vector handler.
-
inline InfNorm(std::unique_ptr<State> abs_tol, RealT rel_tol)