#include <Isorropia_EpetraProber.hpp>
Collaboration diagram for Isorropia::Epetra::Prober:

Public Member Functions | |
| 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 () | |
| Default Constructor. | |
| ~Prober () | |
| Destructor. | |
| void | setList (const Teuchos::ParameterList ¶mlist) |
| Sets the parameter list. | |
| void | setGraph (Teuchos::RCP< const Epetra_CrsGraph > input_graph) |
| Sets the graph. | |
| void | color () |
| Compute the coloring. | |
| int | probe (const Epetra_Operator &op, Epetra_CrsMatrix &out_matrix) |
| Perform the actual probing. | |
| Teuchos::RCP< Epetra_CrsMatrix > | probe (const Epetra_Operator &op) |
| Perform the actual probing. | |
Private Attributes | |
| Teuchos::RCP< const Epetra_CrsGraph > | input_graph_ |
| Colorer * | colorer_ |
| Teuchos::ParameterList | List_ |
| bool | has_colored |
The Prober currently works only on structurally symmetric problems. Support for structually non-symmetric problems is under development.
| Isorropia::Epetra::Prober::Prober | ( | Teuchos::RCP< const Epetra_CrsGraph > | input_graph, | |
| const Teuchos::ParameterList & | paramlist, | |||
| bool | compute_now = true | |||
| ) |
Constructor.
| [in] | input_graph | the graph whose sparsity pattern is to guide the probing. |
| [in] | paramlist | this parameter list may be used to pass parameters to the colorer. |
| [in] | compute_now | if true, the coloring is computed in the constructor, otherwise call Isorropia::Epetra::Prober::color when you want to compute the coloring, defaults to false |
| Isorropia::Epetra::Prober::Prober | ( | Teuchos::RCP< const Epetra_CrsMatrix > | input_matrix, | |
| const Teuchos::ParameterList & | paramlist, | |||
| bool | compute_now = true | |||
| ) |
Constructor.
| [in] | input_matrix | the matrix whose sparsity pattern is to guide the probing. |
| [in] | paramlist | this parameter list may be used to pass parameters to the colorer. |
| [in] | compute_now | if true, the coloring is computed in the constructor, otherwise call Isorropia::Epetra::Prober::color when you want to compute the coloring, defaults to true |
| Isorropia::Epetra::Prober::Prober | ( | ) |
Default Constructor.
| Isorropia::Epetra::Prober::~Prober | ( | ) | [inline] |
Destructor.
| void Isorropia::Epetra::Prober::setList | ( | const Teuchos::ParameterList & | paramlist | ) |
Sets the parameter list.
| void Isorropia::Epetra::Prober::setGraph | ( | Teuchos::RCP< const Epetra_CrsGraph > | input_graph | ) | [inline] |
Sets the graph.
| void Isorropia::Epetra::Prober::color | ( | ) |
Compute the coloring.
| int Isorropia::Epetra::Prober::probe | ( | const Epetra_Operator & | op, | |
| Epetra_CrsMatrix & | out_matrix | |||
| ) |
Perform the actual probing.
| [in] | op | is the operator we are probing |
| in/out] | out_matrix is the matrix |
| Teuchos::RCP<Epetra_CrsMatrix> Isorropia::Epetra::Prober::probe | ( | const Epetra_Operator & | op | ) |
Perform the actual probing.
| [in] | op | is the operator we are probing |
| [out] | return | value is a RCP to the matrix |
Teuchos::RCP<const Epetra_CrsGraph> Isorropia::Epetra::Prober::input_graph_ [private] |
Colorer* Isorropia::Epetra::Prober::colorer_ [private] |
Teuchos::ParameterList Isorropia::Epetra::Prober::List_ [private] |
bool Isorropia::Epetra::Prober::has_colored [private] |