42#ifndef ANASAZI_SORTMANAGER_HPP
43#define ANASAZI_SORTMANAGER_HPP
61#include "Teuchos_Assert.hpp"
62#include "Teuchos_ParameterList.hpp"
73 class SortManagerError :
public AnasaziError
74 {
public: SortManagerError(
const std::string& what_arg) : AnasaziError(what_arg) {}};
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,
124 Teuchos::RCP<std::vector<int> > perm = Teuchos::null,
125 int n = -1)
const = 0;
Anasazi header file which uses auto-configuration information to include necessary C++ headers.
Types and exceptions used within Anasazi solvers and interfaces.
virtual void sort(std::vector< MagnitudeType > &r_evals, std::vector< MagnitudeType > &i_evals, Teuchos::RCP< std::vector< int > > perm=Teuchos::null, int n=-1) const =0
Sort complex eigenvalues, optionally returning the permutation vector.
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.
SortManager()
Default constructor.
SortManager(Teuchos::ParameterList &pl)
Constructor accepting a Teuchos::ParameterList. This is the default mode for instantiating a SortMana...
virtual ~SortManager()
Destructor.
Namespace Anasazi contains the classes, structs, enums and utilities used by the Anasazi package.