#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. | |
const string & | strategyName (Teuchos::ParameterList &predictorParams) const |
Return strategy name given by predictorParams . | |
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 predictorParams
argument method should specify the "Method" as described below, as well as any additional parameters for the particular strategy.
Definition at line 82 of file LOCA_MultiPredictor_Factory.H.
LOCA::MultiPredictor::Factory::Factory | ( | const Teuchos::RCP< LOCA::GlobalData > & | global_data | ) |
LOCA::MultiPredictor::Factory::~Factory | ( | ) | [virtual] |
LOCA::MultiPredictor::Factory::Factory | ( | const Factory & | ) | [private] |
Private to prohibit copying.
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 |
Definition at line 66 of file LOCA_MultiPredictor_Factory.C.
References globalData, and strategyName().
Referenced by LOCA::Factory::createPredictorStrategy().
const string & LOCA::MultiPredictor::Factory::strategyName | ( | Teuchos::ParameterList & | predictorParams | ) | const |
Return strategy name given by predictorParams
.
Definition at line 129 of file LOCA_MultiPredictor_Factory.C.
Referenced by create(), and LOCA::Factory::createPredictorStrategy().
Private to prohibit copying.
Teuchos::RCP<LOCA::GlobalData> LOCA::MultiPredictor::Factory::globalData [protected] |