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 27 of file ROL_BlockOperator.hpp.
|
private |
Definition at line 29 of file ROL_BlockOperator.hpp.
|
private |
Definition at line 30 of file ROL_BlockOperator.hpp.
|
private |
Definition at line 31 of file ROL_BlockOperator.hpp.
|
private |
Definition at line 33 of file ROL_BlockOperator.hpp.
|
private |
Definition at line 34 of file ROL_BlockOperator.hpp.
|
inline |
Definition at line 41 of file ROL_BlockOperator.hpp.
|
inline |
Definition at line 42 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 44 of file ROL_BlockOperator.hpp.
References ROL::BlockOperator< Real >::blocks_, ROL::PartitionedVector< Real >::get(), and ROL::PartitionedVector< Real >::numVectors().
|
private |
Definition at line 38 of file ROL_BlockOperator.hpp.
Referenced by ROL::BlockOperator< Real >::apply().