44 #ifndef ROL_DISTRIBUTIONFACTORY_HPP
45 #define ROL_DISTRIBUTIONFACTORY_HPP
47 #include "ROL_ParameterList.hpp"
91 std::string retString;
111 default: retString =
"INVALID EDistribution";
break;
169 ROL::ParameterList sollist;
170 if ( parlist.isSublist(
"SOL") ) {
171 dist.assign(parlist.sublist(
"SOL").sublist(
"Distribution").get(
"Name",
"Dirac"));
175 dist.assign(parlist.sublist(
"Distribution").get(
"Name",
"Dirac"));
176 sollist.sublist(
"SOL") = parlist;
197 default:
return ROL::nullPtr;
EDistribution StringToEDistribution(std::string s)
std::string removeStringFormat(std::string s)
int isValidDistribution(EDistribution ed)
ETrustRegion & operator--(ETrustRegion &type)
std::string EDistributionToString(EDistribution ed)
ETrustRegion & operator++(ETrustRegion &type)
ROL::Ptr< Distribution< Real > > DistributionFactory(ROL::ParameterList &parlist)