Thyra Version of the Day
Thyra::LinearOpSourceBase< Scalar > Class Template Reference

Base interface for objects that can return a linear operator. More...

#include <Thyra_LinearOpSourceBase.hpp>

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

List of all members.

Pure virtual public functions that must be overridden in subclasses

virtual bool isOpConst () const =0
 Return if the underlying linear operator is const-only or not.
virtual Teuchos::RCP
< LinearOpBase< Scalar > > 
getNonconstOp ()=0
 Return a non-const reference to the underlying linear operator.
virtual Teuchos::RCP< const
LinearOpBase< Scalar > > 
getOp () const =0
 Return a const left preconditioner linear operator if one is designed or targeted to be applied on the left.

Detailed Description

template<class Scalar>
class Thyra::LinearOpSourceBase< Scalar >

Base interface for objects that can return a linear operator.

Definition at line 44 of file Thyra_LinearOpSourceBase.hpp.


Member Function Documentation

template<class Scalar>
virtual bool Thyra::LinearOpSourceBase< Scalar >::isOpConst ( ) const [pure virtual]

Return if the underlying linear operator is const-only or not.

Implemented in Thyra::DefaultLinearOpSource< Scalar >.

template<class Scalar>
virtual Teuchos::RCP<LinearOpBase<Scalar> > Thyra::LinearOpSourceBase< Scalar >::getNonconstOp ( ) [pure virtual]

Return a non-const reference to the underlying linear operator.

Preconditions:

Implemented in Thyra::DefaultLinearOpSource< Scalar >.

template<class Scalar>
virtual Teuchos::RCP<const LinearOpBase<Scalar> > Thyra::LinearOpSourceBase< Scalar >::getOp ( ) const [pure virtual]

Return a const left preconditioner linear operator if one is designed or targeted to be applied on the left.

Implemented in Thyra::DefaultLinearOpSource< Scalar >.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines