80 assert( orig.RowMap().NumMyElements() ==
NewRowMap_.NumMyElements() );
82 if (NumGlobalElements == 0 && orig.RowMap().NumGlobalElements64() == 0 )
91 typename Epetra_GIDTypeVector<int_type>::impl Cols( OldDomainMap );
92 typename Epetra_GIDTypeVector<int_type>::impl NewCols( OldColMap );
95 Epetra_Map tmpColMap( NumGlobalElements, NumMyElements, 0, OldDomainMap.
Comm() );
97 for(
int i = 0; i < NumMyElements; ++i )
98 Cols[i] = (int_type) tmpColMap.
GID64(i);
100 NewCols.Import( Cols, Importer,
Insert );
102 std::vector<int_type*> NewColIndices(1);
103 NewCols.ExtractView( &NewColIndices[0] );
118 for(
int i = 0; i < numMyRows; ++i )
120 orig.ExtractMyRowView( i, indicesCnt, myValues, myIndices );