10 #ifndef ANASAZI_SORTMANAGER_HPP
11 #define ANASAZI_SORTMANAGER_HPP
29 #include "Teuchos_Assert.hpp"
46 template<
class MagnitudeType>
70 virtual void sort(std::vector<MagnitudeType> &evals,
Teuchos::RCP<std::vector<int> > perm = Teuchos::null,
int n = -1)
const = 0;
90 virtual void sort(std::vector<MagnitudeType> &r_evals,
91 std::vector<MagnitudeType> &i_evals,
93 int n = -1)
const = 0;
99 #endif // ANASAZI_SORTMANAGER_HPP
virtual void sort(std::vector< MagnitudeType > &evals, Teuchos::RCP< std::vector< int > > perm=Teuchos::null, int n=-1) const =0
Sort real eigenvalues, optionally returning the permutation vector.
An exception class parent to all Anasazi exceptions.
virtual ~SortManager()
Destructor.
SortManagerError is thrown when the Anasazi::SortManager is unable to sort the numbers, due to some failure of the sort method or error in calling it.
Anasazi header file which uses auto-configuration information to include necessary C++ headers...
SortManager()
Default constructor.
SortManager(Teuchos::ParameterList &pl)
Constructor accepting a Teuchos::ParameterList. This is the default mode for instantiating a SortMana...
Types and exceptions used within Anasazi solvers and interfaces.
Anasazi's templated pure virtual class for managing the sorting of approximate eigenvalues computed b...