10 #ifndef IFPACK2_ZOLTAN2PARTITIONER_DECL_HPP
11 #define IFPACK2_ZOLTAN2PARTITIONER_DECL_HPP
13 #if defined(HAVE_IFPACK2_ZOLTAN2)
14 #include "Ifpack2_ConfigDefs.hpp"
15 #include "Ifpack2_OverlappingPartitioner_decl.hpp"
17 #include "Zoltan2_PartitioningProblem.hpp"
18 #include "Zoltan2_TpetraRowGraphAdapter.hpp"
30 template<
class GraphType>
31 class Zoltan2Partitioner :
public OverlappingPartitioner<GraphType> {
33 typedef typename GraphType::local_ordinal_type local_ordinal_type;
34 typedef typename GraphType::global_ordinal_type global_ordinal_type;
35 typedef typename GraphType::node_type node_type;
36 typedef Tpetra::RowGraph<local_ordinal_type, global_ordinal_type, node_type>
38 typedef Zoltan2::TpetraRowGraphAdapter<row_graph_type>
39 Zoltan2GraphAdapterType;
45 virtual ~Zoltan2Partitioner ();
51 void computePartitions ();
54 std::string zoltan2AlgoName_;
59 #endif // HAVE_IFPACK2_ZOLTAN2
60 #endif // IFPACK2_ZOLTAN2PARTITIONER_DECL_HPP