42 #include "Thyra_EpetraOperatorViewExtractorStd.hpp"
43 #include "Thyra_EpetraLinearOpBase.hpp"
44 #include "Thyra_ScaledAdjointLinearOpBase.hpp"
57 double wrappedScalar = 0.0;
94 using Teuchos::outArg;
95 double wrappedFwdOpScalar = 0.0;
98 unwrap(fwdOp,&wrappedFwdOpScalar, &wrappedFwdOpTransp, &wrappedFwdOp);
102 epetraFwdOp->getEpetraOpView(epetraOp, outArg(epetra_epetraOpTransp),
103 epetraOpApplyAs, epetraOpAdjointSupport);
105 *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)