|
Stokhos
Development
|
An implementation of StatusTestResNorm using a family of residual norms. More...
#include <Belos_StatusTest_GenResNorm_MP_Vector.hpp>
An implementation of StatusTestResNorm using a family of residual norms.
StatusTestGenResNorm is an implementation of StatusTestResNorm that allows a user to construct one of a family of residual tests for use as a status/convergence test for Belos. The form of the test is
where
is the i-th residual std::vector, implicitly or explicitly computed (determined by enum ResType),
is the i-th residual norm determined by the enum NormType (1-norm, 2-norm or inf-norm),
is the i-th scale factor that can be passed in as a precomputed number of the templated type, or can be selected from by the enum ScaleType (norm of RHS, norm of initial residual).
is the tolerance that is passed in as a number of the templated type to the constructor. The value of
can be reset using the setTolerance() method. This implementation is the same as the default, but is specialized for the Sacado::MP::Vector scalar type to keep track of when each component of the ensemble converges.
1.8.5