|
Ifpack Package Browser (Single Doxygen Collection)
Development
|
Go to the documentation of this file.
46 #include "Epetra_Comm.h"
47 #include "Epetra_CrsGraph.h"
74 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
99 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
113 #ifndef EPETRA_NO_64BIT_GLOBAL_INDICES
128 int &NumIndices,
int *Indices)
const
130 return(
CrsGraph_->ExtractMyRowCopy(MyRow, LenOfIndices,
131 NumIndices, Indices));
148 os <<
"================================================================================" << endl;
149 os <<
"Ifpack_Graph_Epetra_CrsGraph" << endl;
150 os <<
"Number of local rows = " <<
NumMyRows_ << endl;
152 os <<
"================================================================================" << endl;
long long NumGlobalRows_
Number of global rows.
int LRID(int) const
Returns the local row ID of input global row.
int GRID(int) const
Returns the global row ID of input local row.
virtual std::ostream & Print(std::ostream &os) const
Prints basic information about the graph object.
int NumMyRows_
Number of local rows.
int ExtractMyRowCopy(int GlobalRow, int LenOfIndices, int &NumIndices, int *Indices) const
Extracts a copy of input local row.
long long NumGlobalCols_
Number of global columns.
long long GRID64(int) const
int NumMyNonzeros() const
Returns the number of local nonzero entries.
int GCID(int) const
Returns the global column ID of input local column.
Teuchos::RefCountPtr< const Epetra_CrsGraph > CrsGraph_
Pointer to the wrapped Epetra_CrsGraph.
long long GCID64(int) const
Returns the global column ID of input local column.
Ifpack_Graph_Epetra_CrsGraph(const Teuchos::RefCountPtr< const Epetra_CrsGraph > &CrsGraph)
Constructor.
int NumMyCols_
Number of local columns.
bool Filled() const
Returns true is graph is filled.
int LCID(int) const
Returns the local column ID of input global column.
const Epetra_Comm & Comm() const
Returns the communicator object of the graph.
int MaxNumIndices_
Maximum number of indices per row.