10 #ifndef ROL_STATUSFACTORY_H
11 #define ROL_STATUSFACTORY_H
15 #include "ROL_ParameterList.hpp"
16 #include "ROL_Ptr.hpp"
30 ROL::ParameterList &parlist) {
33 case STEP_BUNDLE:
return ROL::makePtr<BundleStatusTest<Real>>(parlist);
41 case STEP_FLETCHER:
return ROL::makePtr<FletcherStatusTest<Real>>(parlist);
42 default:
return ROL::nullPtr;
ROL::Ptr< StatusTest< Real > > getStatusTest(const std::string step, ROL::ParameterList &parlist)
EStep StringToEStep(std::string s)
Contains definitions of custom data types in ROL.
EStep
Enumeration of step types.