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