ROL
TruncatedCG_U Class Reference

Provides interface for truncated CG trust-region subproblem solver. More...

#include <ROL_TruncatedCG_U.hpp>

+ Inheritance diagram for TruncatedCG_U:

Public Member Functions

 TruncatedCG_U (ParameterList &parlist)
 
void initialize (const Vector< Real > &x, const Vector< Real > &g)
 
void solve (Vector< Real > &s, Real &snorm, Real &pRed, int &iflag, int &iter, const Real del, TrustRegionModel_U< Real > &model)
 
- Public Member Functions inherited from TrustRegion_U< Real >
virtual ~TrustRegion_U ()
 

Private Attributes

Ptr< Vector< Real > > s_
 
Ptr< Vector< Real > > g_
 
Ptr< Vector< Real > > v_
 
Ptr< Vector< Real > > p_
 
Ptr< Vector< Real > > Hp_
 
int maxit_
 
Real tol1_
 
Real tol2_
 

Detailed Description

Provides interface for truncated CG trust-region subproblem solver.

Constructor & Destructor Documentation

◆ TruncatedCG_U()

TruncatedCG_U::TruncatedCG_U ( ParameterList & parlist)
inline

Definition at line 68 of file ROL_TruncatedCG_U.hpp.

Member Function Documentation

◆ initialize()

void TruncatedCG_U::initialize ( const Vector< Real > & x,
const Vector< Real > & g )
inlinevirtual

Reimplemented from TrustRegion_U< Real >.

Definition at line 76 of file ROL_TruncatedCG_U.hpp.

◆ solve()

void TruncatedCG_U::solve ( Vector< Real > & s,
Real & snorm,
Real & pRed,
int & iflag,
int & iter,
const Real del,
TrustRegionModel_U< Real > & model )
inlinevirtual

Member Data Documentation

◆ s_

Ptr<Vector<Real> > TruncatedCG_U::s_
private

Definition at line 59 of file ROL_TruncatedCG_U.hpp.

◆ g_

Ptr<Vector<Real> > TruncatedCG_U::g_
private

Definition at line 59 of file ROL_TruncatedCG_U.hpp.

◆ v_

Ptr<Vector<Real> > TruncatedCG_U::v_
private

Definition at line 59 of file ROL_TruncatedCG_U.hpp.

◆ p_

Ptr<Vector<Real> > TruncatedCG_U::p_
private

Definition at line 59 of file ROL_TruncatedCG_U.hpp.

◆ Hp_

Ptr<Vector<Real> > TruncatedCG_U::Hp_
private

Definition at line 59 of file ROL_TruncatedCG_U.hpp.

◆ maxit_

int TruncatedCG_U::maxit_
private

Definition at line 61 of file ROL_TruncatedCG_U.hpp.

◆ tol1_

Real TruncatedCG_U::tol1_
private

Definition at line 62 of file ROL_TruncatedCG_U.hpp.

◆ tol2_

Real TruncatedCG_U::tol2_
private

Definition at line 63 of file ROL_TruncatedCG_U.hpp.


The documentation for this class was generated from the following file: