30 #ifndef ANASAZI_STATUS_TEST_HPP
31 #define ANASAZI_STATUS_TEST_HPP
58 template <
class ScalarType,
class MV,
class OP>
84 virtual std::vector<int>
whichVecs()
const = 0;
87 virtual int howMany()
const = 0;
99 virtual void reset() = 0;
115 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.
Anasazi header file which uses auto-configuration information to include necessary C++ headers...
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.
A pure virtual class for defining the status tests for the Anasazi iterative 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...