65 using Teuchos::describe;
80 out <<
"Sub operators built" << std::endl;
84 M00->beginBlockFill(2,2);
85 M00->setBlock(0,0,A00);
86 M00->setBlock(0,1,A02);
87 M00->setBlock(1,0,A20);
88 M00->setBlock(1,1,A22);
91 out <<
"Built M00" << std::endl;
94 M10->beginBlockFill(2,1);
95 M10->setBlock(0,0,A01);
96 M10->setBlock(1,0,A21);
99 out <<
"Built M10" << std::endl;
102 M01->beginBlockFill(1,2);
103 M01->setBlock(0,0,A10);
104 M01->setBlock(0,1,A12);
107 out <<
"Built M01" << std::endl;
110 M->beginBlockFill(2,2);
111 M->setBlock(0,0,A11);
112 M->setBlock(0,1,M01);
113 M->setBlock(1,0,M10);
114 M->setBlock(1,1,M00);
117 out <<
"Built M" << std::endl;
123 out <<
"Test complete" << std::endl;
RCP< const EpetraLinearOp > epetraLinearOp(const RCP< const Epetra_Operator > &op, EOpTransp opTrans=NOTRANS, EApplyEpetraOpAs applyAs=EPETRA_OP_APPLY_APPLY, EAdjointEpetraOp adjointSupport=EPETRA_OP_ADJOINT_SUPPORTED, const RCP< const VectorSpaceBase< double > > &range=Teuchos::null, const RCP< const VectorSpaceBase< double > > &domain=Teuchos::null)
Dynamically allocate a nonconst EpetraLinearOp to wrap a const Epetra_Operator object.