61 if( orig.IndicesAreGlobal() ) std::cout <<
"EDT_CrsMatrix_View: Indices must be LOCAL!\n";
62 assert( !orig.IndicesAreGlobal() );
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 );
NewTypeRef operator()(OriginalTypeRef orig)
Transformation Operator.
~CrsMatrix_View()
Destructor.
const Epetra_CrsGraph & NewGraph_
long long GCID64(int LCID_in) const
int FillComplete(bool OptimizeDataStorage=true)
int InsertMyValues(int MyRow, int NumEntries, const double *Values, const int *Indices)
EpetraExt::BlockCrsMatrix: A class for constructing a distributed block matrix.