ROL
Namespaces | Enumerations | Functions
ROL_TrustRegionUtilities.hpp File Reference
#include "ROL_TrustRegionModel_U.hpp"

Go to the source code of this file.

Namespaces

namespace  ROL
 
namespace  ROL::TRUtils
 

Enumerations

enum  ROL::TRUtils::ETRFlag {
  ROL::TRUtils::SUCCESS = 0 , ROL::TRUtils::POSPREDNEG , ROL::TRUtils::NPOSPREDPOS , ROL::TRUtils::NPOSPREDNEG ,
  ROL::TRUtils::TRNAN , ROL::TRUtils::QMINSUFDEC , ROL::TRUtils::UNDEFINED
}
 

Functions

std::string ROL::TRUtils::ETRFlagToString (ETRFlag trf)
 
template<typename Real >
Real ROL::TRUtils::initialRadius (int &nfval, const Vector< Real > &x, const Vector< Real > &g, Vector< Real > &Bg, const Real fx, const Real gnorm, Objective< Real > &obj, TrustRegionModel_U< Real > &model, const Real delMax, std::ostream &outStream, const bool print=false)
 
template<typename Real >
void ROL::TRUtils::analyzeRatio (Real &rho, ETRFlag &flag, const Real fold, const Real ftrial, const Real pRed, const Real epsi, std::ostream &outStream=std::cout, const bool print=false)
 
template<typename Real >
Real ROL::TRUtils::interpolateRadius (const Vector< Real > &g, const Vector< Real > &s, const Real snorm, const Real pRed, const Real fold, const Real ftrial, const Real del, const Real gamma0, const Real gamma1, const Real eta2, std::ostream &outStream=std::cout, const bool print=false)