40 #ifndef _Isorropia_EpetraColorer_hpp_
41 #define _Isorropia_EpetraColorer_hpp_
44 #include <Teuchos_RCP.hpp>
45 #include <Teuchos_ParameterList.hpp>
52 #include <Epetra_MapColoring.h>
57 class Epetra_BlockMap;
60 class Epetra_MultiVector;
61 class Epetra_CrsGraph;
62 class Epetra_CrsMatrix;
63 class Epetra_RowMatrix;
64 class Epetra_LinearProblem;
88 Colorer(Teuchos::RCP<const Epetra_CrsGraph> input_graph,
89 const Teuchos::ParameterList& paramlist=Teuchos::ParameterList(
"EmptyParameterList"),
90 bool compute_now=
true);
101 Colorer(
const Epetra_CrsGraph * input_graph,
102 const Teuchos::ParameterList& paramlist=Teuchos::ParameterList(
"EmptyParameterList"),
103 bool compute_now=
true);
114 Colorer(Teuchos::RCP<const Epetra_RowMatrix> input_matrix,
115 const Teuchos::ParameterList& paramlist=Teuchos::ParameterList(
"EmptyParameterList"),
116 bool compute_now=
true);
128 Colorer(
const Epetra_RowMatrix * input_matrix,
129 const Teuchos::ParameterList& paramlist=Teuchos::ParameterList(
"EmptyParameterList"),
130 bool compute_now=
true);
144 void color(
bool force_coloring=
false);
155 color(force_compute);
158 #ifdef HAVE_EPETRAEXT
An implementation of the Partitioner interface that operates on Epetra matrices and linear systems...
Definition: Isorropia_EpetraOperator.hpp:72
Teuchos::RCP< Epetra_MapColoring > generateRowMapColoring()
Generate an Epetra_MapColoring object corresponding of rows color.
void compute(bool force_compute=false)
Compute the coloring if it has not already been computed, same effect as Isorropia::Epetra::Colorer::...
Definition: Isorropia_EpetraColorer.hpp:154
Colorer(Teuchos::RCP< const Epetra_CrsGraph > input_graph, const Teuchos::ParameterList ¶mlist=Teuchos::ParameterList("EmptyParameterList"), bool compute_now=true)
Constructor.
Teuchos::RCP< const Epetra_BlockMap > colmap_
Definition: Isorropia_EpetraColorer.hpp:190
~Colorer()
Destructor.
Definition: Isorropia_EpetraColorer.hpp:134
Interface (abstract base class) for computing a new coloring and describing the result.
Definition: Isorropia_Colorer.hpp:55
__deprecated Teuchos::RCP< Epetra_MapColoring > generateMapColoring()
Generate an Epetra_MapColoring object.
Definition: Isorropia_EpetraColorer.hpp:166
Teuchos::RCP< Epetra_MapColoring > generateColMapColoring()
Generate an Epetra_MapColoring object corresponding of columns color.
#define __deprecated
Definition: Isorropia_ConfigDefs.hpp:94
void color(bool force_coloring=false)
Compute the coloring if it has not already been computed, same effect as Isorropia::Epetra::Colorer::...
An implementation of the Colorer interface that operates on Epetra matrices and linear systems...
Definition: Isorropia_EpetraColorer.hpp:76