Thyra::LinearOpTransformerBase< Scalar > Class Template Reference

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

#include <Thyra_LinearOpTransformerBase.hpp>

Inheritance diagram for Thyra::LinearOpTransformerBase< Scalar >:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual bool isCompatible (const LinearOpBase< Scalar > &op_in) const =0
 Create an uninitialized op.
virtual RCP< LinearOpBase<
Scalar > > 
createOutputOp () const =0
 Create an uninitialized op.
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.

Detailed Description

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

Base interface for transforming a LinearOpBase object.

Definition at line 42 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]

Create an uninitialized op.

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

template<class Scalar>
virtual RCP<LinearOpBase<Scalar> > Thyra::LinearOpTransformerBase< Scalar >::createOutputOp (  )  const [pure virtual]

Create an uninitialized op.

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

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::EpetraExtAddTransformer, Thyra::EpetraExtDiagScaledMatProdTransformer, and Thyra::EpetraExtDiagScalingTransformer.


The documentation for this class was generated from the following file:
Generated on Tue Jul 13 09:26:30 2010 for Thyra by  doxygen 1.4.7