Go to the documentation of this file.
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(
' ');
virtual ~StatusTest()
Destructor.
Belos header file which uses auto-configuration information to include necessary C++ headers.
StatusTestError(const std::string &what_arg)
Exception thrown to signal error in a status test during Belos::StatusTest::checkStatus().
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 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.
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.
Parent class to all Belos exceptions.
Collection of types and exceptions used within the Belos solvers.
Pure virtual base class which describes the basic interface to the linear solver iteration.
BelosError(const std::string &what_arg)
virtual StatusType getStatus() const =0
Return the result of the most recent CheckStatus call.
Generated on Thu Feb 27 2020 16:06:46 for Belos by
1.8.16