11#ifndef ANASAZI_STATUS_TEST_HPP
12#define ANASAZI_STATUS_TEST_HPP
28 class StatusTestError :
public AnasaziError
29 {
public: StatusTestError(
const std::string& what_arg) : AnasaziError(what_arg) {}};
42template <
class ScalarType,
class MV,
class OP>
99 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.
The Eigensolver is a templated virtual base class that defines the basic interface that any eigensolv...
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.