Thyra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Thyra_PreconditionerFactoryBase_def.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_PRECONDITIONER_FACTORY_BASE_DEF_HPP
11 #define THYRA_PRECONDITIONER_FACTORY_BASE_DEF_HPP
12 
13 #include "Thyra_PreconditionerFactoryBase_decl.hpp"
14 #include "Teuchos_ScalarTraits.hpp"
15 
16 
17 namespace Thyra {
18 
19 
20 template<class Scalar>
22 {
24  return ( ST::isComplex ? ( conj==NONCONJ_ELE ) : true );
25 }
26 
27 
28 template<class Scalar>
29 bool
31 {
32  return false;
33 }
34 
35 
36 } // namespace Thyra
37 
38 
39 #endif // THYRA_PRECONDITIONER_FACTORY_BASE_DEF_HPP
virtual bool applyTransposeSupportsConj(EConj conj) const
Return if precOp-&gt;solveTranspose() supports the argument conj.
virtual bool applySupportsConj(EConj conj) const
Return if precOp-&gt;apply() supports the argument conj.
Use the linear operator with non-conjugate elements.
EConj
Enumeration for determining how a linear operator is applied. `*.