43 #include "Ifpack_ConfigDefs.h"
44 #include "Ifpack_Graph.h"
45 #include "Ifpack_Graph_Epetra_CrsGraph.h"
46 #include "Epetra_Comm.h"
47 #include "Epetra_CrsGraph.h"
54 NumMyRows_ = CrsGraph_->NumMyRows();
55 NumMyCols_ = CrsGraph_->NumMyCols();
56 NumGlobalRows_ = CrsGraph_->NumGlobalRows64();
57 NumGlobalCols_ = CrsGraph_->NumGlobalCols64();
58 MaxNumIndices_ = CrsGraph_->MaxNumIndices();
64 return(CrsGraph_->Comm());
70 return(CrsGraph_->Filled());
74 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
77 return(CrsGraph_->GRID(LRID_in));
83 return(CrsGraph_->GCID(LCID_in));
87 long long Ifpack_Graph_Epetra_CrsGraph::GRID64(
int LRID_in)
const
89 return(CrsGraph_->GRID64(LRID_in));
95 return(CrsGraph_->GCID64(LCID_in));
99 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
102 return(CrsGraph_->LRID(GRID_in));
108 return(CrsGraph_->LCID(GCID_in));
113 #ifndef EPETRA_NO_64BIT_GLOBAL_INDICES
116 return(CrsGraph_->LRID(GRID_in));
122 return(CrsGraph_->LCID(GCID_in));
128 int &NumIndices,
int *Indices)
const
130 return(CrsGraph_->ExtractMyRowCopy(MyRow, LenOfIndices,
131 NumIndices, Indices));
137 return(CrsGraph_->NumMyEntries());
148 os <<
"================================================================================" << endl;
149 os <<
"Ifpack_Graph_Epetra_CrsGraph" << endl;
150 os <<
"Number of local rows = " << NumMyRows_ << endl;
151 os <<
"Number of global rows = " << NumGlobalRows_ << endl;
152 os <<
"================================================================================" << endl;