43 #ifndef IFPACK_OVERLAPGRAPH_H
44 #define IFPACK_OVERLAPGRAPH_H
46 #if defined(Ifpack_SHOW_DEPRECATED_WARNINGS)
48 #warning "The Ifpack package is deprecated"
53 #include "Epetra_Object.h"
54 #include "Epetra_CrsGraph.h"
55 #include "Epetra_Import.h"
56 #include "Teuchos_RefCountPtr.hpp"
77 Ifpack_OverlapGraph(
const Teuchos::RefCountPtr<const Epetra_CrsGraph>& UserMatrixGraph_in,
int OverlapLevel_in);
85 Ifpack_OverlapGraph(
const Teuchos::RefCountPtr<const Epetra_RowMatrix>& UserMatrix_in,
int OverlapLevel_in);
103 bool cerr_warning_if_unused=
false);
125 void Print(std::ostream& os)
const {
130 os <<
"Overlap Graph created using the user's Epetra_RowMatrix object" << endl;
132 os <<
"Overlap Graph created using the user's Epetra_CrsGraph object" << endl;
151 #endif // IFPACK_OVERLAPGRAPH_H
Ifpack_OverlapGraph: Constructs a graph for use with Ifpack preconditioners.
Teuchos::RefCountPtr< Epetra_BlockMap > OverlapRowMap_
void Print(std::ostream &os) const
Ifpack_OverlapGraph(const Teuchos::RefCountPtr< const Epetra_CrsGraph > &UserMatrixGraph_in, int OverlapLevel_in)
Constructor using Epetra_CrsGraph.
virtual ~Ifpack_OverlapGraph()
Ifpack_CrsIlut Destructor.
int ConstructOverlapGraph(const Teuchos::RefCountPtr< const Epetra_CrsGraph > &UserMatrixGraph)
Teuchos::RefCountPtr< const Epetra_RowMatrix > UserMatrix_
const Epetra_BlockMap & OverlapRowMap() const
Returns the RowMap associated with the overlap graph.
Teuchos::RefCountPtr< Epetra_CrsGraph > OverlapGraph_
int SetParameters(const Teuchos::ParameterList ¶meterlist, bool cerr_warning_if_unused=false)
Set parameters using a Teuchos::ParameterList object.
Teuchos::RefCountPtr< Epetra_Import > OverlapImporter_
const Epetra_CrsGraph & OverlapGraph() const
Returns the overlap graph object.
Teuchos::RefCountPtr< const Epetra_CrsGraph > UserMatrixGraph_
const Epetra_Import & OverlapImporter() const
Returns the overlap graph object.
int OverlapLevel() const
Returns the level of overlap used to create this graph.