Thyra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Thyra_EpetraOperatorViewExtractorStd.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_OPERATOR_VIEW_EXTRACTOR_STD_HPP
11 #define THYRA_EPETRA_OPERATOR_VIEW_EXTRACTOR_STD_HPP
12 
13 #include "Thyra_EpetraOperatorViewExtractorBase.hpp"
14 
15 
16 namespace Thyra {
17 
18 
28 {
29 public:
30 
33 
35  bool isCompatible( const LinearOpBase<double> &fwdOp ) const;
38  const RCP<LinearOpBase<double> > &fwdOp,
39  const Ptr<RCP<Epetra_Operator> > &epetraOp,
40  const Ptr<EOpTransp> &epetraOpTransp,
41  const Ptr<EApplyEpetraOpAs> &epetraOpApplyAs,
42  const Ptr<EAdjointEpetraOp> &epetraOpAdjointSupport,
43  const Ptr<double> &epetraOpScalar
44  ) const;
46  void getEpetraOpView(
47  const RCP<const LinearOpBase<double> > &fwdOp,
48  const Ptr<RCP<const Epetra_Operator> > &epetraOp,
49  const Ptr<EOpTransp> &epetraOpTransp,
50  const Ptr<EApplyEpetraOpAs> &epetraOpApplyAs,
51  const Ptr<EAdjointEpetraOp> &epetraOpAdjointSupport,
52  const Ptr<double> &epetraOpScalar
53  ) const;
54 
56 
57 };
58 
59 
60 } // namespace Thyra
61 
62 
63 #endif // THYRA_EPETRA_OPERATOR_VIEW_EXTRACTOR_STD_HPP
64 
65 #if defined(Thyra_SHOW_DEPRECATED_WARNINGS)
66 #ifdef __GNUC__
67 #warning "The ThyraEpetraAdapters package is deprecated"
68 #endif
69 #endif
70 
void getEpetraOpView(const RCP< const LinearOpBase< double > > &fwdOp, const Ptr< RCP< const Epetra_Operator > > &epetraOp, const Ptr< EOpTransp > &epetraOpTransp, const Ptr< EApplyEpetraOpAs > &epetraOpApplyAs, const Ptr< EAdjointEpetraOp > &epetraOpAdjointSupport, const Ptr< double > &epetraOpScalar) const
bool isCompatible(const LinearOpBase< double > &fwdOp) const
void getNonconstEpetraOpView(const RCP< LinearOpBase< double > > &fwdOp, const Ptr< RCP< Epetra_Operator > > &epetraOp, const Ptr< EOpTransp > &epetraOpTransp, const Ptr< EApplyEpetraOpAs > &epetraOpApplyAs, const Ptr< EAdjointEpetraOp > &epetraOpAdjointSupport, const Ptr< double > &epetraOpScalar) const
Standard strategy subclass for extracting an Epetra_Operator view out of a Thyra::LinearOpBase&lt;double...
Strategy interface for extracting an Epetra_Operator view out of a Thyra::LinearOpBase&lt;double&gt; object...