Ifpack Package Browser (Single Doxygen Collection)  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
Ifpack_Graph Class Referenceabstract

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

#include <Ifpack_Graph.h>

Inheritance diagram for Ifpack_Graph:
Inheritance graph
[legend]

Public Member Functions

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

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 67 of file Ifpack_Graph.h.

Constructor & Destructor Documentation

virtual Ifpack_Graph::~Ifpack_Graph ( )
inlinevirtual

Destructor.

Definition at line 72 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_RowMatrix, and Ifpack_Graph_Epetra_CrsGraph.

virtual int Ifpack_Graph::NumMyCols ( ) const
pure virtual

Returns the number of local columns.

Implemented in Ifpack_Graph_Epetra_RowMatrix, and Ifpack_Graph_Epetra_CrsGraph.

virtual int Ifpack_Graph::NumGlobalRows ( ) const
pure virtual

Returns the number of global rows.

Implemented in Ifpack_Graph_Epetra_RowMatrix, and Ifpack_Graph_Epetra_CrsGraph.

virtual int Ifpack_Graph::NumGlobalCols ( ) const
pure virtual

Returns the number of global columns.

Implemented in Ifpack_Graph_Epetra_RowMatrix, and Ifpack_Graph_Epetra_CrsGraph.

virtual long long Ifpack_Graph::NumGlobalRows64 ( ) const
pure virtual
virtual long long Ifpack_Graph::NumGlobalCols64 ( ) const
pure virtual
virtual int Ifpack_Graph::MaxMyNumEntries ( ) const
pure virtual

Returns the maximun number of entries for row.

Implemented in Ifpack_Graph_Epetra_RowMatrix, and Ifpack_Graph_Epetra_CrsGraph.

virtual int Ifpack_Graph::NumMyNonzeros ( ) const
pure virtual

Returns the number of local nonzero entries.

Implemented in Ifpack_Graph_Epetra_RowMatrix, and Ifpack_Graph_Epetra_CrsGraph.

virtual bool Ifpack_Graph::Filled ( ) const
pure virtual

Returns true is graph is filled.

Implemented in Ifpack_Graph_Epetra_RowMatrix, and Ifpack_Graph_Epetra_CrsGraph.

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

Returns the global row ID of input local row.

Implemented in Ifpack_Graph_Epetra_RowMatrix, and Ifpack_Graph_Epetra_CrsGraph.

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

Returns the global column ID of input local column.

Implemented in Ifpack_Graph_Epetra_RowMatrix, and Ifpack_Graph_Epetra_CrsGraph.

virtual long long Ifpack_Graph::GRID64 ( int  ) const
pure virtual
virtual long long Ifpack_Graph::GCID64 ( int  ) const
pure virtual

Returns the global column ID of input local column.

Implemented in Ifpack_Graph_Epetra_RowMatrix, and Ifpack_Graph_Epetra_CrsGraph.

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

Returns the local row ID of input global row.

Implemented in Ifpack_Graph_Epetra_RowMatrix, and Ifpack_Graph_Epetra_CrsGraph.

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

Returns the local column ID of input global column.

Implemented in Ifpack_Graph_Epetra_RowMatrix, and Ifpack_Graph_Epetra_CrsGraph.

virtual int Ifpack_Graph::LRID ( long  long) const
pure virtual

Returns the local row ID of input global row.

Implemented in Ifpack_Graph_Epetra_RowMatrix, and Ifpack_Graph_Epetra_CrsGraph.

virtual int Ifpack_Graph::LCID ( long  long) const
pure virtual

Returns the local column ID of input global column.

Implemented in Ifpack_Graph_Epetra_RowMatrix, and Ifpack_Graph_Epetra_CrsGraph.

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_RowMatrix, and Ifpack_Graph_Epetra_CrsGraph.

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

Returns the communicator object of the graph.

Implemented in Ifpack_Graph_Epetra_RowMatrix, and Ifpack_Graph_Epetra_CrsGraph.

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

Prints basic information about the graph object.

Implemented in Ifpack_Graph_Epetra_RowMatrix, and Ifpack_Graph_Epetra_CrsGraph.


The documentation for this class was generated from the following file: