29 #ifndef ANASAZI_SORTMANAGER_HPP 30 #define ANASAZI_SORTMANAGER_HPP 48 #include "Teuchos_Assert.hpp" 49 #include "Teuchos_ParameterList.hpp" 65 template<
class MagnitudeType>
89 virtual void sort(std::vector<MagnitudeType> &evals, Teuchos::RCP<std::vector<int> > perm = Teuchos::null,
int n = -1)
const = 0;
109 virtual void sort(std::vector<MagnitudeType> &r_evals,
110 std::vector<MagnitudeType> &i_evals,
111 Teuchos::RCP<std::vector<int> > perm = Teuchos::null,
112 int n = -1)
const = 0;
118 #endif // ANASAZI_SORTMANAGER_HPP An exception class parent to all Anasazi exceptions.
Namespace Anasazi contains the classes, structs, enums and utilities used by the Anasazi package...
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...