Thyra Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Thyra_EpetraExtDiagScalingTransformer.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_DIAG_SCALING_TRANSFORMER_HPP
11 #define THYRA_EPETRAEXT_DIAG_SCALING_TRANSFORMER_HPP
12 
13 
14 #include "Thyra_LinearOpTransformerBase.hpp"
15 
16 
17 namespace Thyra {
18 
19 
25 class EpetraExtDiagScalingTransformer : public LinearOpTransformerBase<double>
26 {
27 public:
28 
31 
33  virtual bool isCompatible(const LinearOpBase<double> &op_in) const;
34 
36  virtual RCP<LinearOpBase<double> > createOutputOp() const;
37 
39  virtual void transform(
40  const LinearOpBase<double> &op_in,
41  const Ptr<LinearOpBase<double> > &op_inout
42  ) const;
43 
45 
46 private:
47 
48 };
49 
50 
55 inline
58 {
60 }
61 
62 
63 } // namespace Thyra
64 
65 
66 #endif // THYRA_EPETRAEXT_DIAG_SCALED_MAT_PROD_TRANSFORMER_HPP
67 
68 #if defined(Thyra_SHOW_DEPRECATED_WARNINGS)
69 #ifdef __GNUC__
70 #warning "The ThyraEpetraExtAdapters package is deprecated"
71 #endif
72 #endif
73 
virtual bool isCompatible(const LinearOpBase< double > &op_in) const
RCP< EpetraExtDiagScalingTransformer > epetraExtDiagScalingTransformer()
Nonmember constructor.
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
virtual RCP< LinearOpBase< double > > createOutputOp() const
virtual void transform(const LinearOpBase< double > &op_in, const Ptr< LinearOpBase< double > > &op_inout) const
Transformer subclass for diagonally scaling a Epetra/Thyra operator.