Thyra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Thyra_EpetraLinearOpBase.hpp
1 // @HEADER
2 // *****************************************************************************
3 // Thyra: Interfaces and Support for Abstract Numerical Algorithms
4 //
5 // Copyright 2004 NTESS and the Thyra contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 // @HEADER
9 
10 #ifndef THYRA_EPETRA_LINEAR_OP_BASE_HPP
11 #define THYRA_EPETRA_LINEAR_OP_BASE_HPP
12 
13 #include "Thyra_EpetraTypes.hpp"
14 #include "Teuchos_Describable.hpp"
15 
16 
17 class Epetra_Operator;
18 
19 
20 namespace Thyra {
21 
22 
37 class EpetraLinearOpBase : virtual public Teuchos::Describable {
38 public:
39 
42 
90  virtual void getNonconstEpetraOpView(
91  const Ptr<RCP<Epetra_Operator> > &epetraOp,
92  const Ptr<EOpTransp> &epetraOpTransp,
93  const Ptr<EApplyEpetraOpAs> &epetraOpApplyAs,
94  const Ptr<EAdjointEpetraOp> &epetraOpAdjointSupport
95  ) = 0;
96 
143  virtual void getEpetraOpView(
144  const Ptr<RCP<const Epetra_Operator> > &epetraOp,
145  const Ptr<EOpTransp> &epetraOpTransp,
146  const Ptr<EApplyEpetraOpAs> &epetraOpApplyAs,
147  const Ptr<EAdjointEpetraOp> &epetraOpAdjointSupport
148  ) const = 0;
149 
151 
152 }; // end class EpetraLinearOpBase
153 
154 
155 } // end namespace Thyra
156 
157 
158 #endif // THYRA_EPETRA_LINEAR_OP_BASE_HPP
159 
160 #if defined(Thyra_SHOW_DEPRECATED_WARNINGS)
161 #ifdef __GNUC__
162 #warning "The ThyraEpetraAdapters package is deprecated"
163 #endif
164 #endif
165 
Abstract base class for all LinearOpBase objects that can return an Epetra_Operator view of themselve...
virtual void getEpetraOpView(const Ptr< RCP< const Epetra_Operator > > &epetraOp, const Ptr< EOpTransp > &epetraOpTransp, const Ptr< EApplyEpetraOpAs > &epetraOpApplyAs, const Ptr< EAdjointEpetraOp > &epetraOpAdjointSupport) const =0
Return a smart pointer to a const Epetra_Operator view of this object and how the object is applied t...
virtual void getNonconstEpetraOpView(const Ptr< RCP< Epetra_Operator > > &epetraOp, const Ptr< EOpTransp > &epetraOpTransp, const Ptr< EApplyEpetraOpAs > &epetraOpApplyAs, const Ptr< EAdjointEpetraOp > &epetraOpAdjointSupport)=0
Return a smart pointer to a non-const Epetra_Operator view of this object and how the object is appli...