Go to the documentation of this file.
42 #ifndef BELOS_STATUS_TEST_RESNORM_H
43 #define BELOS_STATUS_TEST_RESNORM_H
61 template <
class ScalarType,
class MV,
class OP>
67 typedef Teuchos::ScalarTraits<ScalarType>
SCT;
109 virtual const std::vector<MagnitudeType>*
getTestValue()
const = 0;
virtual int getQuorum() const =0
Returns the number of residuals that must pass the convergence test before Passed is returned.
virtual std::vector< int > convIndices()=0
Returns the std::vector containing the indices of the residuals that passed the test.
Teuchos::ScalarTraits< ScalarType > SCT
ScaleType
The type of scaling to use on the residual norm value.
virtual const std::vector< MagnitudeType > * getTestValue() const =0
Returns the test value, , computed in most recent call to CheckStatus.
virtual int setQuorum(int quorum)=0
Sets the number of residuals that must pass the convergence test before Passed is returned.
Class which describes the linear problem to be solved by the iterative solver.
Pure virtual base class for defining the status testing capabilities of Belos.
virtual bool getLOADetected() const =0
Returns a boolean indicating a loss of accuracy has been detected in computing the residual.
virtual int defineScaleForm(ScaleType TypeOfScaling, NormType TypeOfNorm, MagnitudeType ScaleValue=Teuchos::ScalarTraits< MagnitudeType >::one())=0
Define the form of the scaling for the residual.
virtual Teuchos::RCP< MV > getSolution()=0
Returns the current solution estimate that was computed for the most recent residual test.
virtual MagnitudeType getTolerance() const =0
Returns the value of the tolerance, , set in the constructor.
virtual int setTolerance(MagnitudeType tolerance)=0
Set the value of the tolerance.
An abstract class of StatusTest for stopping criteria using residual norms.
NormType
The type of vector norm to compute.
MultiVecTraits< ScalarType, MV > MVT
A pure virtual class for defining the status tests for the Belos iterative solvers.
virtual bool getShowMaxResNormOnly()=0
Returns whether the only maximum residual norm is displayed when the print() method is called.
Declaration of basic traits for the multivector type.
SCT::magnitudeType MagnitudeType
Traits class which defines basic operations on multivectors.
virtual int setShowMaxResNormOnly(bool showMaxResNormOnly)=0
Set whether the only maximum residual norm is displayed when the print() method is called.
Generated on Thu Feb 27 2020 16:06:46 for Belos by
1.8.16