ROL
ROL::ROL::lSR1< Real > Class Template Reference

#include <ROL_Constraint_SerialSimOpt.hpp>

+ Inheritance diagram for ROL::ROL::lSR1< Real >:

Public Member Functions

 lSR1 (int M, bool useDefaultScaling=true, Real Bscaling=Real(1), ESecantMode mode=SECANTMODE_BOTH)
 
void updateStorage (const Vector< Real > &x, const Vector< Real > &grad, const Vector< Real > &gp, const Vector< Real > &s, const Real snorm, const int iter)
 
virtual void applyH0 (Vector< Real > &Hv, const Vector< Real > &v) const
 
void applyH (Vector< Real > &Hv, const Vector< Real > &v) const
 
virtual void applyB0 (Vector< Real > &Bv, const Vector< Real > &v) const
 
void applyB (Vector< Real > &Bv, const Vector< Real > &v) const
 
- Public Member Functions inherited from ROL::ROL::Secant< Real >
virtual ~Secant ()
 
 Secant (int M=10, bool useDefaultScaling=true, Real Bscaling=Real(1), ESecantMode mode=SECANTMODE_BOTH)
 
Ptr< SecantState< Real > > & get_state ()
 
const Ptr< SecantState< Real > > & get_state () const
 
void test (std::ostream &stream=std::cout) const
 
void apply (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const
 Apply linear operator.
 
void applyInverse (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const
 Apply inverse of linear operator.
 
- Public Member Functions inherited from ROL::ROL::LinearOperator< Real >
virtual ~LinearOperator ()
 
virtual void update (const Vector< Real > &x, bool flag=true, int iter=-1)
 Update linear operator.
 
virtual void applyAdjoint (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const
 Apply adjoint of linear operator.
 
virtual void applyAdjointInverse (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const
 Apply adjoint of the inverse linear operator.
 

Private Attributes

bool isInitialized_
 
bool H0called_
 
bool B0called_
 
Ptr< Vector< Real > > Bs_
 
Ptr< Vector< Real > > Hy_
 
Ptr< Vector< Real > > prim_
 
Ptr< Vector< Real > > dual_
 

Additional Inherited Members

- Protected Attributes inherited from ROL::ROL::Secant< Real >
const Ptr< SecantState< Real > > state_
 
Ptr< Vector< Real > > y_
 
bool useDefaultScaling_
 
Real Bscaling_
 

Detailed Description

template<class Real>
class ROL::ROL::lSR1< Real >

Definition at line 57 of file ROL_Constraint_SerialSimOpt.hpp.

Constructor & Destructor Documentation

◆ lSR1()

template<class Real>
ROL::ROL::lSR1< Real >::lSR1 ( int M,
bool useDefaultScaling = true,
Real Bscaling = Real(1),
ESecantMode mode = SECANTMODE_BOTH )
inline

Definition at line 71 of file ROL_Constraint_SerialSimOpt.hpp.

Member Function Documentation

◆ updateStorage()

template<class Real>
void ROL::ROL::lSR1< Real >::updateStorage ( const Vector< Real > & x,
const Vector< Real > & grad,
const Vector< Real > & gp,
const Vector< Real > & s,
const Real snorm,
const int iter )
inlinevirtual

Reimplemented from ROL::ROL::Secant< Real >.

Definition at line 79 of file ROL_Constraint_SerialSimOpt.hpp.

◆ applyH0()

template<class Real>
virtual void ROL::ROL::lSR1< Real >::applyH0 ( Vector< Real > & Hv,
const Vector< Real > & v ) const
inlinevirtual

Reimplemented from ROL::ROL::Secant< Real >.

Definition at line 195 of file ROL_Constraint_SerialSimOpt.hpp.

◆ applyH()

template<class Real>
void ROL::ROL::lSR1< Real >::applyH ( Vector< Real > & Hv,
const Vector< Real > & v ) const
inlinevirtual

Implements ROL::ROL::Secant< Real >.

Definition at line 208 of file ROL_Constraint_SerialSimOpt.hpp.

◆ applyB0()

template<class Real>
virtual void ROL::ROL::lSR1< Real >::applyB0 ( Vector< Real > & Bv,
const Vector< Real > & v ) const
inlinevirtual

Reimplemented from ROL::ROL::Secant< Real >.

Definition at line 261 of file ROL_Constraint_SerialSimOpt.hpp.

◆ applyB()

template<class Real>
void ROL::ROL::lSR1< Real >::applyB ( Vector< Real > & Bv,
const Vector< Real > & v ) const
inlinevirtual

Implements ROL::ROL::Secant< Real >.

Definition at line 274 of file ROL_Constraint_SerialSimOpt.hpp.

Member Data Documentation

◆ isInitialized_

template<class Real>
bool ROL::ROL::lSR1< Real >::isInitialized_
private

Definition at line 61 of file ROL_Constraint_SerialSimOpt.hpp.

◆ H0called_

template<class Real>
bool ROL::ROL::lSR1< Real >::H0called_
mutableprivate

Definition at line 62 of file ROL_Constraint_SerialSimOpt.hpp.

◆ B0called_

template<class Real>
bool ROL::ROL::lSR1< Real >::B0called_
private

Definition at line 62 of file ROL_Constraint_SerialSimOpt.hpp.

◆ Bs_

template<class Real>
Ptr<Vector<Real> > ROL::ROL::lSR1< Real >::Bs_
private

Definition at line 63 of file ROL_Constraint_SerialSimOpt.hpp.

◆ Hy_

template<class Real>
Ptr<Vector<Real> > ROL::ROL::lSR1< Real >::Hy_
private

Definition at line 63 of file ROL_Constraint_SerialSimOpt.hpp.

◆ prim_

template<class Real>
Ptr<Vector<Real> > ROL::ROL::lSR1< Real >::prim_
private

Definition at line 63 of file ROL_Constraint_SerialSimOpt.hpp.

◆ dual_

template<class Real>
Ptr<Vector<Real> > ROL::ROL::lSR1< Real >::dual_
private

Definition at line 63 of file ROL_Constraint_SerialSimOpt.hpp.


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