12#ifndef BELOS_STATUS_TEST_HPP
13#define BELOS_STATUS_TEST_HPP
23#include "Teuchos_Describable.hpp"
49template <
class ScalarType,
class MV,
class OP>
95 virtual void print(std::ostream& os,
int indent = 0)
const = 0;
99 os << std::left << std::setw(13) << std::setfill(
'.');
112 os << std::left << std::setfill(
' ');
Belos header file which uses auto-configuration information to include necessary C++ headers.
Pure virtual base class which describes the basic interface to the linear solver iteration.
Collection of types and exceptions used within the Belos solvers.
BelosError(const std::string &what_arg)
StatusTestError(const std::string &what_arg)
StatusTestNaNError(const std::string &what_arg)
virtual StatusType getStatus() const =0
Return the result of the most recent CheckStatus call.
virtual ~StatusTest()
Destructor.
virtual void print(std::ostream &os, int indent=0) const =0
Output formatted description of stopping test to output stream.
virtual StatusType checkStatus(Iteration< ScalarType, MV, OP > *iSolver)=0
Check convergence status: Unconverged, Converged, Failed.
virtual void reset()=0
Informs the convergence test that it should reset its internal configuration to the initialized state...
virtual void printStatus(std::ostream &os, StatusType type) const
Output the result of the most recent CheckStatus call.
StatusType
Whether the StatusTest wants iteration to stop.