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>
52class Epetra_MultiVector;
53class Epetra_CrsMatrix;
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);
An implementation of the Colorer interface that operates on Epetra matrices and linear systems.
Definition: Isorropia_EpetraColorer.hpp:76
An implementation of the Prober interface that operates on Epetra matrices and linear systems.
Definition: Isorropia_EpetraProber.hpp:67
Prober()
Default Constructor.
void setGraph(Teuchos::RCP< const Epetra_CrsGraph > input_graph)
Sets the graph.
Definition: Isorropia_EpetraProber.hpp:140
Teuchos::ParameterList List_
Definition: Isorropia_EpetraProber.hpp:171
void setList(const Teuchos::ParameterList ¶mlist)
Sets the parameter list.
bool has_colored
Definition: Isorropia_EpetraProber.hpp:172
~Prober()
Destructor.
Definition: Isorropia_EpetraProber.hpp:133
Colorer * colorer_
Definition: Isorropia_EpetraProber.hpp:170
Teuchos::RCP< const Epetra_CrsGraph > input_graph_
Definition: Isorropia_EpetraProber.hpp:169
void color()
Compute the coloring.
Teuchos::RCP< Epetra_CrsMatrix > probe(const Epetra_Operator &op)
Perform the actual probing.
Prober(const Epetra_CrsGraph *input_graph, const Teuchos::ParameterList ¶mlist, bool compute_now=true)
Constructor.
int probe(const Epetra_Operator &op, Epetra_CrsMatrix &out_matrix)
<> Perform the actual probing.
int getNumOrthogonalVectors()
Get the number of orthogonal vectors (or the number of colors from coloring)
Prober(Teuchos::RCP< const Epetra_CrsGraph > input_graph, const Teuchos::ParameterList ¶mlist, bool compute_now=true)
Constructor.
Prober(Teuchos::RCP< const Epetra_CrsMatrix > input_matrix, const Teuchos::ParameterList ¶mlist, bool compute_now=true)
Constructor.
Prober(const Epetra_CrsMatrix *input_matrix, const Teuchos::ParameterList ¶mlist, bool compute_now=true)
Constructor.
Isorropia is the namespace that contains general definitions that apply to all partitioners and that ...
Definition: Isorropia_Epetra.hpp:60