ROL
|
Apply the augmented system operator. More...
#include <ROL_AugmentedSystemOperator.hpp>
Public Member Functions | |
virtual | ~AugmentedSystemOperator () |
AugmentedSystemOperator (const Ptr< Constraint< Real >> &con, const Ptr< Vector< Real >> &x, const Real delta=-1.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< Vector< Real > > | x_ |
const Real | delta_ |
Apply the augmented system operator.
Definition at line 60 of file ROL_AugmentedSystemOperator.hpp.
|
inlinevirtual |
Definition at line 67 of file ROL_AugmentedSystemOperator.hpp.
|
inline |
Definition at line 68 of file ROL_AugmentedSystemOperator.hpp.
|
inlinevirtual |
Apply linear operator.
This function applies the linear operator to a vector.
[out] | Hv | is the output vector. |
[in] | v | is the input vector. |
[in] | tol | is a tolerance for inexact linear operator application. |
Implements ROL::LinearOperator< Real >.
Definition at line 73 of file ROL_AugmentedSystemOperator.hpp.
References ROL::AugmentedSystemOperator< Real >::con_, ROL::AugmentedSystemOperator< Real >::delta_, ROL::PartitionedVector< Real >::get(), and ROL::AugmentedSystemOperator< Real >::x_.
Referenced by ROL::AugmentedSystemOperator< Real >::applyAdjoint().
|
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.
[out] | Hv | is the output vector. |
[in] | v | is the input vector. |
[in] | tol | is a tolerance for inexact linear operator application. |
Reimplemented from ROL::LinearOperator< Real >.
Definition at line 86 of file ROL_AugmentedSystemOperator.hpp.
References ROL::AugmentedSystemOperator< Real >::apply().
|
inlinevirtual |
Apply inverse of linear operator.
This function applies the inverse of linear operator to a vector.
[out] | Hv | is the output vector. |
[in] | v | is the input vector. |
[in] | tol | is a tolerance for inexact linear operator application. |
Reimplemented from ROL::LinearOperator< Real >.
Definition at line 90 of file ROL_AugmentedSystemOperator.hpp.
|
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.
[out] | Hv | is the output vector. |
[in] | v | is the input vector. |
[in] | tol | is a tolerance for inexact linear operator application. |
Reimplemented from ROL::LinearOperator< Real >.
Definition at line 94 of file ROL_AugmentedSystemOperator.hpp.
|
private |
Definition at line 62 of file ROL_AugmentedSystemOperator.hpp.
Referenced by ROL::AugmentedSystemOperator< Real >::apply().
|
private |
Definition at line 63 of file ROL_AugmentedSystemOperator.hpp.
Referenced by ROL::AugmentedSystemOperator< Real >::apply().
|
private |
Definition at line 64 of file ROL_AugmentedSystemOperator.hpp.
Referenced by ROL::AugmentedSystemOperator< Real >::apply().