ROL
|
Public Member Functions | |
PrecondPNK (const Ptr< Objective< Real >> &obj, const Ptr< BoundConstraint< Real >> &bnd, const Ptr< const Vector< Real >> &x, const Ptr< const Vector< Real >> &g, Real eps, const Ptr< Secant< Real >> &secant, bool useSecant, const Ptr< Vector< Real >> &pwa) | |
void | apply (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const |
Apply linear operator. More... | |
void | applyInverse (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const |
Apply inverse of 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... | |
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 Attributes | |
const Ptr< Objective< Real > > | obj_ |
const Ptr< BoundConstraint < Real > > | bnd_ |
const Ptr< const Vector< Real > > | x_ |
const Ptr< const Vector< Real > > | g_ |
const Real | eps_ |
const Ptr< Secant< Real > > | secant_ |
const bool | useSecant_ |
const Ptr< Vector< Real > > | v_ |
Definition at line 121 of file ROL_TypeB_NewtonKrylovAlgorithm.hpp.
|
inline |
Definition at line 132 of file ROL_TypeB_NewtonKrylovAlgorithm.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 142 of file ROL_TypeB_NewtonKrylovAlgorithm.hpp.
References ROL::Vector< Real >::dual(), and ROL::Vector< Real >::set().
|
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 145 of file ROL_TypeB_NewtonKrylovAlgorithm.hpp.
References ROL::TypeB::NewtonKrylovAlgorithm< Real >::PrecondPNK::bnd_, ROL::Vector< Real >::dual(), ROL::TypeB::NewtonKrylovAlgorithm< Real >::PrecondPNK::eps_, ROL::TypeB::NewtonKrylovAlgorithm< Real >::PrecondPNK::g_, ROL::TypeB::NewtonKrylovAlgorithm< Real >::PrecondPNK::obj_, ROL::Vector< Real >::plus(), ROL::TypeB::NewtonKrylovAlgorithm< Real >::PrecondPNK::secant_, ROL::TypeB::NewtonKrylovAlgorithm< Real >::PrecondPNK::useSecant_, ROL::TypeB::NewtonKrylovAlgorithm< Real >::PrecondPNK::v_, and ROL::TypeB::NewtonKrylovAlgorithm< Real >::PrecondPNK::x_.
|
private |
Definition at line 123 of file ROL_TypeB_NewtonKrylovAlgorithm.hpp.
Referenced by ROL::TypeB::NewtonKrylovAlgorithm< Real >::PrecondPNK::applyInverse().
|
private |
Definition at line 124 of file ROL_TypeB_NewtonKrylovAlgorithm.hpp.
Referenced by ROL::TypeB::NewtonKrylovAlgorithm< Real >::PrecondPNK::applyInverse().
|
private |
Definition at line 125 of file ROL_TypeB_NewtonKrylovAlgorithm.hpp.
Referenced by ROL::TypeB::NewtonKrylovAlgorithm< Real >::PrecondPNK::applyInverse().
|
private |
Definition at line 126 of file ROL_TypeB_NewtonKrylovAlgorithm.hpp.
Referenced by ROL::TypeB::NewtonKrylovAlgorithm< Real >::PrecondPNK::applyInverse().
|
private |
Definition at line 127 of file ROL_TypeB_NewtonKrylovAlgorithm.hpp.
Referenced by ROL::TypeB::NewtonKrylovAlgorithm< Real >::PrecondPNK::applyInverse().
|
private |
Definition at line 128 of file ROL_TypeB_NewtonKrylovAlgorithm.hpp.
Referenced by ROL::TypeB::NewtonKrylovAlgorithm< Real >::PrecondPNK::applyInverse().
|
private |
Definition at line 129 of file ROL_TypeB_NewtonKrylovAlgorithm.hpp.
Referenced by ROL::TypeB::NewtonKrylovAlgorithm< Real >::PrecondPNK::applyInverse().
|
private |
Definition at line 130 of file ROL_TypeB_NewtonKrylovAlgorithm.hpp.
Referenced by ROL::TypeB::NewtonKrylovAlgorithm< Real >::PrecondPNK::applyInverse().