Thyra
Version of the Day
|
Base interface for transforming a LinearOpBase object. More...
#include <Thyra_LinearOpTransformerBase.hpp>
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... | |
Base interface for transforming a LinearOpBase object.
Definition at line 55 of file Thyra_LinearOpTransformerBase.hpp.
|
pure virtual |
Create an uninitialized op.
Implemented in Thyra::EpetraExtDiagScaledMatProdTransformer, Thyra::EpetraExtDiagScalingTransformer, and Thyra::EpetraExtAddTransformer.
|
pure virtual |
Create an uninitialized op.
Implemented in Thyra::EpetraExtDiagScaledMatProdTransformer, Thyra::EpetraExtDiagScalingTransformer, and Thyra::EpetraExtAddTransformer.
|
pure virtual |
Do the transformation to a pre-created output LinearOpBase object.
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.