Ifpack_Graph_Epetra_RowMatrix Class Reference
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>
List of all members.
|
Public Member Functions |
| Ifpack_Graph_Epetra_RowMatrix (const Teuchos::RefCountPtr< const Epetra_RowMatrix > &RowMatrix) |
| Constructor.
|
virtual | ~Ifpack_Graph_Epetra_RowMatrix () |
| Destructor.
|
int | NumMyRows () const |
| Returns the number of local rows.
|
int | NumMyCols () const |
| Returns the number of local columns.
|
int | NumGlobalRows () const |
| Returns the number of global rows.
|
int | NumGlobalCols () const |
| Returns the number of global columns.
|
int | MaxMyNumEntries () const |
| Returns the maximun number of entries for row.
|
int | NumMyNonzeros () const |
| Returns the number of local nonzero entries.
|
bool | Filled () const |
| Returns true is graph is filled.
|
int | GRID (int) const |
| Returns the global row ID of input local row.
|
int | GCID (int) const |
| Returns the global column ID of input local column.
|
int | LRID (int) const |
| Returns the local row ID of input global row.
|
int | LCID (int) const |
| Returns the local column ID of input global column.
|
int | ExtractMyRowCopy (int GlobalRow, int LenOfIndices, int &NumIndices, int *Indices) const |
| Extracts a copy of input local row.
|
const Epetra_Comm & | Comm () const |
| Returns the communicator object of the graph.
|
ostream & | Print (std::ostream &os) const |
| Prints basic information abobut the graph object.
|
Detailed Description
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.
- Author:
- Marzio Sala, SNL 9214
- Date:
- Set-04.
Constructor & Destructor Documentation
Ifpack_Graph_Epetra_RowMatrix::Ifpack_Graph_Epetra_RowMatrix |
( |
const Teuchos::RefCountPtr< const Epetra_RowMatrix > & |
RowMatrix |
) |
|
virtual Ifpack_Graph_Epetra_RowMatrix::~Ifpack_Graph_Epetra_RowMatrix |
( |
|
) |
[inline, virtual] |
Member Function Documentation
const Epetra_Comm& Ifpack_Graph_Epetra_RowMatrix::Comm |
( |
|
) |
const [virtual] |
Returns the communicator object of the graph.
Implements Ifpack_Graph.
int Ifpack_Graph_Epetra_RowMatrix::ExtractMyRowCopy |
( |
int |
GlobalRow, |
|
|
int |
LenOfIndices, |
|
|
int & |
NumIndices, |
|
|
int * |
Indices | |
|
) |
| | const [virtual] |
Extracts a copy of input local row.
Implements Ifpack_Graph.
bool Ifpack_Graph_Epetra_RowMatrix::Filled |
( |
|
) |
const [virtual] |
int Ifpack_Graph_Epetra_RowMatrix::GCID |
( |
int |
|
) |
const [virtual] |
Returns the global column ID of input local column.
Implements Ifpack_Graph.
int Ifpack_Graph_Epetra_RowMatrix::GRID |
( |
int |
|
) |
const [virtual] |
Returns the global row ID of input local row.
Implements Ifpack_Graph.
int Ifpack_Graph_Epetra_RowMatrix::LCID |
( |
int |
|
) |
const [virtual] |
Returns the local column ID of input global column.
Implements Ifpack_Graph.
int Ifpack_Graph_Epetra_RowMatrix::LRID |
( |
int |
|
) |
const [virtual] |
Returns the local row ID of input global row.
Implements Ifpack_Graph.
int Ifpack_Graph_Epetra_RowMatrix::MaxMyNumEntries |
( |
|
) |
const [inline, virtual] |
Returns the maximun number of entries for row.
Implements Ifpack_Graph.
int Ifpack_Graph_Epetra_RowMatrix::NumGlobalCols |
( |
|
) |
const [inline, virtual] |
Returns the number of global columns.
Implements Ifpack_Graph.
int Ifpack_Graph_Epetra_RowMatrix::NumGlobalRows |
( |
|
) |
const [inline, virtual] |
int Ifpack_Graph_Epetra_RowMatrix::NumMyCols |
( |
|
) |
const [inline, virtual] |
Returns the number of local columns.
Implements Ifpack_Graph.
int Ifpack_Graph_Epetra_RowMatrix::NumMyNonzeros |
( |
|
) |
const [virtual] |
Returns the number of local nonzero entries.
Implements Ifpack_Graph.
int Ifpack_Graph_Epetra_RowMatrix::NumMyRows |
( |
|
) |
const [inline, virtual] |
ostream& Ifpack_Graph_Epetra_RowMatrix::Print |
( |
std::ostream & |
os |
) |
const [virtual] |
Prints basic information abobut the graph object.
Implements Ifpack_Graph.
The documentation for this class was generated from the following file: