10 #ifndef THYRA_LINEAR_OP_SOURCE_BASE_HPP
11 #define THYRA_LINEAR_OP_SOURCE_BASE_HPP
13 #include "Thyra_SolveSupportTypes.hpp"
14 #include "Teuchos_Describable.hpp"
24 template<
class Scalar>
55 #endif // THYRA_LINEAR_OP_SOURCE_BASE_HPP
virtual Teuchos::RCP< LinearOpBase< Scalar > > getNonconstOp()=0
Return a non-const reference to the underlying linear operator.
Base interface for objects that can return a 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 th...
virtual bool isOpConst() const =0
Return if the underlying linear operator is const-only or not.