ROL
Public Member Functions | Private Types | Private Attributes | List of all members
ROL::BlockOperator2< Real > Class Template Reference

#include <ROL_BlockOperator.hpp>

+ Inheritance diagram for ROL::BlockOperator2< Real >:

Public Member Functions

 BlockOperator2 (Teuchos::RCP< OP > &a11, Teuchos::RCP< OP > &a21, Teuchos::RCP< OP > &a12, Teuchos::RCP< OP > &a22)
 
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...
 

Private Types

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

Private Attributes

Teuchos::RCP< OPbkop_
 

Detailed Description

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

Definition at line 116 of file ROL_BlockOperator.hpp.

Member Typedef Documentation

◆ V

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

Definition at line 118 of file ROL_BlockOperator.hpp.

◆ OP

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

Definition at line 119 of file ROL_BlockOperator.hpp.

Constructor & Destructor Documentation

◆ BlockOperator2()

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

Definition at line 126 of file ROL_BlockOperator.hpp.

References ROL::BlockOperator2< Real >::bkop_.

Member Function Documentation

◆ apply()

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

Apply linear operator.

This function applies the linear operator to a vector.

Parameters
[out]Hvis the output vector.
[in]vis the input vector.
[in]tolis a tolerance for inexact linear operator application.

Implements ROL::LinearOperator< Real >.

Definition at line 142 of file ROL_BlockOperator.hpp.

References ROL::BlockOperator2< Real >::bkop_.

Referenced by main().

Member Data Documentation

◆ bkop_

template<class Real>
Teuchos::RCP<OP> ROL::BlockOperator2< Real >::bkop_
private

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