42 #include "Thyra_EpetraOperatorViewExtractorStd.hpp" 43 #include "Thyra_EpetraLinearOpBase.hpp" 44 #include "Thyra_ScaledAdjointLinearOpBase.hpp" 57 double wrappedScalar = 0.0;
62 if( !(eFwdOp = dynamic_cast<const EpetraLinearOpBase*>(wrappedFwdOp)) )
92 using Teuchos::outArg;
93 double wrappedFwdOpScalar = 0.0;
96 unwrap(fwdOp,&wrappedFwdOpScalar, &wrappedFwdOpTransp, &wrappedFwdOp);
100 epetraFwdOp->getEpetraOpView(epetraOp, outArg(epetra_epetraOpTransp),
101 epetraOpApplyAs, epetraOpAdjointSupport);
103 *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)