#include <LOCA_Hopf_MooreSpence_SolverFactory.H>
Public Member Functions | |
SolverFactory (const Teuchos::RCP< LOCA::GlobalData > &global_data) | |
Constructor. | |
virtual | ~SolverFactory () |
Destructor. | |
Teuchos::RCP < LOCA::Hopf::MooreSpence::SolverStrategy > | create (const Teuchos::RCP< LOCA::Parameter::SublistParser > &topParams, const Teuchos::RCP< Teuchos::ParameterList > &solverParams) |
Create solver strategy. | |
const string & | strategyName (Teuchos::ParameterList &solverParams) const |
Return strategy name given by solverParams . | |
Protected Attributes | |
Teuchos::RCP< LOCA::GlobalData > | globalData |
Global data. | |
Private Member Functions | |
SolverFactory (const SolverFactory &) | |
Private to prohibit copying. | |
SolverFactory & | operator= (const SolverFactory &) |
Private to prohibit copying. |
The parameters passed to the create() through the solverParams
argument method should specify the "Solver Method" as described below, as well as any additional parameters for the particular strategy.
Definition at line 85 of file LOCA_Hopf_MooreSpence_SolverFactory.H.
LOCA::Hopf::MooreSpence::SolverFactory::SolverFactory | ( | const Teuchos::RCP< LOCA::GlobalData > & | global_data | ) |
LOCA::Hopf::MooreSpence::SolverFactory::~SolverFactory | ( | ) | [virtual] |
LOCA::Hopf::MooreSpence::SolverFactory::SolverFactory | ( | const SolverFactory & | ) | [private] |
Private to prohibit copying.
Teuchos::RCP< LOCA::Hopf::MooreSpence::SolverStrategy > LOCA::Hopf::MooreSpence::SolverFactory::create | ( | const Teuchos::RCP< LOCA::Parameter::SublistParser > & | topParams, | |
const Teuchos::RCP< Teuchos::ParameterList > & | solverParams | |||
) |
Create solver strategy.
topParams | [in] Parsed top-level parameter list. | |
solverParams | [in] Solver parameters as described above |
Definition at line 61 of file LOCA_Hopf_MooreSpence_SolverFactory.C.
References globalData, and strategyName().
Referenced by LOCA::Factory::createMooreSpenceHopfSolverStrategy().
const string & LOCA::Hopf::MooreSpence::SolverFactory::strategyName | ( | Teuchos::ParameterList & | solverParams | ) | const |
Return strategy name given by solverParams
.
Definition at line 103 of file LOCA_Hopf_MooreSpence_SolverFactory.C.
Referenced by create(), and LOCA::Factory::createMooreSpenceHopfSolverStrategy().
SolverFactory& LOCA::Hopf::MooreSpence::SolverFactory::operator= | ( | const SolverFactory & | ) | [private] |
Private to prohibit copying.
Teuchos::RCP<LOCA::GlobalData> LOCA::Hopf::MooreSpence::SolverFactory::globalData [protected] |
Global data.
Definition at line 120 of file LOCA_Hopf_MooreSpence_SolverFactory.H.
Referenced by create().