40 #ifndef _Isorropia_EpetraProber_hpp_
41 #define _Isorropia_EpetraProber_hpp_
44 #include <Teuchos_ParameterList.hpp>
50 #include <Epetra_CrsGraph.h>
51 #include <Teuchos_RCP.hpp>
52 class Epetra_MultiVector;
53 class Epetra_CrsMatrix;
54 class Epetra_Operator;
79 Prober(Teuchos::RCP<const Epetra_CrsGraph> input_graph,
80 const Teuchos::ParameterList& paramlist,
81 bool compute_now=
true);
93 Prober(
const Epetra_CrsGraph * input_graph,
94 const Teuchos::ParameterList& paramlist,
95 bool compute_now=
true);
106 Prober(Teuchos::RCP<const Epetra_CrsMatrix> input_matrix,
107 const Teuchos::ParameterList & paramlist,
108 bool compute_now=
true);
120 Prober(
const Epetra_CrsMatrix * input_matrix,
121 const Teuchos::ParameterList & paramlist,
122 bool compute_now=
true);
137 void setList(
const Teuchos::ParameterList& paramlist);
159 int probe(
const Epetra_Operator & op, Epetra_CrsMatrix & out_matrix);
166 Teuchos::RCP<Epetra_CrsMatrix>
probe(
const Epetra_Operator & op);
Teuchos::RCP< const Epetra_CrsGraph > input_graph_
Definition: Isorropia_EpetraProber.hpp:169
void color()
Compute the coloring.
Teuchos::ParameterList List_
Definition: Isorropia_EpetraProber.hpp:171
An implementation of the Prober interface that operates on Epetra matrices and linear systems...
Definition: Isorropia_EpetraProber.hpp:67
int getNumOrthogonalVectors()
Get the number of orthogonal vectors (or the number of colors from coloring)
void setGraph(Teuchos::RCP< const Epetra_CrsGraph > input_graph)
Sets the graph.
Definition: Isorropia_EpetraProber.hpp:140
int probe(const Epetra_Operator &op, Epetra_CrsMatrix &out_matrix)
Perform the actual probing.
Prober()
Default Constructor.
Colorer * colorer_
Definition: Isorropia_EpetraProber.hpp:170
bool has_colored
Definition: Isorropia_EpetraProber.hpp:172
~Prober()
Destructor.
Definition: Isorropia_EpetraProber.hpp:133
void setList(const Teuchos::ParameterList ¶mlist)
Sets the parameter list.
An implementation of the Colorer interface that operates on Epetra matrices and linear systems...
Definition: Isorropia_EpetraColorer.hpp:76