Ifpack Package Browser (Single Doxygen Collection)
Development
|
Ifpack_Graph_Epetra_RowMatrix: a class to define Ifpack_Graph as a light-weight conversion of Epetra_RowMatrix's. More...
#include <Ifpack_Graph_Epetra_RowMatrix.h>
Public Member Functions | |
Ifpack_Graph_Epetra_RowMatrix (const Teuchos::RefCountPtr< const Epetra_RowMatrix > &RowMatrix) | |
Constructor. More... | |
virtual | ~Ifpack_Graph_Epetra_RowMatrix () |
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... | |
std::ostream & | Print (std::ostream &os) const |
Prints basic information abobut 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_RowMatrix > | RowMatrix_ |
Pointer to the wrapped Epetra_CrsGraph. More... | |
std::vector< double > | Values_ |
Vectors that can be used in calls to ExtractMyRowView of the Row matrix. More... | |
Ifpack_Graph_Epetra_RowMatrix: a class to define Ifpack_Graph as a light-weight conversion of Epetra_RowMatrix's.
Class Ifpack_Graph_Epetra_RowMatrix enables the construction of an Ifpack_Graph based on the input Epetra_RowMatrix. Note that data are not copied to this object; instead, wrappers are furnished.
Definition at line 72 of file Ifpack_Graph_Epetra_RowMatrix.h.
Ifpack_Graph_Epetra_RowMatrix::Ifpack_Graph_Epetra_RowMatrix | ( | const Teuchos::RefCountPtr< const Epetra_RowMatrix > & | RowMatrix | ) |
Constructor.
Definition at line 51 of file Ifpack_Graph_Epetra_RowMatrix.cpp.
|
inlinevirtual |
Destructor.
Definition at line 80 of file Ifpack_Graph_Epetra_RowMatrix.h.
|
inlinevirtual |
Returns the number of local rows.
Implements Ifpack_Graph.
Definition at line 83 of file Ifpack_Graph_Epetra_RowMatrix.h.
|
inlinevirtual |
Returns the number of local columns.
Implements Ifpack_Graph.
Definition at line 89 of file Ifpack_Graph_Epetra_RowMatrix.h.
|
inlinevirtual |
Returns the number of global rows.
Implements Ifpack_Graph.
Definition at line 96 of file Ifpack_Graph_Epetra_RowMatrix.h.
|
inlinevirtual |
Implements Ifpack_Graph.
Definition at line 104 of file Ifpack_Graph_Epetra_RowMatrix.h.
|
inlinevirtual |
Returns the number of global columns.
Implements Ifpack_Graph.
Definition at line 111 of file Ifpack_Graph_Epetra_RowMatrix.h.
|
inlinevirtual |
Implements Ifpack_Graph.
Definition at line 119 of file Ifpack_Graph_Epetra_RowMatrix.h.
|
inlinevirtual |
Returns the maximun number of entries for row.
Implements Ifpack_Graph.
Definition at line 125 of file Ifpack_Graph_Epetra_RowMatrix.h.
|
virtual |
Returns the number of local nonzero entries.
Implements Ifpack_Graph.
Definition at line 137 of file Ifpack_Graph_Epetra_RowMatrix.cpp.
|
virtual |
Returns true
is graph is filled.
Implements Ifpack_Graph.
Definition at line 70 of file Ifpack_Graph_Epetra_RowMatrix.cpp.
|
virtual |
Returns the global row ID of input local row.
Implements Ifpack_Graph.
Definition at line 77 of file Ifpack_Graph_Epetra_RowMatrix.cpp.
|
virtual |
Implements Ifpack_Graph.
Definition at line 89 of file Ifpack_Graph_Epetra_RowMatrix.cpp.
|
virtual |
Returns the global column ID of input local column.
Implements Ifpack_Graph.
Definition at line 83 of file Ifpack_Graph_Epetra_RowMatrix.cpp.
|
virtual |
Returns the global column ID of input local column.
Implements Ifpack_Graph.
Definition at line 95 of file Ifpack_Graph_Epetra_RowMatrix.cpp.
|
virtual |
Returns the local row ID of input global row.
Implements Ifpack_Graph.
Definition at line 102 of file Ifpack_Graph_Epetra_RowMatrix.cpp.
|
virtual |
Returns the local column ID of input global column.
Implements Ifpack_Graph.
Definition at line 108 of file Ifpack_Graph_Epetra_RowMatrix.cpp.
|
virtual |
Returns the local row ID of input global row.
Implements Ifpack_Graph.
Definition at line 115 of file Ifpack_Graph_Epetra_RowMatrix.cpp.
|
virtual |
Returns the local column ID of input global column.
Implements Ifpack_Graph.
Definition at line 121 of file Ifpack_Graph_Epetra_RowMatrix.cpp.
|
virtual |
Extracts a copy of input local row.
Implements Ifpack_Graph.
Definition at line 128 of file Ifpack_Graph_Epetra_RowMatrix.cpp.
|
virtual |
Returns the communicator object of the graph.
Implements Ifpack_Graph.
Definition at line 64 of file Ifpack_Graph_Epetra_RowMatrix.cpp.
|
virtual |
Prints basic information abobut the graph object.
Implements Ifpack_Graph.
Definition at line 143 of file Ifpack_Graph_Epetra_RowMatrix.cpp.
|
private |
Number of local rows.
Definition at line 177 of file Ifpack_Graph_Epetra_RowMatrix.h.
|
private |
Number of local columns.
Definition at line 179 of file Ifpack_Graph_Epetra_RowMatrix.h.
|
private |
Number of global rows.
Definition at line 181 of file Ifpack_Graph_Epetra_RowMatrix.h.
|
private |
Number of global columns.
Definition at line 183 of file Ifpack_Graph_Epetra_RowMatrix.h.
|
private |
Maximum number of indices per row.
Definition at line 185 of file Ifpack_Graph_Epetra_RowMatrix.h.
|
private |
Pointer to the wrapped Epetra_CrsGraph.
Definition at line 187 of file Ifpack_Graph_Epetra_RowMatrix.h.
|
mutableprivate |
Vectors that can be used in calls to ExtractMyRowView of the Row matrix.
Definition at line 189 of file Ifpack_Graph_Epetra_RowMatrix.h.