Thyra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
Thyra::LinearOpTransformerBase< Scalar > Class Template Referenceabstract

Base interface for transforming a LinearOpBase object. More...

#include <Thyra_LinearOpTransformerBase.hpp>

Inheritance diagram for Thyra::LinearOpTransformerBase< Scalar >:
Inheritance graph
[legend]

Public Member Functions

virtual bool isCompatible (const LinearOpBase< Scalar > &op_in) const =0
 Create an uninitialized op. More...
 
virtual RCP< LinearOpBase
< Scalar > > 
createOutputOp () const =0
 Create an uninitialized op. More...
 
virtual void transform (const LinearOpBase< Scalar > &op_in, const Ptr< LinearOpBase< Scalar > > &op_inout) const =0
 Do the transformation to a pre-created output LinearOpBase object. More...
 

Detailed Description

template<class Scalar>
class Thyra::LinearOpTransformerBase< Scalar >

Base interface for transforming a LinearOpBase object.

Definition at line 55 of file Thyra_LinearOpTransformerBase.hpp.

Member Function Documentation

template<class Scalar>
virtual bool Thyra::LinearOpTransformerBase< Scalar >::isCompatible ( const LinearOpBase< Scalar > &  op_in) const
pure virtual
template<class Scalar>
virtual RCP<LinearOpBase<Scalar> > Thyra::LinearOpTransformerBase< Scalar >::createOutputOp ( ) const
pure virtual
template<class Scalar>
virtual void Thyra::LinearOpTransformerBase< Scalar >::transform ( const LinearOpBase< Scalar > &  op_in,
const Ptr< LinearOpBase< Scalar > > &  op_inout 
) const
pure virtual

Do the transformation to a pre-created output LinearOpBase object.

Parameters
op_in[in] The linear operator source that will be transformed in some way. Precondition: this->isCompataible(op_in) == true.
op_inout[in/out] The transformed linear operator. This object must have been created by this->createOutputOp() and may have already been passed through this function before. This allows for resuse of internal structures on re-transformations. Postcondition: On output, the object op_inout will be some appropriate transformation of op_in. The exact nature of the transformation is not specified in this interface.

Implemented in Thyra::EpetraExtDiagScaledMatProdTransformer, Thyra::EpetraExtDiagScalingTransformer, and Thyra::EpetraExtAddTransformer.


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