42 #ifndef ANASAZI_SORTMANAGER_HPP
43 #define ANASAZI_SORTMANAGER_HPP
61 #include "Teuchos_Assert.hpp"
78 template<
class MagnitudeType>
102 virtual void sort(std::vector<MagnitudeType> &evals,
Teuchos::RCP<std::vector<int> > perm = Teuchos::null,
int n = -1)
const = 0;
122 virtual void sort(std::vector<MagnitudeType> &r_evals,
123 std::vector<MagnitudeType> &i_evals,
125 int n = -1)
const = 0;
131 #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...