42 #ifndef THYRA_DEFUALT_LINEAR_OP_SOURCE_DECL_HPP
43 #define THYRA_DEFUALT_LINEAR_OP_SOURCE_DECL_HPP
45 #include "Thyra_LinearOpSourceBase.hpp"
46 #include "Teuchos_ConstNonconstObjectContainer.hpp"
53 template<
class Scalar>
125 template <
class Scalar>
136 #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.