IFPACK  Development
 All Classes Namespaces Files Functions Variables Enumerations Friends Pages
Protected Member Functions | Protected Attributes | List of all members
Ifpack_OverlapGraph Class Reference

Ifpack_OverlapGraph: Constructs a graph for use with Ifpack preconditioners. More...

#include <Ifpack_OverlapGraph.h>

Inheritance diagram for Ifpack_OverlapGraph:
Inheritance graph
Collaboration diagram for Ifpack_OverlapGraph:
Collaboration graph

Public Member Functions

 Ifpack_OverlapGraph (const Teuchos::RefCountPtr< const Epetra_CrsGraph > &UserMatrixGraph_in, int OverlapLevel_in)
 Constructor using Epetra_CrsGraph. More...
 Ifpack_OverlapGraph (const Teuchos::RefCountPtr< const Epetra_RowMatrix > &UserMatrix_in, int OverlapLevel_in)
 Constructor using Epetra_RowMatrix. More...
 Ifpack_OverlapGraph (const Ifpack_OverlapGraph &Source)
 Copy constructor.
virtual ~Ifpack_OverlapGraph ()
 Ifpack_CrsIlut Destructor.
int SetParameters (const Teuchos::ParameterList &parameterlist, bool cerr_warning_if_unused=false)
 Set parameters using a Teuchos::ParameterList object.
const Epetra_CrsGraphOverlapGraph () const
 Returns the overlap graph object.
const Epetra_BlockMapOverlapRowMap () const
 Returns the RowMap associated with the overlap graph.
const Epetra_ImportOverlapImporter () const
 Returns the overlap graph object.
int OverlapLevel () const
 Returns the level of overlap used to create this graph. More...
void Print (std::ostream &os) const

Protected Member Functions

int ConstructOverlapGraph (const Teuchos::RefCountPtr< const Epetra_CrsGraph > &UserMatrixGraph)

Protected Attributes

< Epetra_CrsGraph
Teuchos::RefCountPtr< const
Teuchos::RefCountPtr< const
< Epetra_BlockMap
< Epetra_Import
int OverlapLevel_
bool IsOverlapped_

Detailed Description

Ifpack_OverlapGraph: Constructs a graph for use with Ifpack preconditioners.

Definition at line 62 of file Ifpack_OverlapGraph.h.

Constructor & Destructor Documentation

Ifpack_OverlapGraph::Ifpack_OverlapGraph ( const Teuchos::RefCountPtr< const Epetra_CrsGraph > &  UserMatrixGraph_in,
int  OverlapLevel_in 

Constructor using Epetra_CrsGraph.

Creates an Ifpack_OverlapGraph object from the user graph.

InUserMatrixGraph_in - Graph from user matrix.

Definition at line 53 of file Ifpack_OverlapGraph.cpp.

Ifpack_OverlapGraph::Ifpack_OverlapGraph ( const Teuchos::RefCountPtr< const Epetra_RowMatrix > &  UserMatrix_in,
int  OverlapLevel_in 

Constructor using Epetra_RowMatrix.

Creates an Ifpack_OverlapGraph object from the user graph implicitly defined by the Epetra_RowMatrix interface.

InRowMatrix - An object that has implemented the Epetra_RowMatrix interface.

Definition at line 64 of file Ifpack_OverlapGraph.cpp.

Member Function Documentation

int Ifpack_OverlapGraph::OverlapLevel ( ) const

Returns the level of overlap used to create this graph.

The graph created by this class uses a recursive definition 0f overlap. Level one overlap is created by copying all off-processor rows that are reached to be at least one column of the rows that are on processor. Level two overlap is the same process used on the level one graph.

Definition at line 114 of file Ifpack_OverlapGraph.h.

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