44 #ifndef BELOS_STATUS_TEST_HPP
45 #define BELOS_STATUS_TEST_HPP
78 template <
class ScalarType,
class MV,
class OP>
117 virtual void reset() = 0;
124 virtual void print(std::ostream& os,
int indent = 0)
const = 0;
128 os << std::left << std::setw(13) << std::setfill(
'.');
141 os << std::left << std::setfill(
' ');
Collection of types and exceptions used within the Belos solvers.
Exception thrown to signal error in a status test during Belos::StatusTest::checkStatus().
Pure virtual base class which describes the basic interface to the linear solver iteration.
virtual StatusType checkStatus(Iteration< ScalarType, MV, OP > *iSolver)=0
Check convergence status: Unconverged, Converged, Failed.
A pure virtual class for defining the status tests for the Belos iterative solvers.
StatusType
Whether the StatusTest wants iteration to stop.
virtual void print(std::ostream &os, int indent=0) const =0
Output formatted description of stopping test to output stream.
virtual ~StatusTest()
Destructor.
BelosError(const std::string &what_arg)
StatusTestError(const std::string &what_arg)
virtual void reset()=0
Informs the convergence test that it should reset its internal configuration to the initialized state...
Parent class to all Belos exceptions.
virtual StatusType getStatus() const =0
Return the result of the most recent CheckStatus call.
virtual void printStatus(std::ostream &os, StatusType type) const
Output the result of the most recent CheckStatus call.
Belos header file which uses auto-configuration information to include necessary C++ headers...