ROL
ROL::BlockOperator2< Real > Class Template Reference

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

#include <ROL_BlockOperator2.hpp>

Inheritance diagram for ROL::BlockOperator2< Real >:

Public Member Functions

 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< OPbkop_
ROL::Ptr< std::vector< ROL::Ptr< OP > > > ops_

Detailed Description

template<class Real>
class ROL::BlockOperator2< Real >

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


Definition at line 26 of file ROL_BlockOperator2.hpp.

Member Typedef Documentation

◆ V

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

Definition at line 28 of file ROL_BlockOperator2.hpp.

◆ PV

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

Definition at line 29 of file ROL_BlockOperator2.hpp.

◆ OP

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

Definition at line 30 of file ROL_BlockOperator2.hpp.

Constructor & Destructor Documentation

◆ BlockOperator2()

template<class Real>
ROL::BlockOperator2< Real >::BlockOperator2 ( ROL::Ptr< OP > & a11,
ROL::Ptr< OP > & a12,
ROL::Ptr< OP > & a21,
ROL::Ptr< OP > & a22 )
inline

Definition at line 39 of file ROL_BlockOperator2.hpp.

References bkop_, and ops_.

Member Function Documentation

◆ apply()

template<class Real>
void ROL::BlockOperator2< Real >::apply ( V & Hv,
const V & v,
Real & tol ) const
inline

Definition at line 57 of file ROL_BlockOperator2.hpp.

References bkop_.

◆ applyInverse()

template<class Real>
void ROL::BlockOperator2< Real >::applyInverse ( V & Hv,
const V & v,
Real & tol ) const
inline

Definition at line 62 of file ROL_BlockOperator2.hpp.

◆ getOperator()

template<class Real>
ROL::Ptr< LinearOperator< Real > > ROL::BlockOperator2< Real >::getOperator ( int row,
int col ) const
inline

Definition at line 70 of file ROL_BlockOperator2.hpp.

References ops_.

Member Data Documentation

◆ bkop_

template<class Real>
ROL::Ptr<OP> ROL::BlockOperator2< Real >::bkop_
private

Definition at line 34 of file ROL_BlockOperator2.hpp.

Referenced by apply(), and BlockOperator2().

◆ ops_

template<class Real>
ROL::Ptr<std::vector<ROL::Ptr<OP> > > ROL::BlockOperator2< Real >::ops_
private

Definition at line 35 of file ROL_BlockOperator2.hpp.

Referenced by BlockOperator2(), and getOperator().


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