40 #ifndef _Isorropia_Zoltan_Repartition_hpp_
41 #define _Isorropia_Zoltan_Repartition_hpp_
45 #ifdef HAVE_ISORROPIA_ZOLTAN
47 #include <Teuchos_RefCountPtr.hpp>
48 #include <Teuchos_ParameterList.hpp>
58 class Epetra_CrsGraph;
59 class Epetra_RowMatrix;
94 repartition(Teuchos::RefCountPtr<const Epetra_CrsGraph> input_graph,
95 Teuchos::RefCountPtr<const Isorropia::Epetra::CostDescriber> costs,
96 Teuchos::ParameterList& paramlist,
97 std::vector<int>& myNewElements,
98 std::map<int,int>& exports,
99 std::map<int,int>& imports);
117 repartition(Teuchos::RefCountPtr<const Epetra_RowMatrix> input_matrix,
118 Teuchos::RefCountPtr<const Isorropia::Epetra::CostDescriber> costs,
119 Teuchos::ParameterList& paramlist,
120 std::vector<int>& myNewElements,
121 std::map<int,int>& exports,
122 std::map<int,int>& imports);
141 load_balance(MPI_Comm &comm,
142 Teuchos::ParameterList& paramlist,
143 QueryObject & queryObject,
144 std::vector<int>& myNewElements,
145 std::map<int,int>& exports,
146 std::map<int,int>& imports);