10 #ifndef Thyra_AdjointPreconditioner_hpp
11 #define Thyra_AdjointPreconditioner_hpp
13 #include "Thyra_PreconditionerBase.hpp"
14 #include "Teuchos_ConstNonconstObjectContainer.hpp"
15 #include "Thyra_DefaultScaledAdjointLinearOp.hpp"
22 template <
class Scalar>
97 return nonconstAdjoint(
138 template <
class Scalar>
148 template <
class Scalar>
152 RCP<AdjointPreconditioner<Scalar> > aprec =
154 aprec->nonconstInitialize(prec);
162 template <
class Scalar>
166 RCP<AdjointPreconditioner<Scalar> > aprec =
168 aprec->initialize(prec);
bool isUnspecifiedPrecOpConst() const
bool is_null(const boost::shared_ptr< T > &p)
Concrete PreconditionerBase subclass that wraps a preconditioner operator in MultiVectorLinearOp.
bool isLeftPrecOpConst() const
RCP< AdjointPreconditioner< Scalar > > adjointPreconditioner()
Nonmember constructor function.
Teuchos::RCP< LinearOpBase< Scalar > > getNonconstRightPrecOp()
RCP< AdjointPreconditioner< Scalar > > adjointPreconditioner(const RCP< const PreconditionerBase< Scalar > > &prec)
Nonmember constructor function.
bool isRightPrecOpConst() const
Teuchos::RCP< LinearOpBase< Scalar > > getNonconstLeftPrecOp()
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
void initialize(const RCP< const PreconditionerBase< Scalar > > &prec)
Teuchos::RCP< const LinearOpBase< Scalar > > getRightPrecOp() const
RCP< const ObjType > getConstObj() const
AdjointPreconditioner()
Construct to uninitialized.
void nonconstInitialize(const RCP< PreconditionerBase< Scalar > > &prec)
Teuchos::RCP< const LinearOpBase< Scalar > > getLeftPrecOp() const
Teuchos::RCP< LinearOpBase< Scalar > > getNonconstUnspecifiedPrecOp()
static void validateInitialize(const RCP< const PreconditionerBase< Scalar > > &prec)
RCP< ObjType > getNonconstObj() const
RCP< PreconditionerBase< Scalar > > getNonconstPreconditioner()
Teuchos::RCP< const LinearOpBase< Scalar > > getUnspecifiedPrecOp() const
#define TEUCHOS_TEST_FOR_EXCEPT(throw_exception_test)
Teuchos::ConstNonconstObjectContainer< PreconditionerBase< Scalar > > CNPB
RCP< AdjointPreconditioner< Scalar > > nonconstAdjointPreconditioner(const RCP< PreconditionerBase< Scalar > > &prec)
Nonmember constructor function.
RCP< const PreconditionerBase< Scalar > > getPreconditioner() const