43 #ifndef ANASAZI_STATUS_TEST_HPP
44 #define ANASAZI_STATUS_TEST_HPP
74 template <
class ScalarType,
class MV,
class OP>
100 virtual std::vector<int>
whichVecs()
const = 0;
103 virtual int howMany()
const = 0;
115 virtual void reset() = 0;
131 virtual std::ostream&
print(std::ostream& os,
int indent = 0)
const = 0;
virtual ~StatusTest()
Destructor.
virtual std::vector< int > whichVecs() const =0
Get the indices for the vectors that passed the test.
An exception class parent to all Anasazi exceptions.
Forward declaration of pure virtual base class Anasazi::StatusTest.
Exception thrown to signal error in a status test during Anasazi::StatusTest::checkStatus().
TestStatus
Enumerated type used to pass back information from a StatusTest.
Forward declaration of the virtual base class Anasazi::Eigensolver.
virtual int howMany() const =0
Get the number of vectors that passed the test.
virtual std::ostream & print(std::ostream &os, int indent=0) const =0
Output formatted description of stopping test to output stream.
virtual void clearStatus()=0
Clears the results of the last status test.
virtual TestStatus checkStatus(Eigensolver< ScalarType, MV, OP > *solver)=0
virtual TestStatus getStatus() const =0
Return the result of the most recent checkStatus call, or undefined if it has not been run...
Types and exceptions used within Anasazi solvers and interfaces.
Common interface of stopping criteria for Anasazi's solvers.
virtual void reset()=0
Informs the status test that it should reset its internal configuration to the uninitialized state...
The Eigensolver is a templated virtual base class that defines the basic interface that any eigensolv...