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>

Inheritance diagram for Ifpack_Graph_Epetra_RowMatrix:

[legend]
List of all members.

Public Member Functions

 Ifpack_Graph_Epetra_RowMatrix (const Epetra_RowMatrix *RowMatrix)
 Constructor.
 ~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_CommComm () const
 Returns the communicator object of the graph.
ostream & Print (std::ostream &os) const
 Prints basic information abobut the graph object.

Private Attributes

int NumMyRows_
 Number of local rows.
int NumMyCols_
 Number of local columns.
int NumGlobalRows_
 Number of global rows.
int NumGlobalCols_
 Number of global columns.
int MaxNumIndices_
 Maximum number of indices per row.
const Epetra_RowMatrixRowMatrix_
 Pointer to the wrapped Epetra_CrsGraph.
std::vector< double > Values_
 Vectors that can be used in calls to ExtractMyRowView of the Row matrix.

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.

Definition at line 20 of file Ifpack_Graph_Epetra_RowMatrix.h.


Constructor & Destructor Documentation

Ifpack_Graph_Epetra_RowMatrix::Ifpack_Graph_Epetra_RowMatrix const Epetra_RowMatrix RowMatrix  ) 
 

Constructor.

Definition at line 9 of file Ifpack_Graph_Epetra_RowMatrix.cpp.

Ifpack_Graph_Epetra_RowMatrix::~Ifpack_Graph_Epetra_RowMatrix  ) 
 

Destructor.

Definition at line 22 of file Ifpack_Graph_Epetra_RowMatrix.cpp.


Member Function Documentation

int Ifpack_Graph_Epetra_RowMatrix::NumMyRows  )  const [inline, virtual]
 

Returns the number of local rows.

Implements Ifpack_Graph.

Definition at line 31 of file Ifpack_Graph_Epetra_RowMatrix.h.

int Ifpack_Graph_Epetra_RowMatrix::NumMyCols  )  const [inline, virtual]
 

Returns the number of local columns.

Implements Ifpack_Graph.

Definition at line 37 of file Ifpack_Graph_Epetra_RowMatrix.h.

int Ifpack_Graph_Epetra_RowMatrix::NumGlobalRows  )  const [inline, virtual]
 

Returns the number of global rows.

Implements Ifpack_Graph.

Definition at line 43 of file Ifpack_Graph_Epetra_RowMatrix.h.

int Ifpack_Graph_Epetra_RowMatrix::NumGlobalCols  )  const [inline, virtual]
 

Returns the number of global columns.

Implements Ifpack_Graph.

Definition at line 49 of file Ifpack_Graph_Epetra_RowMatrix.h.

int Ifpack_Graph_Epetra_RowMatrix::MaxMyNumEntries  )  const [inline, virtual]
 

Returns the maximun number of entries for row.

Implements Ifpack_Graph.

Definition at line 55 of file Ifpack_Graph_Epetra_RowMatrix.h.

int Ifpack_Graph_Epetra_RowMatrix::NumMyNonzeros  )  const [virtual]
 

Returns the number of local nonzero entries.

Implements Ifpack_Graph.

Definition at line 73 of file Ifpack_Graph_Epetra_RowMatrix.cpp.

bool Ifpack_Graph_Epetra_RowMatrix::Filled  )  const [virtual]
 

Returns true is graph is filled.

Implements Ifpack_Graph.

Definition at line 33 of file Ifpack_Graph_Epetra_RowMatrix.cpp.

int Ifpack_Graph_Epetra_RowMatrix::GRID int   )  const [virtual]
 

Returns the global row ID of input local row.

Implements Ifpack_Graph.

Definition at line 39 of file Ifpack_Graph_Epetra_RowMatrix.cpp.

int Ifpack_Graph_Epetra_RowMatrix::GCID int   )  const [virtual]
 

Returns the global column ID of input local column.

Implements Ifpack_Graph.

Definition at line 45 of file Ifpack_Graph_Epetra_RowMatrix.cpp.

int Ifpack_Graph_Epetra_RowMatrix::LRID int   )  const [virtual]
 

Returns the local row ID of input global row.

Implements Ifpack_Graph.

Definition at line 51 of file Ifpack_Graph_Epetra_RowMatrix.cpp.

int Ifpack_Graph_Epetra_RowMatrix::LCID int   )  const [virtual]
 

Returns the local column ID of input global column.

Implements Ifpack_Graph.

Definition at line 57 of file Ifpack_Graph_Epetra_RowMatrix.cpp.

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.

Definition at line 64 of file Ifpack_Graph_Epetra_RowMatrix.cpp.

const Epetra_Comm & Ifpack_Graph_Epetra_RowMatrix::Comm  )  const [virtual]
 

Returns the communicator object of the graph.

Implements Ifpack_Graph.

Definition at line 27 of file Ifpack_Graph_Epetra_RowMatrix.cpp.

ostream & Ifpack_Graph_Epetra_RowMatrix::Print std::ostream &  os  )  const [virtual]
 

Prints basic information abobut the graph object.

Implements Ifpack_Graph.

Definition at line 79 of file Ifpack_Graph_Epetra_RowMatrix.cpp.


Member Data Documentation

int Ifpack_Graph_Epetra_RowMatrix::NumMyRows_ [private]
 

Number of local rows.

Definition at line 91 of file Ifpack_Graph_Epetra_RowMatrix.h.

int Ifpack_Graph_Epetra_RowMatrix::NumMyCols_ [private]
 

Number of local columns.

Definition at line 93 of file Ifpack_Graph_Epetra_RowMatrix.h.

int Ifpack_Graph_Epetra_RowMatrix::NumGlobalRows_ [private]
 

Number of global rows.

Definition at line 95 of file Ifpack_Graph_Epetra_RowMatrix.h.

int Ifpack_Graph_Epetra_RowMatrix::NumGlobalCols_ [private]
 

Number of global columns.

Definition at line 97 of file Ifpack_Graph_Epetra_RowMatrix.h.

int Ifpack_Graph_Epetra_RowMatrix::MaxNumIndices_ [private]
 

Maximum number of indices per row.

Definition at line 99 of file Ifpack_Graph_Epetra_RowMatrix.h.

const Epetra_RowMatrix* Ifpack_Graph_Epetra_RowMatrix::RowMatrix_ [private]
 

Pointer to the wrapped Epetra_CrsGraph.

Definition at line 101 of file Ifpack_Graph_Epetra_RowMatrix.h.

std::vector<double> Ifpack_Graph_Epetra_RowMatrix::Values_ [mutable, private]
 

Vectors that can be used in calls to ExtractMyRowView of the Row matrix.

Definition at line 103 of file Ifpack_Graph_Epetra_RowMatrix.h.


The documentation for this class was generated from the following files:
Generated on Thu Sep 18 12:37:30 2008 for Ifpack Package Browser (Single Doxygen Collection) by doxygen 1.3.9.1