ROL
Public Member Functions | Private Attributes | List of all members
ROL::AugmentedSystemOperator< Real > Class Template Reference

Apply the augmented system operator. More...

#include <ROL_AugmentedSystemOperator.hpp>

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

Public Member Functions

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

Private Attributes

const Ptr< Constraint< Real > > con_
 
const Ptr< const Vector< Real > > x_
 
const Real delta_
 

Detailed Description

template<class Real>
class ROL::AugmentedSystemOperator< Real >

Apply the augmented system operator.


Definition at line 26 of file ROL_AugmentedSystemOperator.hpp.

Constructor & Destructor Documentation

template<class Real >
virtual ROL::AugmentedSystemOperator< Real >::~AugmentedSystemOperator ( )
inlinevirtual

Definition at line 33 of file ROL_AugmentedSystemOperator.hpp.

template<class Real >
ROL::AugmentedSystemOperator< Real >::AugmentedSystemOperator ( const Ptr< Constraint< Real >> &  con,
const Ptr< const Vector< Real >> &  x,
const Real  delta = 0.0 
)
inline

Definition at line 34 of file ROL_AugmentedSystemOperator.hpp.

Member Function Documentation

template<class Real >
void ROL::AugmentedSystemOperator< Real >::apply ( Vector< Real > &  Hv,
const Vector< Real > &  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 39 of file ROL_AugmentedSystemOperator.hpp.

References ROL::AugmentedSystemOperator< Real >::con_, ROL::AugmentedSystemOperator< Real >::delta_, ROL::PartitionedVector< Real >::dual(), ROL::PartitionedVector< Real >::get(), and ROL::AugmentedSystemOperator< Real >::x_.

Referenced by ROL::AugmentedSystemOperator< Real >::applyAdjoint().

template<class Real >
void ROL::AugmentedSystemOperator< Real >::applyAdjoint ( Vector< Real > &  Hv,
const Vector< Real > &  v,
Real &  tol 
) const
inlinevirtual

Apply adjoint of linear operator.

This function applies the adjoint of a linear operator to a vector. Default behavior assumes operator is self-adjoint.

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 55 of file ROL_AugmentedSystemOperator.hpp.

References ROL::AugmentedSystemOperator< Real >::apply().

template<class Real >
void ROL::AugmentedSystemOperator< Real >::applyInverse ( Vector< Real > &  Hv,
const Vector< Real > &  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 59 of file ROL_AugmentedSystemOperator.hpp.

template<class Real >
void ROL::AugmentedSystemOperator< Real >::applyAdjointInverse ( Vector< Real > &  Hv,
const Vector< Real > &  v,
Real &  tol 
) const
inlinevirtual

Apply adjoint of the inverse linear operator.

This function applies the adjoint of the inverse linear operator to a vector. Default behavior assumes operator is self-adjoint.

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 63 of file ROL_AugmentedSystemOperator.hpp.

Member Data Documentation

template<class Real >
const Ptr<Constraint<Real> > ROL::AugmentedSystemOperator< Real >::con_
private
template<class Real >
const Ptr<const Vector<Real> > ROL::AugmentedSystemOperator< Real >::x_
private
template<class Real >
const Real ROL::AugmentedSystemOperator< Real >::delta_
private

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