Thyra Version of the Day
Loading...
Searching...
No Matches
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
17namespace Thyra {
18
19
20template<class Scalar>
22{
24 return ( ST::isComplex ? ( conj==NONCONJ_ELE ) : true );
25}
26
27
28template<class Scalar>
29bool
34
35
36} // namespace Thyra
37
38
39#endif // THYRA_PRECONDITIONER_FACTORY_BASE_DEF_HPP
virtual bool applySupportsConj(EConj conj) const
Return if precOp->apply() supports the argument conj.
virtual bool applyTransposeSupportsConj(EConj conj) const
Return if precOp->solveTranspose() supports the argument conj.
EConj
Enumeration for determining how a linear operator is applied. `*.
@ NONCONJ_ELE
Use the linear operator with non-conjugate elements.