#include <LOCA_StepSize_Factory.H>
Public Member Functions | |
Factory (const Teuchos::RCP< LOCA::GlobalData > &global_data) | |
Constructor. | |
virtual | ~Factory () |
Destructor. | |
Teuchos::RCP < LOCA::StepSize::AbstractStrategy > | create (const Teuchos::RCP< LOCA::Parameter::SublistParser > &topParams, const Teuchos::RCP< Teuchos::ParameterList > &stepsizeParams) |
Create step size control strategy. | |
const string & | strategyName (Teuchos::ParameterList &stepsizeParams) const |
Return strategy name given by stepsizeParams . | |
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 stepsizeParams
argument method should specify the "Method" as described below, as well as any additional parameters for the particular strategy.
Definition at line 79 of file LOCA_StepSize_Factory.H.
LOCA::StepSize::Factory::Factory | ( | const Teuchos::RCP< LOCA::GlobalData > & | global_data | ) |
LOCA::StepSize::Factory::~Factory | ( | ) | [virtual] |
LOCA::StepSize::Factory::Factory | ( | const Factory & | ) | [private] |
Private to prohibit copying.
Teuchos::RCP< LOCA::StepSize::AbstractStrategy > LOCA::StepSize::Factory::create | ( | const Teuchos::RCP< LOCA::Parameter::SublistParser > & | topParams, | |
const Teuchos::RCP< Teuchos::ParameterList > & | stepsizeParams | |||
) |
Create step size control strategy.
topParams | [in] Parsed top-level parameter list. | |
stepsizeParams | [in] Step size parameters as described above |
Definition at line 62 of file LOCA_StepSize_Factory.C.
References globalData, and strategyName().
Referenced by LOCA::Factory::createStepSizeStrategy().
const string & LOCA::StepSize::Factory::strategyName | ( | Teuchos::ParameterList & | stepsizeParams | ) | const |
Return strategy name given by stepsizeParams
.
Definition at line 107 of file LOCA_StepSize_Factory.C.
Referenced by create(), and LOCA::Factory::createStepSizeStrategy().
Private to prohibit copying.
Teuchos::RCP<LOCA::GlobalData> LOCA::StepSize::Factory::globalData [protected] |