ROL
|
Public Member Functions | |
Jacobian (const Ptr< Constraint< Real >> &con, const Ptr< BoundConstraint< Real >> &bnd, const Ptr< const Vector< Real >> &y, const Ptr< Vector< Real >> &xdual, const Ptr< Vector< Real >> &xprim, const Real alpha=1e-4) | |
void | apply (Vector< Real > &Jx, const Vector< Real > &x, 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 Ptr< Constraint< Real > > | con_ |
const Ptr< BoundConstraint < Real > > | bnd_ |
const Ptr< const Vector< Real > > | y_ |
const Ptr< Vector< Real > > | xdual_ |
const Ptr< Vector< Real > > | xprim_ |
const Real | alpha_ |
Definition at line 65 of file ROL_SemismoothNewtonProjection.hpp.
|
inline |
Definition at line 73 of file ROL_SemismoothNewtonProjection.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 80 of file ROL_SemismoothNewtonProjection.hpp.
References ROL::SemismoothNewtonProjection< Real >::Jacobian::alpha_, ROL::Vector< Real >::axpy(), ROL::SemismoothNewtonProjection< Real >::Jacobian::bnd_, ROL::SemismoothNewtonProjection< Real >::Jacobian::con_, ROL::Vector< Real >::dual(), ROL::SemismoothNewtonProjection< Real >::Jacobian::xdual_, ROL::SemismoothNewtonProjection< Real >::Jacobian::xprim_, and ROL::SemismoothNewtonProjection< Real >::Jacobian::y_.
|
private |
Definition at line 67 of file ROL_SemismoothNewtonProjection.hpp.
Referenced by ROL::SemismoothNewtonProjection< Real >::Jacobian::apply().
|
private |
Definition at line 68 of file ROL_SemismoothNewtonProjection.hpp.
Referenced by ROL::SemismoothNewtonProjection< Real >::Jacobian::apply().
|
private |
Definition at line 69 of file ROL_SemismoothNewtonProjection.hpp.
Referenced by ROL::SemismoothNewtonProjection< Real >::Jacobian::apply().
|
private |
Definition at line 70 of file ROL_SemismoothNewtonProjection.hpp.
Referenced by ROL::SemismoothNewtonProjection< Real >::Jacobian::apply().
|
private |
Definition at line 70 of file ROL_SemismoothNewtonProjection.hpp.
Referenced by ROL::SemismoothNewtonProjection< Real >::Jacobian::apply().
|
private |
Definition at line 71 of file ROL_SemismoothNewtonProjection.hpp.
Referenced by ROL::SemismoothNewtonProjection< Real >::Jacobian::apply().