61 if( orig.IndicesAreGlobal() ) std::cout <<
"EDT_CrsMatrix_View: Indices must be LOCAL!\n";
62 assert( !orig.IndicesAreGlobal() );
73 int numMyRows = newMatrix->NumMyRows();
74 for(
int i = 0; i < numMyRows; ++i )
76 orig.ExtractMyRowView( i, indicesCnt, myValues, myIndices );
78 int newIndicesCnt = indicesCnt;
80 for(
int j = 0; j < indicesCnt; ++j )
87 newMatrix->InsertMyValues( i, newIndicesCnt, myValues, myIndices );
90 newMatrix->FillComplete(
false);
long long GCID64(int LCID_in) const
const Epetra_CrsGraph & NewGraph_
NewTypeRef operator()(OriginalTypeRef orig)
Transformation Operator.
~CrsMatrix_View()
Destructor.