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_RowMatrix Class Reference

Ifpack_Graph_Epetra_RowMatrix: a class to define Ifpack_Graph as a light-weight conversion of Epetra_RowMatrix's. More...

#include <Ifpack_Graph_Epetra_RowMatrix.h>

Inheritance diagram for Ifpack_Graph_Epetra_RowMatrix:
Inheritance graph
[legend]

Public Member Functions

 Ifpack_Graph_Epetra_RowMatrix (const Teuchos::RefCountPtr< const Epetra_RowMatrix > &RowMatrix)
 Constructor. More...
 
virtual ~Ifpack_Graph_Epetra_RowMatrix ()
 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...
 
std::ostream & Print (std::ostream &os) const
 Prints basic information abobut 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_RowMatrix
RowMatrix_
 Pointer to the wrapped Epetra_CrsGraph. More...
 
std::vector< double > Values_
 Vectors that can be used in calls to ExtractMyRowView of the Row matrix. More...
 

Detailed Description

Ifpack_Graph_Epetra_RowMatrix: a class to define Ifpack_Graph as a light-weight conversion of Epetra_RowMatrix's.

Class Ifpack_Graph_Epetra_RowMatrix enables the construction of an Ifpack_Graph based on the input Epetra_RowMatrix. Note that data are not copied to this object; instead, wrappers are furnished.

Author
Marzio Sala, SNL 9214
Date
Set-04.

Definition at line 66 of file Ifpack_Graph_Epetra_RowMatrix.h.

Constructor & Destructor Documentation

Ifpack_Graph_Epetra_RowMatrix::Ifpack_Graph_Epetra_RowMatrix ( const Teuchos::RefCountPtr< const Epetra_RowMatrix > &  RowMatrix)

Constructor.

Definition at line 51 of file Ifpack_Graph_Epetra_RowMatrix.cpp.

virtual Ifpack_Graph_Epetra_RowMatrix::~Ifpack_Graph_Epetra_RowMatrix ( )
inlinevirtual

Destructor.

Definition at line 74 of file Ifpack_Graph_Epetra_RowMatrix.h.

Member Function Documentation

int Ifpack_Graph_Epetra_RowMatrix::NumMyRows ( ) const
inlinevirtual

Returns the number of local rows.

Implements Ifpack_Graph.

Definition at line 77 of file Ifpack_Graph_Epetra_RowMatrix.h.

int Ifpack_Graph_Epetra_RowMatrix::NumMyCols ( ) const
inlinevirtual

Returns the number of local columns.

Implements Ifpack_Graph.

Definition at line 83 of file Ifpack_Graph_Epetra_RowMatrix.h.

int Ifpack_Graph_Epetra_RowMatrix::NumGlobalRows ( ) const
inlinevirtual

Returns the number of global rows.

Implements Ifpack_Graph.

Definition at line 90 of file Ifpack_Graph_Epetra_RowMatrix.h.

long long Ifpack_Graph_Epetra_RowMatrix::NumGlobalRows64 ( ) const
inlinevirtual

Implements Ifpack_Graph.

Definition at line 98 of file Ifpack_Graph_Epetra_RowMatrix.h.

int Ifpack_Graph_Epetra_RowMatrix::NumGlobalCols ( ) const
inlinevirtual

Returns the number of global columns.

Implements Ifpack_Graph.

Definition at line 105 of file Ifpack_Graph_Epetra_RowMatrix.h.

long long Ifpack_Graph_Epetra_RowMatrix::NumGlobalCols64 ( ) const
inlinevirtual

Implements Ifpack_Graph.

Definition at line 113 of file Ifpack_Graph_Epetra_RowMatrix.h.

int Ifpack_Graph_Epetra_RowMatrix::MaxMyNumEntries ( ) const
inlinevirtual

Returns the maximun number of entries for row.

Implements Ifpack_Graph.

Definition at line 119 of file Ifpack_Graph_Epetra_RowMatrix.h.

int Ifpack_Graph_Epetra_RowMatrix::NumMyNonzeros ( ) const
virtual

Returns the number of local nonzero entries.

Implements Ifpack_Graph.

Definition at line 137 of file Ifpack_Graph_Epetra_RowMatrix.cpp.

bool Ifpack_Graph_Epetra_RowMatrix::Filled ( ) const
virtual

Returns true is graph is filled.

