Ifpack_Graph_Epetra_CrsGraph Class Reference

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>

Inheritance diagram for Ifpack_Graph_Epetra_CrsGraph:

[legend]
List of all members.

Public Member Functions

 Ifpack_Graph_Epetra_CrsGraph (const Epetra_CrsGraph *CrsGraph)
 Constructor.
 ~Ifpack_Graph_Epetra_CrsGraph ()
 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.
virtual ostream & Print (std::ostream &os) const
 Prints basic information about 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_CrsGraphCrsGraph_
 Pointer to the wrapped Epetra_CrsGraph.

Detailed Description

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.

Date:
Set-04.

Definition at line 17 of file Ifpack_Graph_Epetra_CrsGraph.h.


Constructor & Destructor Documentation

Ifpack_Graph_Epetra_CrsGraph::Ifpack_Graph_Epetra_CrsGraph const Epetra_CrsGraph CrsGraph  ) 
 

Constructor.

Definition at line 9 of file Ifpack_Graph_Epetra_CrsGraph.cpp.

Ifpack_Graph_Epetra_CrsGraph::~Ifpack_Graph_Epetra_CrsGraph  ) 
 

Destructor.

Definition at line 20 of file Ifpack_Graph_Epetra_CrsGraph.cpp.


Member Function Documentation

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

Returns the number of local rows.

Implements Ifpack_Graph.

Definition at line 28 of file Ifpack_Graph_Epetra_CrsGraph.h.

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

Returns the number of local columns.

Implements Ifpack_Graph.

Definition at line 34 of file Ifpack_Graph_Epetra_CrsGraph.h.

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

Returns the number of global rows.

Implements Ifpack_Graph.

Definition at line 40 of file Ifpack_Graph_Epetra_CrsGraph.h.

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

Returns the number of global columns.

Implements Ifpack_Graph.

Definition at line 46 of file Ifpack_Graph_Epetra_CrsGraph.h.

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

Returns the maximun number of entries for row.

Implements Ifpack_Graph.

Definition at line 52 of file Ifpack_Graph_Epetra_CrsGraph.h.

int Ifpack_Graph_Epetra_CrsGraph::NumMyNonzeros  )  const [virtual]
 

Returns the number of local nonzero entries.

Implements Ifpack_Graph.

Definition at line 70 of file Ifpack_Graph_Epetra_CrsGraph.cpp.

bool Ifpack_Graph_Epetra_CrsGraph::Filled  )  const [virtual]
 

Returns true is graph is filled.

Implements Ifpack_Graph.

Definition at line 31 of file Ifpack_Graph_Epetra_CrsGraph.cpp.

int Ifpack_Graph_Epetra_CrsGraph::GRID int   )  const [virtual]
 

Returns the global row ID of input local row.

Implements Ifpack_Graph.

Definition at line 37 of file Ifpack_Graph_Epetra_CrsGraph.cpp.

int Ifpack_Graph_Epetra_CrsGraph::GCID int   )  const [virtual]
 

Returns the global column ID of input local column.

Implements Ifpack_Graph.

Definition at line 43 of file Ifpack_Graph_Epetra_CrsGraph.cpp.

int Ifpack_Graph_Epetra_CrsGraph::LRID int   )  const [virtual]
 

Returns the local row ID of input global row.

Implements Ifpack_Graph.

Definition at line 49 of file Ifpack_Graph_Epetra_CrsGraph.cpp.

int Ifpack_Graph_Epetra_CrsGraph::LCID int   )  const [virtual]
 

Returns the local column ID of input global column.

Implements Ifpack_Graph.

Definition at line 55 of file Ifpack_Graph_Epetra_CrsGraph.cpp.

int Ifpack_Graph_Epetra_CrsGraph::ExtractMyRowCopy int  GlobalRow,
int  LenOfIndices,
int &  NumIndices,
int *  Indices
const [virtual]
 

Extracts a copy of input local row.

Implements Ifpack_Graph.

Definition at line 62 of file Ifpack_Graph_Epetra_CrsGraph.cpp.

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

Returns the communicator object of the graph.

Implements Ifpack_Graph.

Definition at line 25 of file Ifpack_Graph_Epetra_CrsGraph.cpp.

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

Prints basic information about the graph object.

Implements Ifpack_Graph.

Definition at line 76 of file Ifpack_Graph_Epetra_CrsGraph.cpp.


Member Data Documentation

int Ifpack_Graph_Epetra_CrsGraph::NumMyRows_ [private]
 

Number of local rows.

Definition at line 88 of file Ifpack_Graph_Epetra_CrsGraph.h.

int Ifpack_Graph_Epetra_CrsGraph::NumMyCols_ [private]
 

Number of local columns.

Definition at line 90 of file Ifpack_Graph_Epetra_CrsGraph.h.

int Ifpack_Graph_Epetra_CrsGraph::NumGlobalRows_ [private]
 

Number of global rows.

Definition at line 92 of file Ifpack_Graph_Epetra_CrsGraph.h.

int Ifpack_Graph_Epetra_CrsGraph::NumGlobalCols_ [private]
 

Number of global columns.

Definition at line 94 of file Ifpack_Graph_Epetra_CrsGraph.h.

int Ifpack_Graph_Epetra_CrsGraph::MaxNumIndices_ [private]
 

Maximum number of indices per row.

Definition at line 96 of file Ifpack_Graph_Epetra_CrsGraph.h.

const Epetra_CrsGraph* Ifpack_Graph_Epetra_CrsGraph::CrsGraph_ [private]
 

Pointer to the wrapped Epetra_CrsGraph.

Definition at line 98 of file Ifpack_Graph_Epetra_CrsGraph.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