Thyra Version of the Day
Loading...
Searching...
No Matches
Thyra_EpetraExtAddTransformer.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_EPETRAEXT_ADD_TRANSFORMER_HPP
11#define THYRA_EPETRAEXT_ADD_TRANSFORMER_HPP
12
13#include "Thyra_LinearOpTransformerBase.hpp"
14
15
16namespace Thyra {
17
18
25{
26public:
27
30
32 virtual bool isCompatible(const LinearOpBase<double> &op_in) const;
33
36
38 virtual void transform(
39 const LinearOpBase<double> &op_in,
40 const Ptr<LinearOpBase<double> > &op_inout
41 ) const;
42
44
45private:
46
47};
48
49
54inline
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
Transformer subclass for adding Epetra/Thyra operators using EpetraExt::MatrixMatrix.
virtual void transform(const LinearOpBase< double > &op_in, const Ptr< LinearOpBase< double > > &op_inout) const
virtual RCP< LinearOpBase< double > > createOutputOp() const
RCP< EpetraExtAddTransformer > epetraExtAddTransformer()
Nonmember constructor.
virtual bool isCompatible(const LinearOpBase< double > &op_in) const
Base class for all linear operators.
Base interface for transforming a LinearOpBase object.
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)