ROL
|
Apply the augmented system operator. More...
#include <ROL_AugmentedSystemOperator.hpp>
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_ |
Apply the augmented system operator.
Definition at line 26 of file ROL_AugmentedSystemOperator.hpp.
|
inlinevirtual |
Definition at line 33 of file ROL_AugmentedSystemOperator.hpp.
|
inline |
Definition at line 34 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 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().
|
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 55 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 59 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 63 of file ROL_AugmentedSystemOperator.hpp.
|
private |
Definition at line 28 of file ROL_AugmentedSystemOperator.hpp.
Referenced by ROL::AugmentedSystemOperator< Real >::apply().
|
private |
Definition at line 29 of file ROL_AugmentedSystemOperator.hpp.
Referenced by ROL::AugmentedSystemOperator< Real >::apply().
|
private |
Definition at line 30 of file ROL_AugmentedSystemOperator.hpp.
Referenced by ROL::AugmentedSystemOperator< Real >::apply().