42 #ifndef THYRA_ADDED_LINEAR_OP_BASE_HPP 
   43 #define THYRA_ADDED_LINEAR_OP_BASE_HPP 
   45 #include "Thyra_LinearOpBase.hpp" 
   72 template<
class Scalar>
 
   84   virtual int numOps() 
const = 0;
 
   94   virtual bool opIsConst(
const int k) 
const = 0;
 
  123 #endif  // THYRA_ADDED_LINEAR_OP_BASE_HPP 
Interface class for implicitly added linear operators. 
 
virtual int numOps() const =0
Returns the number of constituent operators. 
 
virtual bool opIsConst(const int k) const =0
Determine if the kth constituent operator is const-only or not. 
 
Base class for all linear operators. 
 
virtual Teuchos::RCP< const LinearOpBase< Scalar > > getOp(const int k) const =0
Return the kth constant constituent operator. 
 
virtual Teuchos::RCP< LinearOpBase< Scalar > > getNonconstOp(const int k)=0
Return the kth non-constant constituent operator.