Implements Ifpack_Graph.

Definition at line 70 of file Ifpack_Graph_Epetra_RowMatrix.cpp.

int Ifpack_Graph_Epetra_RowMatrix::GRID ( int  LRID_in) const
virtual

Returns the global row ID of input local row.

Implements Ifpack_Graph.

Definition at line 77 of file Ifpack_Graph_Epetra_RowMatrix.cpp.

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

Implements Ifpack_Graph.

Definition at line 89 of file Ifpack_Graph_Epetra_RowMatrix.cpp.

int Ifpack_Graph_Epetra_RowMatrix::GCID ( int  LCID_in) const
virtual

Returns the global column ID of input local column.

Implements Ifpack_Graph.

Definition at line 83 of file Ifpack_Graph_Epetra_RowMatrix.cpp.

long long Ifpack_Graph_Epetra_RowMatrix::GCID64 ( int  ) const
virtual

Returns the global column ID of input local column.

Implements Ifpack_Graph.

Definition at line 95 of file Ifpack_Graph_Epetra_RowMatrix.cpp.

int Ifpack_Graph_Epetra_RowMatrix::LRID ( int  GRID_in) const
virtual

Returns the local row ID of input global row.

Implements Ifpack_Graph.

Definition at line 102 of file Ifpack_Graph_Epetra_RowMatrix.cpp.

int Ifpack_Graph_Epetra_RowMatrix::LCID ( int  GCID_in) const
virtual

Returns the local column ID of input global column.

Implements Ifpack_Graph.

Definition at line 108 of file Ifpack_Graph_Epetra_RowMatrix.cpp.

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

Returns the local row ID of input global row.

Implements Ifpack_Graph.

Definition at line 115 of file Ifpack_Graph_Epetra_RowMatrix.cpp.

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

Returns the local column ID of input global column.

Implements Ifpack_Graph.

Definition at line 121 of file Ifpack_Graph_Epetra_RowMatrix.cpp.

int Ifpack_Graph_Epetra_RowMatrix::ExtractMyRowCopy ( int  GlobalRow,
int  LenOfIndices,
int &  NumIndices,
int *  Indices 
) const
virtual

Extracts a copy of input local row.

Implements Ifpack_Graph.

Definition at line 128 of file Ifpack_Graph_Epetra_RowMatrix.cpp.

const Epetra_Comm & Ifpack_Graph_Epetra_RowMatrix::Comm ( ) const
virtual

Returns the communicator object of the graph.

Implements Ifpack_Graph.

Definition at line 64 of file Ifpack_Graph_Epetra_RowMatrix.cpp.

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

Prints basic information abobut the graph object.

Implements Ifpack_Graph.

Definition at line 143 of file Ifpack_Graph_Epetra_RowMatrix.cpp.

Member Data Documentation

int Ifpack_Graph_Epetra_RowMatrix::NumMyRows_
private

Number of local rows.

Definition at line 171 of file Ifpack_Graph_Epetra_RowMatrix.h.

int Ifpack_Graph_Epetra_RowMatrix::NumMyCols_
private

Number of local columns.

Definition at line 173 of file Ifpack_Graph_Epetra_RowMatrix.h.

long long Ifpack_Graph_Epetra_RowMatrix::NumGlobalRows_
private

Number of global rows.

Definition at line 175 of file Ifpack_Graph_Epetra_RowMatrix.h.

long long Ifpack_Graph_Epetra_RowMatrix::NumGlobalCols_
private

Number of global columns.

Definition at line 177 of file Ifpack_Graph_Epetra_RowMatrix.h.

int Ifpack_Graph_Epetra_RowMatrix::MaxNumIndices_
private

Maximum number of indices per row.

Definition at line 179 of file Ifpack_Graph_Epetra_RowMatrix.h.

Teuchos::RefCountPtr<const Epetra_RowMatrix> Ifpack_Graph_Epetra_RowMatrix::RowMatrix_
private

Pointer to the wrapped Epetra_CrsGraph.

Definition at line 181 of file Ifpack_Graph_Epetra_RowMatrix.h.

std::vector<double> Ifpack_Graph_Epetra_RowMatrix::Values_
mutableprivate

Vectors that can be used in calls to ExtractMyRowView of the Row matrix.

Definition at line 183 of file Ifpack_Graph_Epetra_RowMatrix.h.


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