ROL
Public Member Functions | Private Types | Private Attributes | Static Private Attributes | List of all members
ROL::InteriorPoint::PrimalDualSymmetrizer< Real > Class Template Reference

#include <ROL_InteriorPointPrimalDualResidual.hpp>

+ Inheritance diagram for ROL::InteriorPoint::PrimalDualSymmetrizer< Real >:

Public Member Functions

 PrimalDualSymmetrizer (const V &s)
 
void update (const V &s, bool flag=true, int iter=-1)
 Update linear operator. More...
 
void apply (V &Hv, const V &v, Real &tol) const
 Apply linear operator. More...
 
void applyInverse (V &Hv, const V &v, Real &tol) const
 Apply inverse of linear operator. More...
 
 PrimalDualSymmetrizer (const V &s)
 
void update (const V &s, bool flag=true, int iter=-1)
 Update linear operator. More...
 
void apply (V &Hv, const V &v, Real &tol) const
 Apply linear operator. More...
 
void applyInverse (V &Hv, const V &v, Real &tol) const
 Apply inverse of linear operator. More...
 
- Public Member Functions inherited from ROL::LinearOperator< Real >
virtual ~LinearOperator ()
 
virtual void applyAdjoint (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const
 Apply adjoint of linear operator. More...
 
virtual void applyAdjointInverse (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const
 Apply adjoint of the inverse linear operator. More...
 

Private Types

typedef Vector< Real > V
 
typedef PartitionedVector< Real > PV
 
typedef PV::size_type size_type
 
typedef Vector< Real > V
 
typedef PartitionedVector< Real > PV
 
typedef PV::size_type size_type
 

Private Attributes

ROL::Ptr< Vs_
 

Static Private Attributes

static const size_type OPT = 0
 
static const size_type SLACK = 1
 
static const size_type EQUAL = 2
 
static const size_type INEQ = 3
 

Detailed Description

template<class Real>
class ROL::InteriorPoint::PrimalDualSymmetrizer< Real >

Definition at line 38 of file interiorpoint/ROL_InteriorPointPrimalDualResidual.hpp.

Member Typedef Documentation

template<class Real >
typedef Vector<Real> ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::V
private
template<class Real >
typedef PartitionedVector<Real> ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::PV
private
template<class Real >
typedef PV::size_type ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::size_type
private
template<class Real >
typedef Vector<Real> ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::V
private

Definition at line 235 of file ROL_InteriorPointPrimalDualResidual.hpp.

template<class Real >
typedef PartitionedVector<Real> ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::PV
private

Definition at line 236 of file ROL_InteriorPointPrimalDualResidual.hpp.

template<class Real >
typedef PV::size_type ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::size_type
private

Definition at line 238 of file ROL_InteriorPointPrimalDualResidual.hpp.

Constructor & Destructor Documentation

template<class Real >
ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::PrimalDualSymmetrizer ( const V s)
inline
template<class Real >
ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::PrimalDualSymmetrizer ( const V s)
inline

Member Function Documentation

template<class Real >
void ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::update ( const V x,
bool  flag = true,
int  iter = -1 
)
inlinevirtual

Update linear operator.

This function updates the linear operator at new iterations.

Parameters
[in]xis the new iterate.
[in]flagis true if the iterate has changed.
[in]iteris the outer algorithm iterations count.

Reimplemented from ROL::LinearOperator< Real >.

Definition at line 257 of file interiorpoint/ROL_InteriorPointPrimalDualResidual.hpp.

References ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::s_.

template<class Real >
void ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::apply ( V Hv,
const V v,
Real &  tol 
) const
inlinevirtual

Apply linear operator.

This function applies the linear operator to a vector.

Parameters
[out]Hvis the output vector.
[in]vis the input vector.
[in]tolis a tolerance for inexact linear operator application.

Implements ROL::LinearOperator< Real >.

Definition at line 261 of file interiorpoint/ROL_InteriorPointPrimalDualResidual.hpp.

References ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::EQUAL, ROL::PartitionedVector< Real >::get(), ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::INEQ, ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::OPT, ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::s_, and ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::SLACK.

template<class Real >
void ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::applyInverse ( V Hv,
const V v,
Real &  tol 
) const
inlinevirtual

Apply inverse of linear operator.

This function applies the inverse of linear operator to a vector.

Parameters
[out]Hvis the output vector.
[in]vis the input vector.
[in]tolis a tolerance for inexact linear operator application.

Reimplemented from ROL::LinearOperator< Real >.

Definition at line 293 of file interiorpoint/ROL_InteriorPointPrimalDualResidual.hpp.

References ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::EQUAL, ROL::PartitionedVector< Real >::get(), ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::INEQ, ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::OPT, ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::s_, and ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::SLACK.

template<class Real >
void ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::update ( const V x,
bool  flag = true,
int  iter = -1 
)
inlinevirtual

Update linear operator.

This function updates the linear operator at new iterations.

Parameters
[in]xis the new iterate.
[in]flagis true if the iterate has changed.
[in]iteris the outer algorithm iterations count.

Reimplemented from ROL::LinearOperator< Real >.

Definition at line 255 of file ROL_InteriorPointPrimalDualResidual.hpp.

References ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::s_.

template<class Real >
void ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::apply ( V Hv,
const V v,
Real &  tol 
) const
inlinevirtual

Apply linear operator.

This function applies the linear operator to a vector.

Parameters
[out]Hvis the output vector.
[in]vis the input vector.
[in]tolis a tolerance for inexact linear operator application.

Implements ROL::LinearOperator< Real >.

Definition at line 259 of file ROL_InteriorPointPrimalDualResidual.hpp.

References ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::EQUAL, ROL::PartitionedVector< Real >::get(), ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::INEQ, ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::OPT, ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::s_, and ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::SLACK.

template<class Real >
void ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::applyInverse ( V Hv,
const V v,
Real &  tol 
) const
inlinevirtual

Apply inverse of linear operator.

This function applies the inverse of linear operator to a vector.

Parameters
[out]Hvis the output vector.
[in]vis the input vector.
[in]tolis a tolerance for inexact linear operator application.

Reimplemented from ROL::LinearOperator< Real >.

Definition at line 291 of file ROL_InteriorPointPrimalDualResidual.hpp.

References ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::EQUAL, ROL::PartitionedVector< Real >::get(), ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::INEQ, ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::OPT, ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::s_, and ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::SLACK.

Member Data Documentation

template<class Real >
ROL::Ptr< V > ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::s_
private
template<class Real >
static const size_type ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::OPT = 0
staticprivate
template<class Real >
static const size_type ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::SLACK = 1
staticprivate
template<class Real >
static const size_type ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::EQUAL = 2
staticprivate
template<class Real >
static const size_type ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::INEQ = 3
staticprivate

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