|
Isorropia: Partitioning, Load Balancing and more
|
Go to the documentation of this file.
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);
~Prober()
Destructor.
Definition: Isorropia_EpetraProber.hpp:133
Prober(Teuchos::RCP< 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
int probe(const Epetra_Operator &op, Epetra_CrsMatrix &out_matrix)
Perform the actual probing.
void color()
Compute the coloring.
Teuchos::RCP< const Epetra_CrsGraph > input_graph_
Definition: Isorropia_EpetraProber.hpp:169
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
void setGraph(Teuchos::RCP< const Epetra_CrsGraph > input_graph)
Sets the graph.
Definition: Isorropia_EpetraProber.hpp:140
Prober(const Epetra_CrsGraph *input_graph, const Teuchos::ParameterList ¶mlist, bool compute_now=true)
Constructor.
Prober(Teuchos::RCP< const Epetra_CrsGraph > input_graph, const Teuchos::ParameterList ¶mlist, bool compute_now=true)
Constructor.
Teuchos::RCP< Epetra_CrsMatrix > probe(const Epetra_Operator &op)
Perform the actual probing.
Prober()
Default Constructor.
int getNumOrthogonalVectors()
Get the number of orthogonal vectors (or the number of colors from coloring)
An implementation of the Prober interface that operates on Epetra matrices and linear systems.
Definition: Isorropia_EpetraProber.hpp:67
Colorer * colorer_
Definition: Isorropia_EpetraProber.hpp:170
An implementation of the Colorer interface that operates on Epetra matrices and linear systems.
Definition: Isorropia_EpetraColorer.hpp:76
Prober(const Epetra_CrsMatrix *input_matrix, const Teuchos::ParameterList ¶mlist, bool compute_now=true)
Constructor.