Ifpack Package Browser (Single Doxygen Collection)
Development
|
Ifpack_Graph_Epetra_CrsGraph: a class to define Ifpack_Graph as a light-weight conversion of Epetra_CrsGraph's. More...
#include <Ifpack_Graph_Epetra_CrsGraph.h>
Public Member Functions | |
Ifpack_Graph_Epetra_CrsGraph (const Teuchos::RefCountPtr< const Epetra_CrsGraph > &CrsGraph) | |
Constructor. More... | |
virtual | ~Ifpack_Graph_Epetra_CrsGraph () |
Destructor. More... | |
int | NumMyRows () const |
Returns the number of local rows. More... | |
int | NumMyCols () const |
Returns the number of local columns. More... | |
int | NumGlobalRows () const |
Returns the number of global rows. More... | |
long long | NumGlobalRows64 () const |
int | NumGlobalCols () const |
Returns the number of global columns. More... | |
long long | NumGlobalCols64 () const |
int | MaxMyNumEntries () const |
Returns the maximun number of entries for row. More... | |
int | NumMyNonzeros () const |
Returns the number of local nonzero entries. More... | |
bool | Filled () const |
Returns true is graph is filled. More... | |
int | GRID (int) const |
Returns the global row ID of input local row. More... | |
long long | GRID64 (int) const |
int | GCID (int) const |
Returns the global column ID of input local column. More... | |
long long | GCID64 (int) const |
Returns the global column ID of input local column. More... | |
int | LRID (int) const |
Returns the local row ID of input global row. More... | |
int | LCID (int) const |
Returns the local column ID of input global column. More... | |
int | LRID (long long) const |
Returns the local row ID of input global row. More... | |
int | LCID (long long) const |
Returns the local column ID of input global column. More... | |
int | ExtractMyRowCopy (int GlobalRow, int LenOfIndices, int &NumIndices, int *Indices) const |
Extracts a copy of input local row. More... | |
const Epetra_Comm & | Comm () const |
Returns the communicator object of the graph. More... | |
virtual std::ostream & | Print (std::ostream &os) const |
Prints basic information about the graph object. More... | |
Public Member Functions inherited from Ifpack_Graph | |
virtual | ~Ifpack_Graph () |
Destructor. More... | |
Private Attributes | |
int | NumMyRows_ |
Number of local rows. More... | |
int | NumMyCols_ |
Number of local columns. More... | |
long long | NumGlobalRows_ |
Number of global rows. More... | |
long long | NumGlobalCols_ |
Number of global columns. More... | |
int | MaxNumIndices_ |
Maximum number of indices per row. More... | |
Teuchos::RefCountPtr< const Epetra_CrsGraph > | CrsGraph_ |
Pointer to the wrapped Epetra_CrsGraph. More... | |
Ifpack_Graph_Epetra_CrsGraph: a class to define Ifpack_Graph as a light-weight conversion of Epetra_CrsGraph's.
Class Ifpack_Graph_Epetra_CrsGraph enables the construction of an Ifpack_Graph based on the input Epetra_CrsGraph. Note that data are not copied to this object; instead, wrappers are furnished.
Definition at line 68 of file Ifpack_Graph_Epetra_CrsGraph.h.
Ifpack_Graph_Epetra_CrsGraph::Ifpack_Graph_Epetra_CrsGraph | ( | const Teuchos::RefCountPtr< const Epetra_CrsGraph > & | CrsGraph | ) |
Constructor.
Definition at line 51 of file Ifpack_Graph_Epetra_CrsGraph.cpp.
|
inlinevirtual |
Destructor.
Definition at line 76 of file Ifpack_Graph_Epetra_CrsGraph.h.
|
inlinevirtual |
Returns the number of local rows.
Implements Ifpack_Graph.
Definition at line 79 of file Ifpack_Graph_Epetra_CrsGraph.h.
|
inlinevirtual |
Returns the number of local columns.
Implements Ifpack_Graph.
Definition at line 85 of file Ifpack_Graph_Epetra_CrsGraph.h.
|
inlinevirtual |
Returns the number of global rows.
Implements Ifpack_Graph.
Definition at line 92 of file Ifpack_Graph_Epetra_CrsGraph.h.
|
inlinevirtual |
Implements Ifpack_Graph.
Definition at line 100 of file Ifpack_Graph_Epetra_CrsGraph.h.
|
inlinevirtual |
Returns the number of global columns.
Implements Ifpack_Graph.
Definition at line 107 of file Ifpack_Graph_Epetra_CrsGraph.h.
|
inlinevirtual |
Implements Ifpack_Graph.
Definition at line 115 of file Ifpack_Graph_Epetra_CrsGraph.h.
|
inlinevirtual |
Returns the maximun number of entries for row.
Implements Ifpack_Graph.
Definition at line 121 of file Ifpack_Graph_Epetra_CrsGraph.h.
|
virtual |
Returns the number of local nonzero entries.
Implements Ifpack_Graph.
Definition at line 135 of file Ifpack_Graph_Epetra_CrsGraph.cpp.
|
virtual |
Returns true
is graph is filled.
Implements Ifpack_Graph.
Definition at line 68 of file Ifpack_Graph_Epetra_CrsGraph.cpp.
|
virtual |
Returns the global row ID of input local row.
Implements Ifpack_Graph.
Definition at line 75 of file Ifpack_Graph_Epetra_CrsGraph.cpp.
|
virtual |
Implements Ifpack_Graph.
Definition at line 87 of file Ifpack_Graph_Epetra_CrsGraph.cpp.
|
virtual |
Returns the global column ID of input local column.
Implements Ifpack_Graph.
Definition at line 81 of file Ifpack_Graph_Epetra_CrsGraph.cpp.
|
virtual |
Returns the global column ID of input local column.
Implements Ifpack_Graph.
Definition at line 93 of file Ifpack_Graph_Epetra_CrsGraph.cpp.
|
virtual |
Returns the local row ID of input global row.
Implements Ifpack_Graph.
Definition at line 100 of file Ifpack_Graph_Epetra_CrsGraph.cpp.
|
virtual |
Returns the local column ID of input global column.
Implements Ifpack_Graph.
Definition at line 106 of file Ifpack_Graph_Epetra_CrsGraph.cpp.
|
virtual |
Returns the local row ID of input global row.
Implements Ifpack_Graph.
Definition at line 114 of file Ifpack_Graph_Epetra_CrsGraph.cpp.
|
virtual |
Returns the local column ID of input global column.
Implements Ifpack_Graph.
Definition at line 120 of file Ifpack_Graph_Epetra_CrsGraph.cpp.
|
virtual |
Extracts a copy of input local row.
Implements Ifpack_Graph.
Definition at line 127 of file Ifpack_Graph_Epetra_CrsGraph.cpp.
|
virtual |
Returns the communicator object of the graph.
Implements Ifpack_Graph.
Definition at line 62 of file Ifpack_Graph_Epetra_CrsGraph.cpp.
|
virtual |
Prints basic information about the graph object.
Implements Ifpack_Graph.
Definition at line 141 of file Ifpack_Graph_Epetra_CrsGraph.cpp.
|
private |
Number of local rows.
Definition at line 173 of file Ifpack_Graph_Epetra_CrsGraph.h.
|
private |
Number of local columns.
Definition at line 175 of file Ifpack_Graph_Epetra_CrsGraph.h.
|
private |
Number of global rows.
Definition at line 177 of file Ifpack_Graph_Epetra_CrsGraph.h.
|
private |
Number of global columns.
Definition at line 179 of file Ifpack_Graph_Epetra_CrsGraph.h.
|
private |
Maximum number of indices per row.
Definition at line 181 of file Ifpack_Graph_Epetra_CrsGraph.h.
|
private |
Pointer to the wrapped Epetra_CrsGraph.
Definition at line 183 of file Ifpack_Graph_Epetra_CrsGraph.h.