44 #ifndef ROL_STATUSFACTORY_H
45 #define ROL_STATUSFACTORY_H
49 #include "ROL_ParameterList.hpp"
50 #include "ROL_Ptr.hpp"
59 class StatusTestFactory {
64 ROL::ParameterList &parlist) {
67 case STEP_BUNDLE:
return ROL::makePtr<BundleStatusTest<Real>>(parlist);
75 case STEP_FLETCHER:
return ROL::makePtr<FletcherStatusTest<Real>>(parlist);
76 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.