10 #ifndef THYRA_DEFUALT_LINEAR_OP_SOURCE_DECL_HPP
11 #define THYRA_DEFUALT_LINEAR_OP_SOURCE_DECL_HPP
13 #include "Thyra_LinearOpSourceBase.hpp"
14 #include "Teuchos_ConstNonconstObjectContainer.hpp"
21 template<
class Scalar>
93 template <
class Scalar>
104 #endif // THYRA_DEFUALT_LINEAR_OP_SOURCE_DECL_HPP
Default implementation of a LinearOpSourceBase that just accepts and gives up a single linear operato...
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Base interface for objects that can return a linear operator.
Base class for all linear operators.
Teuchos::RCP< const DefaultLinearOpSource< Scalar > > defaultLinearOpSource(const Teuchos::RCP< const LinearOpBase< Scalar > > &op)
Create a DefaultLinearOpSource object out of a LinearOpBase object.
DefaultLinearOpSource()
Construct to uninitialized.
Teuchos::RCP< const LinearOpBase< Scalar > > getOp() const
Teuchos::RCP< LinearOpBase< Scalar > > getNonconstOp()
void initialize(const Teuchos::RCP< LinearOpBase< Scalar > > &op)
Initialize with a non-const linear operator.
void uninitialize()
Uninitialize.