62 using Teuchos::outArg;
63 double wrappedFwdOpScalar = 0.0;
64 EOpTransp wrappedFwdOpTransp =
NOTRANS;
66 unwrap(fwdOp,&wrappedFwdOpScalar, &wrappedFwdOpTransp, &wrappedFwdOp);
68 Teuchos::rcp_dynamic_cast<const EpetraLinearOpBase>(wrappedFwdOp,
true);
69 EOpTransp epetra_epetraOpTransp;
70 epetraFwdOp->getEpetraOpView(epetraOp, outArg(epetra_epetraOpTransp),
71 epetraOpApplyAs, epetraOpAdjointSupport);
73 *epetraOpScalar = wrappedFwdOpScalar;
void unwrap(const LinearOpBase< Scalar > &Op, Scalar *scalar, EOpTransp *transp, const LinearOpBase< Scalar > **origOp)
Extract the overallScalar, overallTransp and const origOp from a const LinearOpBase object.