Ifpack Package Browser (Single Doxygen Collection)  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
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]

Public Member Functions

 Ifpack_Graph_Epetra_CrsGraph (const Teuchos::RefCountPtr< const Epetra_CrsGraph > &CrsGraph)
 Constructor. More...
 
virtual ~Ifpack_Graph_Epetra_CrsGraph ()
 Destructor. More...
 
int NumMyRows () const
 Returns the number of local rows. More...
 
int NumMyCols () const
 Returns the number of local columns. More...
 
int NumGlobalRows () const
 Returns the number of global rows. More...
 
long long NumGlobalRows64 () const
 
int NumGlobalCols () const
 Returns the number of global columns. More...
 
long long NumGlobalCols64 () const
 
int MaxMyNumEntries () const
 Returns the maximun number of entries for row. More...
 
int NumMyNonzeros () const
 Returns the number of local nonzero entries. More...
 
bool Filled () const
 Returns true is graph is filled. More...
 
int GRID (int) const
 Returns the global row ID of input local row. More...
 
long long GRID64 (int) const
 
int GCID (int) const
 Returns the global column ID of input local column. More...
 
long long GCID64 (int) const
 Returns the global column ID of input local column. More...
 
int LRID (int) const
 Returns the local row ID of input global row. More...
 
int LCID (int) const
 Returns the local column ID of input global column. More...
 
int LRID (long long) const
 Returns the local row ID of input global row. More...
 
int LCID (long long) const
 Returns the local column ID of input global column. More...
 
int ExtractMyRowCopy (int GlobalRow, int LenOfIndices, int &NumIndices, int *Indices) const
 Extracts a copy of input local row. More...
 
const Epetra_CommComm () const
 Returns the communicator object of the graph. More...
 
virtual std::ostream & Print (std::ostream &os) const
 Prints basic information about the graph object. More...
 
- Public Member Functions inherited from Ifpack_Graph
virtual ~Ifpack_Graph ()
 Destructor. More...
 

Private Attributes

int NumMyRows_
 Number of local rows. More...
 
int NumMyCols_
 Number of local columns. More...
 
long long NumGlobalRows_
 Number of global rows. More...
 
long long NumGlobalCols_
 Number of global columns. More...
 
int MaxNumIndices_
 Maximum number of indices per row. More...
 
Teuchos::RefCountPtr< const
Epetra_CrsGraph
CrsGraph_
 Pointer to the wrapped Epetra_CrsGraph. More...
 

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 62 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 51 of file Ifpack_Graph_Epetra_CrsGraph.cpp.

virtual Ifpack_Graph_Epetra_CrsGraph::~Ifpack_Graph_Epetra_CrsGraph ( )
inlinevirtual

Destructor.

Definition at line 70 of file Ifpack_Graph_Epetra_CrsGraph.h.

Member Function Documentation

int Ifpack_Graph_Epetra_CrsGraph::NumMyRows ( ) const
inlinevirtual

Returns the number of local rows.

Implements Ifpack_Graph.

Definition at line 73 of file Ifpack_Graph_Epetra_CrsGraph.h.

int Ifpack_Graph_Epetra_CrsGraph::NumMyCols ( ) const
inlinevirtual

Returns the number of local columns.

Implements Ifpack_Graph.

Definition at line 79 of file Ifpack_Graph_Epetra_CrsGraph.h.

int Ifpack_Graph_Epetra_CrsGraph::NumGlobalRows ( ) const
inlinevirtual

Returns the number of global rows.

Implements Ifpack_Graph.

Definition at line 86 of file Ifpack_Graph_Epetra_CrsGraph.h.

long long Ifpack_Graph_Epetra_CrsGraph::NumGlobalRows64 ( ) const
inlinevirtual

Implements Ifpack_Graph.

Definition at line 94 of file Ifpack_Graph_Epetra_CrsGraph.h.

int Ifpack_Graph_Epetra_CrsGraph::NumGlobalCols ( ) const
inlinevirtual

Returns the number of global columns.

Implements Ifpack_Graph.

Definition at line 101 of file Ifpack_Graph_Epetra_CrsGraph.h.

long long Ifpack_Graph_Epetra_CrsGraph::NumGlobalCols64 ( ) const
inlinevirtual

Implements Ifpack_Graph.

Definition at line 109 of file Ifpack_Graph_Epetra_CrsGraph.h.

int Ifpack_Graph_Epetra_CrsGraph::MaxMyNumEntries ( ) const
inlinevirtual

Returns the maximun number of entries for row.

Implements Ifpack_Graph.

Definition at line 115 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 135 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 68 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 75 of file Ifpack_Graph_Epetra_CrsGraph.cpp.

long long Ifpack_Graph_Epetra_CrsGraph::GRID64 ( int  LRID_in) const
virtual

Implements Ifpack_Graph.

Definition at line 87 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 81 of file Ifpack_Graph_Epetra_CrsGraph.cpp.

long long Ifpack_Graph_Epetra_CrsGraph::GCID64 ( int  ) const
virtual

Returns the global column ID of input local column.

Implements Ifpack_Graph.

Definition at line 93 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 100 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 106 of file Ifpack_Graph_Epetra_CrsGraph.cpp.

int Ifpack_Graph_Epetra_CrsGraph::LRID ( long long  GRID_in) const
virtual

Returns the local row ID of input global row.

Implements Ifpack_Graph.

Definition at line 114 of file Ifpack_Graph_Epetra_CrsGraph.cpp.

int Ifpack_Graph_Epetra_CrsGraph::LCID ( long long  GCID_in) const
virtual

Returns the local column ID of input global column.

Implements Ifpack_Graph.

Definition at line 120 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 127 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 62 of file Ifpack_Graph_Epetra_CrsGraph.cpp.

std::ostream & Ifpack_Graph_Epetra_CrsGraph::Print ( std::ostream &  os) const
virtual

Prints basic information about the graph object.

Implements Ifpack_Graph.

Definition at line 141 of file Ifpack_Graph_Epetra_CrsGraph.cpp.

Member Data Documentation

int Ifpack_Graph_Epetra_CrsGraph::NumMyRows_
private

Number of local rows.

Definition at line 167 of file Ifpack_Graph_Epetra_CrsGraph.h.

int Ifpack_Graph_Epetra_CrsGraph::NumMyCols_
private

Number of local columns.

Definition at line 169 of file Ifpack_Graph_Epetra_CrsGraph.h.

long long Ifpack_Graph_Epetra_CrsGraph::NumGlobalRows_
private

Number of global rows.

Definition at line 171 of file Ifpack_Graph_Epetra_CrsGraph.h.

long long Ifpack_Graph_Epetra_CrsGraph::NumGlobalCols_
private

Number of global columns.

Definition at line 173 of file Ifpack_Graph_Epetra_CrsGraph.h.

int Ifpack_Graph_Epetra_CrsGraph::MaxNumIndices_
private

Maximum number of indices per row.

Definition at line 175 of file Ifpack_Graph_Epetra_CrsGraph.h.

Teuchos::RefCountPtr<const Epetra_CrsGraph> Ifpack_Graph_Epetra_CrsGraph::CrsGraph_
private

Pointer to the wrapped Epetra_CrsGraph.

Definition at line 177 of file Ifpack_Graph_Epetra_CrsGraph.h.


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