NOX
Development
|
Factory for creating EigenvalueSort strategy objects. More...
#include <LOCA_EigenvalueSort_Factory.H>
Public Member Functions | |
Factory (const Teuchos::RCP< LOCA::GlobalData > &global_data) | |
Constructor. | |
virtual | ~Factory () |
Destructor. | |
Teuchos::RCP < LOCA::EigenvalueSort::AbstractStrategy > | create (const Teuchos::RCP< LOCA::Parameter::SublistParser > &topParams, const Teuchos::RCP< Teuchos::ParameterList > &eigenParams) |
Create sorting strategy. More... | |
const std::string & | strategyName (Teuchos::ParameterList &eigenParams) const |
Return strategy name given by eigenParams . | |
Protected Attributes | |
Teuchos::RCP< LOCA::GlobalData > | globalData |
Global data. | |
Factory for creating EigenvalueSort strategy objects.
The parameters passed to the create() through the eigenParams
argument method should specify the sorting method "Sorting Method" as described below, as well as any additional parameters for the particular strategy.
Teuchos::RCP< LOCA::EigenvalueSort::AbstractStrategy > LOCA::EigenvalueSort::Factory::create | ( | const Teuchos::RCP< LOCA::Parameter::SublistParser > & | topParams, |
const Teuchos::RCP< Teuchos::ParameterList > & | eigenParams | ||
) |
Create sorting strategy.
topParams | [in] Parsed top-level parameter list. |
eigenParams | [in] Eigensolver parameters as described above |
References Teuchos::ParameterList::get(), and Teuchos::rcp().