ROL
ROL::BlockOperator2Diagonal< Real > Class Template Reference

Provides the interface to apply a 2x2 block diagonal operator to a partitioned vector. More...

#include <ROL_BlockOperator2Diagonal.hpp>

Inheritance diagram for ROL::BlockOperator2Diagonal< Real >:

Public Member Functions

 BlockOperator2Diagonal (ROL::Ptr< OP > &A, ROL::Ptr< OP > &D)
Public Member Functions inherited from ROL::BlockOperator2< Real >
 BlockOperator2 (ROL::Ptr< OP > &a11, ROL::Ptr< OP > &a12, ROL::Ptr< OP > &a21, ROL::Ptr< OP > &a22)
void apply (V &Hv, const V &v, Real &tol) const
void applyInverse (V &Hv, const V &v, Real &tol) const
ROL::Ptr< LinearOperator< Real > > getOperator (int row, int col) const
Public Member Functions inherited from ROL::ROL::LinearOperator< Real >
virtual ~LinearOperator ()
virtual void update (const Vector< Real > &x, bool flag=true, int iter=-1)
 Update linear operator.
virtual void apply (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const =0
 Apply linear operator.
virtual void applyInverse (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const
 Apply inverse of linear operator.
virtual void applyAdjoint (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const
 Apply adjoint of linear operator.
virtual void applyAdjointInverse (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const
 Apply adjoint of the inverse linear operator.

Private Types

typedef Vector< Real > V
typedef PartitionedVector< Real > PV
typedef LinearOperator< Real > OP

Private Attributes

ROL::Ptr< OPA_
ROL::Ptr< OPD_

Detailed Description

template<class Real>
class ROL::BlockOperator2Diagonal< Real >

Provides the interface to apply a 2x2 block diagonal operator to a partitioned vector.

\[ M = \begin{pmatrix} A & 0 \\ 0 & D \end{pmatrix} \]

autotoc_md29

\[ M^{-1} = \begin{pmatrix} A^{-1} & 0 \\ 0 & D^^{-1} \end{pmatrix} \]

Definition at line 28 of file ROL_BlockOperator2Diagonal.hpp.

Member Typedef Documentation

◆ V

template<class Real>
typedef Vector<Real> ROL::BlockOperator2Diagonal< Real >::V
private

Definition at line 30 of file ROL_BlockOperator2Diagonal.hpp.

◆ PV

template<class Real>
typedef PartitionedVector<Real> ROL::BlockOperator2Diagonal< Real >::PV
private

Definition at line 31 of file ROL_BlockOperator2Diagonal.hpp.

◆ OP

template<class Real>
typedef LinearOperator<Real> ROL::BlockOperator2Diagonal< Real >::OP
private

Definition at line 32 of file ROL_BlockOperator2Diagonal.hpp.

Constructor & Destructor Documentation

◆ BlockOperator2Diagonal()

template<class Real>
ROL::BlockOperator2Diagonal< Real >::BlockOperator2Diagonal ( ROL::Ptr< OP > & A,
ROL::Ptr< OP > & D )
inline

Definition at line 40 of file ROL_BlockOperator2Diagonal.hpp.

References A_, and D_.

Member Data Documentation

◆ A_

template<class Real>
ROL::Ptr<OP> ROL::BlockOperator2Diagonal< Real >::A_
private

Definition at line 36 of file ROL_BlockOperator2Diagonal.hpp.

Referenced by BlockOperator2Diagonal().

◆ D_

template<class Real>
ROL::Ptr<OP> ROL::BlockOperator2Diagonal< Real >::D_
private

Definition at line 36 of file ROL_BlockOperator2Diagonal.hpp.

Referenced by BlockOperator2Diagonal().


The documentation for this class was generated from the following file: