Isorropia: Partitioning, Load Balancing and more
Namespaces | Functions
ispatest_lbeval_utils.hpp File Reference
#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>
Include dependency graph for ispatest_lbeval_utils.hpp:

Go to the source code of this file.

Namespaces

 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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
void ispatest::show_matrix (const char *txt, const Epetra_RowMatrix &matrix, const Epetra_Comm &comm)
 Print out a distributed RowMatrix. More...
 
void ispatest::show_matrix (const char *txt, const Epetra_CrsGraph &graph, const Epetra_Comm &comm)
 Print out a distributed CrsGraph. More...
 
void ispatest::show_matrix (const char *txt, const Epetra_LinearProblem &problem, const Epetra_Comm &comm)
 Print out a distributed LinearProblem. More...