44#include "Thyra_MultipliedLinearOpBase.hpp"
45#include "Thyra_DiagonalLinearOpBase.hpp"
46#include "Thyra_ScaledAdjointLinearOpBase.hpp"
50#include "Epetra_Map.h"
51#include "Epetra_LocalMap.h"
52#include "Epetra_SerialComm.h"
53#include "Epetra_CrsMatrix.h"
54#include "EpetraExt_MatrixMatrix.h"
75 return nonconstEpetraLinearOp();
84 using EpetraExt::MatrixMatrix;
86 using Teuchos::rcp_dynamic_cast;
162 if(is_null(epetra_op)) {
188 "EpetraExt::MatrixMatrix::Multiply failed returning error code " <<
mm_error <<
".");
#define TEUCHOS_UNREACHABLE_RETURN(dummyReturnVal)
Concrete LinearOpBase adapter subclass for Epetra_Operator object.
RCP< Epetra_Vector > get_Epetra_Vector(const Epetra_Map &map, const RCP< VectorBase< double > > &v)
Get a non-const Epetra_Vector view from a non-const VectorBase object if possible.
#define TEUCHOS_ASSERT(assertion_test)
#define TEUCHOS_TEST_FOR_EXCEPT(throw_exception_test)
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
T_To & dyn_cast(T_From &from)
Teuchos::RCP< Epetra_Operator > get_Epetra_Operator(LinearOpBase< double > &op)
Full specialization for Scalar=double.