44 #ifndef BELOS_STATUS_TEST_HPP 45 #define BELOS_STATUS_TEST_HPP 55 #include "Teuchos_Describable.hpp" 78 template <
class ScalarType,
class MV,
class OP>
79 class StatusTest :
public Teuchos::Describable {
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.
A pure virtual class for defining the status tests for the Belos iterative solvers.
StatusType
Whether the StatusTest wants iteration to stop.
virtual ~StatusTest()
Destructor.
BelosError(const std::string &what_arg)
StatusTestError(const std::string &what_arg)
Parent class to all Belos exceptions.
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...