ROL
|
Projects on to the null space of a linear constraint. More...
#include <ROL_RangeSpaceOperator.hpp>
Public Member Functions | |
virtual | ~RangeSpaceOperator () |
RangeSpaceOperator (const Ptr< Constraint< Real >> &con, const Ptr< Vector< Real >> &dom, const Ptr< Vector< Real >> &ran) | |
virtual 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 Member Functions | |
void | solveAugmentedSystem (Vector< Real > &v, Vector< Real > &b, Real &tol, bool refine=false) const |
Private Attributes | |
const Ptr< Constraint< Real > > | con_ |
const bool | useInexact_ |
Ptr< LinearOperator< Real > > | augsys_ |
Ptr< LinearOperator< Real > > | augsysprec_ |
Ptr< Krylov< Real > > | krylov_ |
int | iterKrylov_ |
int | flagKrylov_ |
Ptr< Vector< Real > > | v1_ |
Ptr< Vector< Real > > | v2_ |
Ptr< PartitionedVector< Real > > | vv_ |
Ptr< Vector< Real > > | b1_ |
Ptr< Vector< Real > > | b2_ |
Ptr< PartitionedVector< Real > > | bb_ |
Ptr< Vector< Real > > | w1_ |
Ptr< Vector< Real > > | w2_ |
Ptr< PartitionedVector< Real > > | ww_ |
Ptr< Vector< Real > > | mul_ |
Projects on to the null space of a linear constraint.
Definition at line 63 of file ROL_RangeSpaceOperator.hpp.
|
inlinevirtual |
Definition at line 114 of file ROL_RangeSpaceOperator.hpp.
|
inline |
Definition at line 115 of file ROL_RangeSpaceOperator.hpp.
References ROL::RangeSpaceOperator< Real >::augsys_, ROL::RangeSpaceOperator< Real >::augsysprec_, ROL::RangeSpaceOperator< Real >::b1_, ROL::RangeSpaceOperator< Real >::b2_, ROL::RangeSpaceOperator< Real >::bb_, ROL::RangeSpaceOperator< Real >::flagKrylov_, ROL::RangeSpaceOperator< Real >::iterKrylov_, ROL::RangeSpaceOperator< Real >::krylov_, ROL::RangeSpaceOperator< Real >::mul_, ROL::RangeSpaceOperator< Real >::v1_, ROL::RangeSpaceOperator< Real >::v2_, ROL::RangeSpaceOperator< Real >::vv_, ROL::RangeSpaceOperator< Real >::w1_, ROL::RangeSpaceOperator< Real >::w2_, and ROL::RangeSpaceOperator< Real >::ww_.
|
inlineprivate |
Definition at line 84 of file ROL_RangeSpaceOperator.hpp.
References ROL::RangeSpaceOperator< Real >::augsys_, ROL::RangeSpaceOperator< Real >::augsysprec_, ROL::Vector< Real >::axpy(), ROL::RangeSpaceOperator< Real >::flagKrylov_, ROL::RangeSpaceOperator< Real >::iterKrylov_, ROL::RangeSpaceOperator< Real >::krylov_, ROL::Vector< Real >::plus(), ROL::Vector< Real >::set(), ROL::RangeSpaceOperator< Real >::useInexact_, ROL::RangeSpaceOperator< Real >::vv_, and ROL::RangeSpaceOperator< Real >::ww_.
Referenced by ROL::RangeSpaceOperator< Real >::apply().
|
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 149 of file ROL_RangeSpaceOperator.hpp.
References ROL::RangeSpaceOperator< Real >::b1_, ROL::RangeSpaceOperator< Real >::b2_, ROL::RangeSpaceOperator< Real >::bb_, ROL::RangeSpaceOperator< Real >::mul_, and ROL::RangeSpaceOperator< Real >::solveAugmentedSystem().
Referenced by ROL::ExplicitLinearConstraint< Real >::feasible().
|
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 155 of file ROL_RangeSpaceOperator.hpp.
|
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 159 of file ROL_RangeSpaceOperator.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 163 of file ROL_RangeSpaceOperator.hpp.
|
private |
Definition at line 65 of file ROL_RangeSpaceOperator.hpp.
|
private |
Definition at line 66 of file ROL_RangeSpaceOperator.hpp.
Referenced by ROL::RangeSpaceOperator< Real >::solveAugmentedSystem().
|
private |
Definition at line 68 of file ROL_RangeSpaceOperator.hpp.
Referenced by ROL::RangeSpaceOperator< Real >::RangeSpaceOperator(), and ROL::RangeSpaceOperator< Real >::solveAugmentedSystem().
|
private |
Definition at line 68 of file ROL_RangeSpaceOperator.hpp.
Referenced by ROL::RangeSpaceOperator< Real >::RangeSpaceOperator(), and ROL::RangeSpaceOperator< Real >::solveAugmentedSystem().
|
private |
Definition at line 69 of file ROL_RangeSpaceOperator.hpp.
Referenced by ROL::RangeSpaceOperator< Real >::RangeSpaceOperator(), and ROL::RangeSpaceOperator< Real >::solveAugmentedSystem().
|
mutableprivate |
Definition at line 70 of file ROL_RangeSpaceOperator.hpp.
Referenced by ROL::RangeSpaceOperator< Real >::RangeSpaceOperator(), and ROL::RangeSpaceOperator< Real >::solveAugmentedSystem().
|
mutableprivate |
Definition at line 71 of file ROL_RangeSpaceOperator.hpp.
Referenced by ROL::RangeSpaceOperator< Real >::RangeSpaceOperator(), and ROL::RangeSpaceOperator< Real >::solveAugmentedSystem().
|
mutableprivate |
Definition at line 73 of file ROL_RangeSpaceOperator.hpp.
Referenced by ROL::RangeSpaceOperator< Real >::RangeSpaceOperator().
|
mutableprivate |
Definition at line 74 of file ROL_RangeSpaceOperator.hpp.
Referenced by ROL::RangeSpaceOperator< Real >::RangeSpaceOperator().
|
mutableprivate |
Definition at line 75 of file ROL_RangeSpaceOperator.hpp.
Referenced by ROL::RangeSpaceOperator< Real >::RangeSpaceOperator(), and ROL::RangeSpaceOperator< Real >::solveAugmentedSystem().
|
mutableprivate |
Definition at line 76 of file ROL_RangeSpaceOperator.hpp.
Referenced by ROL::RangeSpaceOperator< Real >::apply(), and ROL::RangeSpaceOperator< Real >::RangeSpaceOperator().
|
mutableprivate |
Definition at line 77 of file ROL_RangeSpaceOperator.hpp.
Referenced by ROL::RangeSpaceOperator< Real >::apply(), and ROL::RangeSpaceOperator< Real >::RangeSpaceOperator().
|
mutableprivate |
Definition at line 78 of file ROL_RangeSpaceOperator.hpp.
Referenced by ROL::RangeSpaceOperator< Real >::apply(), and ROL::RangeSpaceOperator< Real >::RangeSpaceOperator().
|
mutableprivate |
Definition at line 79 of file ROL_RangeSpaceOperator.hpp.
Referenced by ROL::RangeSpaceOperator< Real >::RangeSpaceOperator().
|
mutableprivate |
Definition at line 80 of file ROL_RangeSpaceOperator.hpp.
Referenced by ROL::RangeSpaceOperator< Real >::RangeSpaceOperator().
|
mutableprivate |
Definition at line 81 of file ROL_RangeSpaceOperator.hpp.
Referenced by ROL::RangeSpaceOperator< Real >::RangeSpaceOperator(), and ROL::RangeSpaceOperator< Real >::solveAugmentedSystem().
|
mutableprivate |
Definition at line 82 of file ROL_RangeSpaceOperator.hpp.
Referenced by ROL::RangeSpaceOperator< Real >::apply(), and ROL::RangeSpaceOperator< Real >::RangeSpaceOperator().