#include <LOCA_Eigensolver_Factory.H>
Public Member Functions | |
Factory (const Teuchos::RCP< LOCA::GlobalData > &global_data) | |
Constructor. | |
virtual | ~Factory () |
Destructor. | |
Teuchos::RCP < LOCA::Eigensolver::AbstractStrategy > | create (const Teuchos::RCP< LOCA::Parameter::SublistParser > &topParams, const Teuchos::RCP< Teuchos::ParameterList > &eigenParams) |
Create eigensolver strategy. | |
const string & | strategyName (Teuchos::ParameterList &eigenParams) const |
Return strategy name given by eigenParams . | |
Protected Attributes | |
Teuchos::RCP< LOCA::GlobalData > | globalData |
Global data. | |
Private Member Functions | |
Factory (const Factory &) | |
Private to prohibit copying. | |
Factory & | operator= (const Factory &) |
Private to prohibit copying. |
The parameters passed to the create() through the eigenParams
argument method should specify the "Method" as described below, as well as any additional parameters for the particular strategy.
There is also a LAPACK specific strategy that can be instantiated by the LOCA::LAPACK::Factory. See LOCA::Eigensolver::DGGEVStrategy.
Definition at line 83 of file LOCA_Eigensolver_Factory.H.
LOCA::Eigensolver::Factory::Factory | ( | const Teuchos::RCP< LOCA::GlobalData > & | global_data | ) |
LOCA::Eigensolver::Factory::~Factory | ( | ) | [virtual] |
LOCA::Eigensolver::Factory::Factory | ( | const Factory & | ) | [private] |
Private to prohibit copying.
Teuchos::RCP< LOCA::Eigensolver::AbstractStrategy > LOCA::Eigensolver::Factory::create | ( | const Teuchos::RCP< LOCA::Parameter::SublistParser > & | topParams, | |
const Teuchos::RCP< Teuchos::ParameterList > & | eigenParams | |||
) |
Create eigensolver strategy.
topParams | [in] Parsed top-level parameter list. | |
eigenParams | [in] Eigensolver parameters as described above |
Definition at line 64 of file LOCA_Eigensolver_Factory.C.
References globalData, and strategyName().
Referenced by LOCA::Factory::createEigensolverStrategy().
const string & LOCA::Eigensolver::Factory::strategyName | ( | Teuchos::ParameterList & | eigenParams | ) | const |
Return strategy name given by eigenParams
.
Definition at line 115 of file LOCA_Eigensolver_Factory.C.
Referenced by create(), and LOCA::Factory::createEigensolverStrategy().
Private to prohibit copying.
Teuchos::RCP<LOCA::GlobalData> LOCA::Eigensolver::Factory::globalData [protected] |