42 #ifndef THYRA_DEFUALT_LINEAR_OP_SOURCE_HPP
43 #define THYRA_DEFUALT_LINEAR_OP_SOURCE_HPP
46 #include "Thyra_DefaultLinearOpSource_decl.hpp"
47 #include "Thyra_LinearOpBase.hpp"
56 template <
class Scalar>
61 template <
class Scalar>
70 template <
class Scalar>
79 template <
class Scalar>
88 template <
class Scalar>
97 template <
class Scalar>
107 template <
class Scalar>
110 return op_.isConst();
114 template <
class Scalar>
118 return op_.getNonconstObj();
122 template <
class Scalar>
126 return op_.getConstObj();
133 #endif // THYRA_DEFUALT_LINEAR_OP_SOURCE_HPP
Base class for all linear operators.
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.