LOCA::EigenvalueSort::LargestReal Class Reference

Largest-real sorting strategy. More...

#include <LOCA_EigenvalueSort_Strategies.H>

Inheritance diagram for LOCA::EigenvalueSort::LargestReal:

Inheritance graph
[legend]
Collaboration diagram for LOCA::EigenvalueSort::LargestReal:

Collaboration graph
[legend]

List of all members.

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.
LargestRealoperator= (const LargestReal &)
 Private to prohibit copying.


Detailed Description

Largest-real sorting strategy.

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.


Constructor & Destructor Documentation

LOCA::EigenvalueSort::LargestReal::LargestReal ( const Teuchos::RCP< LOCA::GlobalData > &  global_data,
const Teuchos::RCP< Teuchos::ParameterList > &  eigenParams 
) [inline]

Constructor.

Parameters:
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]

Destructor.

Definition at line 245 of file LOCA_EigenvalueSort_Strategies.H.

LOCA::EigenvalueSort::LargestReal::LargestReal ( const LargestReal  )  [private]

Private to prohibit copying.


Member Function Documentation

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.


The documentation for this class was generated from the following files:

Generated on Wed Oct 21 14:28:29 2009 for Nonlinear Solver Project by  doxygen 1.5.9