|
Isorropia: Partitioning, Load Balancing and more
|
#include <Isorropia_ConfigDefs.hpp>#include <vector>#include <Epetra_CrsGraph.h>#include <Epetra_CrsMatrix.h>#include <Epetra_Vector.h>#include <Epetra_LinearProblem.h>#include <Isorropia_EpetraCostDescriber.hpp>
Go to the source code of this file.
Namespaces | |
| namespace | ispatest |
ispatest is the namespace that contains isorropia's test-utilities. | |
Functions | |
| int | ispatest::compute_balance (const Epetra_Vector &wgts, double myGoalWeight, double &min, double &max, double &avg) |
| Given an Epetra_Vector of weights, compute the weight imbalance on each process. | |
| int | ispatest::compute_hypergraph_metrics (const Epetra_CrsGraph &graph, Isorropia::Epetra::CostDescriber &costs, double &myGoalWeight, double &balance, double &cutn, double &cutl) |
| Compute Zoltan-style hypergraph metrics given a partitioned CrsGraph and a CostDescriber (weight) object. | |
| int | ispatest::compute_hypergraph_metrics (const Epetra_RowMatrix &matrix, Isorropia::Epetra::CostDescriber &costs, double &myGoalWeight, double &balance, double &cutn, double &cutl) |
| Compute Zoltan-style hypergraph metrics given a partitioned RowMatrix and a CostDescriber (weight) object. | |
| int | ispatest::compute_graph_metrics (const Epetra_RowMatrix &matrix, Isorropia::Epetra::CostDescriber &costs, double &myGoalWeight, double &balance, int &numCuts, double &cutWgt, double &cutn, double &cutl) |
| Compute graph metrics given an Epetra_RowMatrix. | |
| int | ispatest::compute_graph_metrics (const Epetra_CrsGraph &graph, Isorropia::Epetra::CostDescriber &costs, double &myGoalWeight, double &balance, int &numCuts, double &cutWgt, double &cutn, double &cutl) |
| Compute graph metrics given an Epetra_CrsGraph. | |
| void | ispatest::show_matrix (const char *txt, const Epetra_RowMatrix &matrix, const Epetra_Comm &comm) |
| Print out a distributed RowMatrix. | |
| void | ispatest::show_matrix (const char *txt, const Epetra_CrsGraph &graph, const Epetra_Comm &comm) |
| Print out a distributed CrsGraph. | |
| void | ispatest::show_matrix (const char *txt, const Epetra_LinearProblem &problem, const Epetra_Comm &comm) |
| Print out a distributed LinearProblem. | |