Ifpack_Graph Class Reference

Ifpack_Graph: a pure virtual class that defines graphs for IFPACK. More...

#include <Ifpack_Graph.h>

Inheritance diagram for Ifpack_Graph:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~Ifpack_Graph ()
 Destructor.
virtual int NumMyRows () const =0
 Returns the number of local rows.
virtual int NumMyCols () const =0
 Returns the number of local columns.
virtual int NumGlobalRows () const =0
 Returns the number of global rows.
virtual int NumGlobalCols () const =0
 Returns the number of global columns.
virtual int MaxMyNumEntries () const =0
 Returns the maximun number of entries for row.
virtual int NumMyNonzeros () const =0
 Returns the number of local nonzero entries.
virtual bool Filled () const =0
 Returns true is graph is filled.
virtual int GRID (int) const =0
 Returns the global row ID of input local row.
virtual int GCID (int) const =0
 Returns the global column ID of input local column.
virtual int LRID (int) const =0
 Returns the local row ID of input global row.
virtual int LCID (int) const =0
 Returns the local column ID of input global column.
virtual int ExtractMyRowCopy (int MyRow, int LenOfIndices, int &NumIndices, int *Indices) const =0
 Extracts a copy of input local row.
virtual const Epetra_CommComm () const =0
 Returns the communicator object of the graph.
virtual ostream & Print (std::ostream &os) const =0
 Prints basic information about the graph object.

Detailed Description

Ifpack_Graph: a pure virtual class that defines graphs for IFPACK.

Class Ifpack_Graph defines the abstract interface to use graphs in IFPACK. This class contains all the functions that are required by IFPACK classes.

Author:
Marzio Sala, SNL 9214.
Date:
Last modified on Nov-04.

Definition at line 46 of file Ifpack_Graph.h.


Constructor & Destructor Documentation

virtual Ifpack_Graph::~Ifpack_Graph (  )  [inline, virtual]

Destructor.

Definition at line 51 of file Ifpack_Graph.h.


Member Function Documentation

virtual int Ifpack_Graph::NumMyRows (  )  const [pure virtual]

Returns the number of local rows.

Implemented in Ifpack_Graph_Epetra_CrsGraph, and Ifpack_Graph_Epetra_RowMatrix.

virtual int Ifpack_Graph::NumMyCols (  )  const [pure virtual]

Returns the number of local columns.

Implemented in Ifpack_Graph_Epetra_CrsGraph, and Ifpack_Graph_Epetra_RowMatrix.

virtual int Ifpack_Graph::NumGlobalRows (  )  const [pure virtual]

Returns the number of global rows.

Implemented in Ifpack_Graph_Epetra_CrsGraph, and Ifpack_Graph_Epetra_RowMatrix.

virtual int Ifpack_Graph::NumGlobalCols (  )  const [pure virtual]

Returns the number of global columns.

Implemented in Ifpack_Graph_Epetra_CrsGraph, and Ifpack_Graph_Epetra_RowMatrix.

virtual int Ifpack_Graph::MaxMyNumEntries (  )  const [pure virtual]

Returns the maximun number of entries for row.

Implemented in Ifpack_Graph_Epetra_CrsGraph, and Ifpack_Graph_Epetra_RowMatrix.

virtual int Ifpack_Graph::NumMyNonzeros (  )  const [pure virtual]

Returns the number of local nonzero entries.

Implemented in Ifpack_Graph_Epetra_CrsGraph, and Ifpack_Graph_Epetra_RowMatrix.

virtual bool Ifpack_Graph::Filled (  )  const [pure virtual]

Returns true is graph is filled.

Implemented in Ifpack_Graph_Epetra_CrsGraph, and Ifpack_Graph_Epetra_RowMatrix.

virtual int Ifpack_Graph::GRID ( int   )  const [pure virtual]

Returns the global row ID of input local row.

Implemented in Ifpack_Graph_Epetra_CrsGraph, and Ifpack_Graph_Epetra_RowMatrix.

virtual int Ifpack_Graph::GCID ( int   )  const [pure virtual]

Returns the global column ID of input local column.

Implemented in Ifpack_Graph_Epetra_CrsGraph, and Ifpack_Graph_Epetra_RowMatrix.

virtual int Ifpack_Graph::LRID ( int   )  const [pure virtual]

Returns the local row ID of input global row.

Implemented in Ifpack_Graph_Epetra_CrsGraph, and Ifpack_Graph_Epetra_RowMatrix.

virtual int Ifpack_Graph::LCID ( int   )  const [pure virtual]

Returns the local column ID of input global column.

Implemented in Ifpack_Graph_Epetra_CrsGraph, and Ifpack_Graph_Epetra_RowMatrix.

virtual int Ifpack_Graph::ExtractMyRowCopy ( int  MyRow,
int  LenOfIndices,
int &  NumIndices,
int *  Indices 
) const [pure virtual]

Extracts a copy of input local row.

Implemented in Ifpack_Graph_Epetra_CrsGraph, and Ifpack_Graph_Epetra_RowMatrix.

virtual const Epetra_Comm& Ifpack_Graph::Comm (  )  const [pure virtual]

Returns the communicator object of the graph.

Implemented in Ifpack_Graph_Epetra_CrsGraph, and Ifpack_Graph_Epetra_RowMatrix.

virtual ostream& Ifpack_Graph::Print ( std::ostream &  os  )  const [pure virtual]

Prints basic information about the graph object.

Implemented in Ifpack_Graph_Epetra_CrsGraph, and Ifpack_Graph_Epetra_RowMatrix.


The documentation for this class was generated from the following file:
Generated on Wed May 12 21:30:30 2010 for Ifpack Package Browser (Single Doxygen Collection) by  doxygen 1.4.7