43 #ifndef IFPACK_EPETRA_CRSGRAPH_H
44 #define IFPACK_EPETRA_CRSGRAPH_H
45 #include "Ifpack_ConfigDefs.h"
46 #include "Ifpack_Graph.h"
47 #include "Teuchos_RefCountPtr.hpp"
50 class Epetra_CrsGraph;
86 return(NumGlobalRows_);
92 return(NumGlobalCols_);
98 return(MaxNumIndices_);
121 int &NumIndices,
int *Indices)
const;
124 const Epetra_Comm&
Comm()
const;
127 virtual ostream&
Print(std::ostream& os)
const;
142 Teuchos::RefCountPtr<const Epetra_CrsGraph> CrsGraph_;
virtual ~Ifpack_Graph_Epetra_CrsGraph()
Destructor.
int GRID(int) const
Returns the global row ID of input local row.
virtual ostream & Print(std::ostream &os) const
Prints basic information about the graph object.
const Epetra_Comm & Comm() const
Returns the communicator object of the graph.
int MaxMyNumEntries() const
Returns the maximun number of entries for row.
int LRID(int) const
Returns the local row ID of input global row.
int NumMyCols() const
Returns the number of local columns.
int NumGlobalRows() const
Returns the number of global rows.
Ifpack_Graph_Epetra_CrsGraph: a class to define Ifpack_Graph as a light-weight conversion of Epetra_C...
bool Filled() const
Returns true is graph is filled.
int ExtractMyRowCopy(int GlobalRow, int LenOfIndices, int &NumIndices, int *Indices) const
Extracts a copy of input local row.
int NumMyRows() const
Returns the number of local rows.
int LCID(int) const
Returns the local column ID of input global column.
Ifpack_Graph: a pure virtual class that defines graphs for IFPACK.
int NumMyNonzeros() const
Returns the number of local nonzero entries.
int GCID(int) const
Returns the global column ID of input local column.
Ifpack_Graph_Epetra_CrsGraph(const Teuchos::RefCountPtr< const Epetra_CrsGraph > &CrsGraph)
Constructor.
int NumGlobalCols() const
Returns the number of global columns.