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:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 Ifpack_Graph_Epetra_CrsGraph (const Teuchos::RefCountPtr< const Epetra_CrsGraph > &CrsGraph)
 Constructor.
virtual ~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.
Teuchos::RefCountPtr< const
Epetra_CrsGraph
CrsGraph_
 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 48 of file Ifpack_Graph_Epetra_CrsGraph.h.


Constructor & Destructor Documentation

Ifpack_Graph_Epetra_CrsGraph::Ifpack_Graph_Epetra_CrsGraph ( const Teuchos::RefCountPtr< const Epetra_CrsGraph > &  CrsGraph  ) 

Constructor.

Definition at line 38 of file Ifpack_Graph_Epetra_CrsGraph.cpp.

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

Destructor.

Definition at line 56 of file Ifpack_Graph_Epetra_CrsGraph.h.


Member Function Documentation

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

Returns the number of local rows.

Implements Ifpack_Graph.

Definition at line 59 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 65 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 71 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 77 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 83 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 94 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 55 of file Ifpack_Graph_Epetra_CrsGraph.cpp.

int Ifpack_Graph_Epetra_CrsGraph::GRID ( int  LRID_in  )  const [virtual]

Returns the global row ID of input local row.

Implements Ifpack_Graph.

Definition at line 61 of file Ifpack_Graph_Epetra_CrsGraph.cpp.

int Ifpack_Graph_Epetra_CrsGraph::GCID ( int  LCID_in  )  const [virtual]

Returns the global column ID of input local column.

Implements Ifpack_Graph.

Definition at line 67 of file Ifpack_Graph_Epetra_CrsGraph.cpp.

int Ifpack_Graph_Epetra_CrsGraph::LRID ( int  GRID_in  )  const [virtual]

Returns the local row ID of input global row.

Implements Ifpack_Graph.

Definition at line 73 of file Ifpack_Graph_Epetra_CrsGraph.cpp.

int Ifpack_Graph_Epetra_CrsGraph::LCID ( int  GCID_in  )  const [virtual]

Returns the local column ID of input global column.

Implements Ifpack_Graph.

Definition at line 79 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 86 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 49 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 100 of file Ifpack_Graph_Epetra_CrsGraph.cpp.


Member Data Documentation

Number of local rows.

Definition at line 119 of file Ifpack_Graph_Epetra_CrsGraph.h.

Number of local columns.

Definition at line 121 of file Ifpack_Graph_Epetra_CrsGraph.h.

Number of global rows.

Definition at line 123 of file Ifpack_Graph_Epetra_CrsGraph.h.

Number of global columns.

Definition at line 125 of file Ifpack_Graph_Epetra_CrsGraph.h.

Maximum number of indices per row.

Definition at line 127 of file Ifpack_Graph_Epetra_CrsGraph.h.

Pointer to the wrapped Epetra_CrsGraph.

Definition at line 129 of file Ifpack_Graph_Epetra_CrsGraph.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Wed Apr 13 10:05:40 2011 for Ifpack Package Browser (Single Doxygen Collection) by  doxygen 1.6.3