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