ROL
|
Public Member Functions | |
HessianPNK (const ROL::Ptr< Objective< Real > > &obj, const ROL::Ptr< BoundConstraint< Real > > &bnd, const ROL::Ptr< Vector< Real > > &x, const ROL::Ptr< Vector< Real > > &g, Real eps=0) | |
void | apply (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const |
Apply 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 | applyInverse (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const |
Apply inverse of 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 ROL::Ptr< Objective< Real > > | obj_ |
const ROL::Ptr < BoundConstraint< Real > > | bnd_ |
const ROL::Ptr< Vector< Real > > | x_ |
const ROL::Ptr< Vector< Real > > | g_ |
ROL::Ptr< Vector< Real > > | v_ |
Real | eps_ |
Definition at line 56 of file ROL_ProjectedNewtonKrylovStep.hpp.
|
inline |
Definition at line 65 of file ROL_ProjectedNewtonKrylovStep.hpp.
References ROL::ProjectedNewtonKrylovStep< Real >::HessianPNK::v_, and ROL::ProjectedNewtonKrylovStep< Real >::HessianPNK::x_.
|
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_ProjectedNewtonKrylovStep.hpp.
References ROL::ProjectedNewtonKrylovStep< Real >::HessianPNK::bnd_, ROL::ProjectedNewtonKrylovStep< Real >::HessianPNK::eps_, ROL::ProjectedNewtonKrylovStep< Real >::HessianPNK::g_, ROL::ProjectedNewtonKrylovStep< Real >::HessianPNK::obj_, ROL::Vector< Real >::plus(), ROL::ProjectedNewtonKrylovStep< Real >::HessianPNK::v_, and ROL::ProjectedNewtonKrylovStep< Real >::HessianPNK::x_.
|
private |
Definition at line 58 of file ROL_ProjectedNewtonKrylovStep.hpp.
Referenced by ROL::ProjectedNewtonKrylovStep< Real >::HessianPNK::apply().
|
private |
Definition at line 59 of file ROL_ProjectedNewtonKrylovStep.hpp.
Referenced by ROL::ProjectedNewtonKrylovStep< Real >::HessianPNK::apply().
|
private |
Definition at line 60 of file ROL_ProjectedNewtonKrylovStep.hpp.
Referenced by ROL::ProjectedNewtonKrylovStep< Real >::HessianPNK::apply(), and ROL::ProjectedNewtonKrylovStep< Real >::HessianPNK::HessianPNK().
|
private |
Definition at line 61 of file ROL_ProjectedNewtonKrylovStep.hpp.
Referenced by ROL::ProjectedNewtonKrylovStep< Real >::HessianPNK::apply().
|
private |
Definition at line 62 of file ROL_ProjectedNewtonKrylovStep.hpp.
Referenced by ROL::ProjectedNewtonKrylovStep< Real >::HessianPNK::apply(), and ROL::ProjectedNewtonKrylovStep< Real >::HessianPNK::HessianPNK().
|
private |
Definition at line 63 of file ROL_ProjectedNewtonKrylovStep.hpp.
Referenced by ROL::ProjectedNewtonKrylovStep< Real >::HessianPNK::apply().