10 #include "Thyra_EpetraOperatorViewExtractorStd.hpp"
11 #include "Thyra_EpetraLinearOpBase.hpp"
12 #include "Thyra_ScaledAdjointLinearOpBase.hpp"
25 double wrappedScalar = 0.0;
62 using Teuchos::outArg;
63 double wrappedFwdOpScalar = 0.0;
66 unwrap(fwdOp,&wrappedFwdOpScalar, &wrappedFwdOpTransp, &wrappedFwdOp);
70 epetraFwdOp->getEpetraOpView(epetraOp, outArg(epetra_epetraOpTransp),
71 epetraOpApplyAs, epetraOpAdjointSupport);
73 *epetraOpScalar = wrappedFwdOpScalar;
EOpTransp
Enumeration for determining how a linear operator is applied. `*.
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...
Use the non-transposed operator.
Abstract base class for all LinearOpBase objects that can return an Epetra_Operator view of themselve...
EOpTransp real_trans(EOpTransp transp)
Return NOTRANS or TRANS for real scalar valued operators and this also is used for determining struct...
EOpTransp trans_trans(EOpTransp trans1, EOpTransp trans2)
Combine two transpose arguments.
#define TEUCHOS_TEST_FOR_EXCEPT(throw_exception_test)