NOX
Development
|
Factory for creating solver objects for solving Moore-Spence turning point equations. More...
#include <LOCA_TurningPoint_MooreSpence_SolverFactory.H>
Public Member Functions | |
SolverFactory (const Teuchos::RCP< LOCA::GlobalData > &global_data) | |
Constructor. | |
virtual | ~SolverFactory () |
Destructor. | |
Teuchos::RCP < LOCA::TurningPoint::MooreSpence::SolverStrategy > | create (const Teuchos::RCP< LOCA::Parameter::SublistParser > &topParams, const Teuchos::RCP< Teuchos::ParameterList > &solverParams) |
Create solver strategy. More... | |
const std::string & | strategyName (Teuchos::ParameterList &solverParams) const |
Return strategy name given by solverParams . | |
Protected Attributes | |
Teuchos::RCP< LOCA::GlobalData > | globalData |
Global data. | |
Factory for creating solver objects for solving Moore-Spence turning point equations.
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.
Teuchos::RCP< LOCA::TurningPoint::MooreSpence::SolverStrategy > LOCA::TurningPoint::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 |
References Teuchos::ParameterList::get(), and Teuchos::rcp().