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>
60class Epetra_MultiVector;
62class Epetra_CrsMatrix;
63class Epetra_RowMatrix;
64class Epetra_LinearProblem;
88 Colorer(Teuchos::RCP<const Epetra_CrsGraph> input_graph,
89 const Teuchos::ParameterList& paramlist=Teuchos::ParameterList(
"EmptyParameterList"),
90 bool compute_now=
true);
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);
#define __deprecated
Definition Isorropia_ConfigDefs.hpp:94
Interface (abstract base class) for computing a new coloring and describing the result.
Definition Isorropia_Colorer.hpp:55
An implementation of the Colorer interface that operates on Epetra matrices and linear systems.
Definition Isorropia_EpetraColorer.hpp:76
~Colorer()
Destructor.
Definition Isorropia_EpetraColorer.hpp:134
Teuchos::RCP< const Epetra_BlockMap > colmap_
Definition Isorropia_EpetraColorer.hpp:190
__deprecated Teuchos::RCP< Epetra_MapColoring > generateMapColoring()
Generate an Epetra_MapColoring object.
Definition Isorropia_EpetraColorer.hpp:166
An implementation of the Partitioner interface that operates on Epetra matrices and linear systems.
Definition Isorropia_EpetraOperator.hpp:72
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(const Epetra_CrsGraph *input_graph, const Teuchos::ParameterList ¶mlist=Teuchos::ParameterList("EmptyParameterList"), bool compute_now=true)
Constructor.
void color(bool force_coloring=false)
Compute the coloring if it has not already been computed, same effect as Isorropia::Epetra::Colorer::...
Colorer(const Epetra_RowMatrix *input_matrix, const Teuchos::ParameterList ¶mlist=Teuchos::ParameterList("EmptyParameterList"), bool compute_now=true)
Constructor.
Colorer(Teuchos::RCP< const Epetra_CrsGraph > input_graph, const Teuchos::ParameterList ¶mlist=Teuchos::ParameterList("EmptyParameterList"), bool compute_now=true)
Constructor.
Teuchos::RCP< Epetra_MapColoring > generateRowMapColoring()
Generate an Epetra_MapColoring object corresponding of rows color.
Colorer(Teuchos::RCP< const Epetra_RowMatrix > input_matrix, const Teuchos::ParameterList ¶mlist=Teuchos::ParameterList("EmptyParameterList"), bool compute_now=true)
Constructor.
Teuchos::RCP< Epetra_MapColoring > generateColMapColoring()
Generate an Epetra_MapColoring object corresponding of columns color.
Isorropia is the namespace that contains general definitions that apply to all partitioners and that ...
Definition Isorropia_Epetra.hpp:60