Thyra Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Thyra_EpetraExtAddTransformer.hpp
Go to the documentation of this file.
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_EPETRAEXT_ADD_TRANSFORMER_HPP
11 #define THYRA_EPETRAEXT_ADD_TRANSFORMER_HPP
12 
13 #include "Thyra_LinearOpTransformerBase.hpp"
14 
15 
16 namespace Thyra {
17 
18 
24 class EpetraExtAddTransformer : public LinearOpTransformerBase<double>
25 {
26 public:
27 
30 
32  virtual bool isCompatible(const LinearOpBase<double> &op_in) const;
33 
35  virtual RCP<LinearOpBase<double> > createOutputOp() const;
36 
38  virtual void transform(
39  const LinearOpBase<double> &op_in,
40  const Ptr<LinearOpBase<double> > &op_inout
41  ) const;
42 
44 
45 private:
46 
47 };
48 
49 
54 inline
57 {
59 }
60 
61 
62 } // namespace Thyra
63 
64 
65 #endif // THYRA_EPETRAEXT_ADD_TRANSFORMER_HPP
66 
67 #if defined(Thyra_SHOW_DEPRECATED_WARNINGS)
68 #ifdef __GNUC__
69 #warning "The ThyraEpetraExtAdapters package is deprecated"
70 #endif
71 #endif
72 
virtual void transform(const LinearOpBase< double > &op_in, const Ptr< LinearOpBase< double > > &op_inout) const
Transformer subclass for adding Epetra/Thyra operators using EpetraExt::MatrixMatrix.
virtual bool isCompatible(const LinearOpBase< double > &op_in) const
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
RCP< EpetraExtAddTransformer > epetraExtAddTransformer()
Nonmember constructor.
virtual RCP< LinearOpBase< double > > createOutputOp() const