#include <LOCA_EigenvalueSort_Strategies.H>
Public Member Functions | |
LargestReal (const Teuchos::RCP< LOCA::GlobalData > &global_data, const Teuchos::RCP< Teuchos::ParameterList > &eigenParams) | |
Constructor. | |
~LargestReal () | |
Destructor. | |
virtual NOX::Abstract::Group::ReturnType | sort (int n, double *evals, std::vector< int > *perm=NULL) const |
Sort real eigenvalues. | |
virtual NOX::Abstract::Group::ReturnType | sort (int n, double *r_evals, double *i_evals, std::vector< int > *perm=NULL) const |
Sort complex eigenvalues. | |
Private Member Functions | |
LargestReal (const LargestReal &) | |
Private to prohibit copying. | |
LargestReal & | operator= (const LargestReal &) |
Private to prohibit copying. |
Sorts eigenvalues in decreasing order according to their real part. This method requires no parameters in the eigenParams
argument to the constructor
Definition at line 231 of file LOCA_EigenvalueSort_Strategies.H.
LOCA::EigenvalueSort::LargestReal::LargestReal | ( | const Teuchos::RCP< LOCA::GlobalData > & | global_data, | |
const Teuchos::RCP< Teuchos::ParameterList > & | eigenParams | |||
) | [inline] |
Constructor.
global_data | [in] Global data object | |
eigenParams | [in] Eigensolver parameters. |
Definition at line 240 of file LOCA_EigenvalueSort_Strategies.H.
LOCA::EigenvalueSort::LargestReal::~LargestReal | ( | ) | [inline] |
LOCA::EigenvalueSort::LargestReal::LargestReal | ( | const LargestReal & | ) | [private] |
Private to prohibit copying.
NOX::Abstract::Group::ReturnType LOCA::EigenvalueSort::LargestReal::sort | ( | int | n, | |
double * | evals, | |||
std::vector< int > * | perm = NULL | |||
) | const [virtual] |
Sort real eigenvalues.
Implements LOCA::EigenvalueSort::AbstractStrategy.
Definition at line 193 of file LOCA_EigenvalueSort_Strategies.C.
References NOX::Abstract::Group::Ok.
NOX::Abstract::Group::ReturnType LOCA::EigenvalueSort::LargestReal::sort | ( | int | n, | |
double * | r_evals, | |||
double * | i_evals, | |||
std::vector< int > * | perm = NULL | |||
) | const [virtual] |
Sort complex eigenvalues.
Implements LOCA::EigenvalueSort::AbstractStrategy.
Definition at line 227 of file LOCA_EigenvalueSort_Strategies.C.
References NOX::Abstract::Group::Ok.
LargestReal& LOCA::EigenvalueSort::LargestReal::operator= | ( | const LargestReal & | ) | [private] |
Private to prohibit copying.