NOX
Development
|
Largest-Real Cayley sorting strategy. More...
#include <LOCA_EigenvalueSort_Strategies.H>
Public Member Functions | |
LargestRealInverseCayley (const Teuchos::RCP< LOCA::GlobalData > &global_data, const Teuchos::RCP< Teuchos::ParameterList > &eigenParams) | |
Constructor. More... | |
~LargestRealInverseCayley () | |
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. | |
Public Member Functions inherited from LOCA::EigenvalueSort::AbstractStrategy | |
AbstractStrategy () | |
Constructor. | |
virtual | ~AbstractStrategy () |
Destructor. | |
Protected Member Functions | |
double | realLambda (double er, double ei) const |
Compute the part of the inverse of the Cayley transformation. | |
Protected Attributes | |
double | sigma |
Cayley pole. | |
double | mu |
Cayley zero. | |
Largest-Real Cayley sorting strategy.
Sorts eigenvalues in decreasing order according to the real part of their inverse-Cayley transformation. This method references the "CayleyPole" and "CayleyZero" parameters in the eigensolver parameter list.
LOCA::EigenvalueSort::LargestRealInverseCayley::LargestRealInverseCayley | ( | const Teuchos::RCP< LOCA::GlobalData > & | global_data, |
const Teuchos::RCP< Teuchos::ParameterList > & | eigenParams | ||
) |
Constructor.
global_data | [in] Global data object |
eigenParams | [in] Eigensolver parameters. |
References Teuchos::ParameterList::get(), mu, and sigma.