12 #include "Thyra_ScaledAdjointLinearOpBase.hpp"
14 class Epetra_Operator;
25 double wrappedScalar = 0.0;
26 EOpTransp wrappedTransp =
NOTRANS;
27 const LinearOpBase<double> *wrappedFwdOp = NULL;
28 ::Thyra::unwrap(fwdOp, &wrappedScalar, &wrappedTransp, &wrappedFwdOp);
39 const RCP<LinearOpBase<double> > &,
41 const Ptr<EOpTransp> &,
42 const Ptr<EApplyEpetraOpAs> &,
43 const Ptr<EAdjointEpetraOp> &,
54 const RCP<
const LinearOpBase<double> > &fwdOp,
56 const Ptr<EOpTransp> &epetraOpTransp,
57 const Ptr<EApplyEpetraOpAs> &epetraOpApplyAs,
58 const Ptr<EAdjointEpetraOp> &epetraOpAdjointSupport,
59 const Ptr<double> &epetraOpScalar
62 using Teuchos::outArg;
63 double wrappedFwdOpScalar = 0.0;
64 EOpTransp wrappedFwdOpTransp =
NOTRANS;
66 unwrap(fwdOp,&wrappedFwdOpScalar, &wrappedFwdOpTransp, &wrappedFwdOp);
69 EOpTransp epetra_epetraOpTransp;
70 epetraFwdOp->getEpetraOpView(epetraOp, outArg(epetra_epetraOpTransp),
71 epetraOpApplyAs, epetraOpAdjointSupport);
72 *epetraOpTransp = trans_trans(real_trans(epetra_epetraOpTransp), wrappedFwdOpTransp);
73 *epetraOpScalar = wrappedFwdOpScalar;
Abstract base class for all LinearOpBase objects that can return an Epetra_Operator view of themselve...
#define TEUCHOS_TEST_FOR_EXCEPT(throw_exception_test)