Thyra Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Thyra_DiagonalEpetraLinearOpWithSolveFactory.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_DIAGONAL_EPETRA_LINEAR_OP_WITH_SOLVE_FACTORY_HPP
11 #define THYRA_DIAGONAL_EPETRA_LINEAR_OP_WITH_SOLVE_FACTORY_HPP
12 
13 
14 #include "Thyra_LinearOpWithSolveFactoryBase.hpp"
15 
16 
17 namespace Thyra {
18 
19 
25 class DiagonalEpetraLinearOpWithSolveFactory : public LinearOpWithSolveFactoryBase<double> {
26 public:
27 
30 
32  bool isCompatible( const LinearOpSourceBase<double> &fwdOpSrc ) const;
33 
36 
38  void initializeOp(
39  const Teuchos::RCP<const LinearOpSourceBase<double> > &fwdOpSrc,
40  LinearOpWithSolveBase<double> *Op,
41  const ESupportSolveUse supportSolveUse
42  ) const;
43 
44  void uninitializeOp(
45  LinearOpWithSolveBase<double> *Op,
46  Teuchos::RCP<const LinearOpSourceBase<double> > *fwdOpSrc,
47  Teuchos::RCP<const PreconditionerBase<double> > *prec,
48  Teuchos::RCP<const LinearOpSourceBase<double> > *approxFwdOpSrc,
49  ESupportSolveUse *supportSolveUse
50  ) const;
51 
53 
56 
67 
69 
70 };
71 
72 
73 } // namespace Thyra
74 
75 
76 #endif // THYRA_DIAGONAL_EPETRA_LINEAR_OP_WITH_SOLVE_FACTORY_HPP
77 
78 #if defined(Thyra_SHOW_DEPRECATED_WARNINGS)
79 #ifdef __GNUC__
80 #warning "The ThyraEpetraAdapters package is deprecated"
81 #endif
82 #endif
83 
void setParameterList(Teuchos::RCP< Teuchos::ParameterList > const &paramList)
Teuchos::RCP< const Teuchos::ParameterList > getParameterList() const
bool isCompatible(const LinearOpSourceBase< double > &fwdOpSrc) const
Teuchos::RCP< LinearOpWithSolveBase< double > > createOp() const
void uninitializeOp(LinearOpWithSolveBase< double > *Op, Teuchos::RCP< const LinearOpSourceBase< double > > *fwdOpSrc, Teuchos::RCP< const PreconditionerBase< double > > *prec, Teuchos::RCP< const LinearOpSourceBase< double > > *approxFwdOpSrc, ESupportSolveUse *supportSolveUse) const
void initializeOp(const Teuchos::RCP< const LinearOpSourceBase< double > > &fwdOpSrc, LinearOpWithSolveBase< double > *Op, const ESupportSolveUse supportSolveUse) const
Create a DefaultDiagonalLinearOpWithSolve out of a diagonal Epetra_RowMatrix object.
Teuchos::RCP< const Teuchos::ParameterList > getValidParameters() const