ROL
|
Provides the interface to apply a block operator to a partitioned vector. More...
#include <ROL_BlockOperator.hpp>
Public Member Functions | |
BlockOperator () | |
BlockOperator (const ROL::Ptr< OpVec > &blocks) | |
virtual void | apply (V &Hv, const V &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 Types | |
typedef Vector< Real > | V |
typedef PartitionedVector< Real > | PV |
typedef LinearOperator< Real > | OP |
typedef std::vector< ROL::Ptr < OP > > | OpVec |
typedef OpVec::size_type | uint |
Private Attributes | |
ROL::Ptr< OpVec > | blocks_ |
Provides the interface to apply a block operator to a partitioned vector.
Definition at line 61 of file ROL_BlockOperator.hpp.
|
private |
Definition at line 63 of file ROL_BlockOperator.hpp.
|
private |
Definition at line 64 of file ROL_BlockOperator.hpp.
|
private |
Definition at line 65 of file ROL_BlockOperator.hpp.
|
private |
Definition at line 67 of file ROL_BlockOperator.hpp.
|
private |
Definition at line 68 of file ROL_BlockOperator.hpp.
|
inline |
Definition at line 75 of file ROL_BlockOperator.hpp.
|
inline |
Definition at line 76 of file ROL_BlockOperator.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 78 of file ROL_BlockOperator.hpp.
References ROL::BlockOperator< Real >::blocks_, ROL::PartitionedVector< Real >::get(), and ROL::PartitionedVector< Real >::numVectors().
|
private |
Definition at line 72 of file ROL_BlockOperator.hpp.
Referenced by ROL::BlockOperator< Real >::apply().