43 #ifndef IFPACK2_ZOLTAN2PARTITIONER_DECL_HPP
44 #define IFPACK2_ZOLTAN2PARTITIONER_DECL_HPP
46 #if defined(HAVE_IFPACK2_ZOLTAN2)
47 #include "Ifpack2_ConfigDefs.hpp"
48 #include "Ifpack2_OverlappingPartitioner_decl.hpp"
50 #include "Zoltan2_PartitioningProblem.hpp"
51 #include "Zoltan2_TpetraRowGraphAdapter.hpp"
63 template<
class GraphType>
64 class Zoltan2Partitioner :
public OverlappingPartitioner<GraphType> {
66 typedef typename GraphType::local_ordinal_type local_ordinal_type;
67 typedef typename GraphType::global_ordinal_type global_ordinal_type;
68 typedef typename GraphType::node_type node_type;
69 typedef Tpetra::RowGraph<local_ordinal_type, global_ordinal_type, node_type>
71 typedef Zoltan2::TpetraRowGraphAdapter<row_graph_type>
72 Zoltan2GraphAdapterType;
78 virtual ~Zoltan2Partitioner ();
84 void computePartitions ();
87 std::string zoltan2AlgoName_;
92 #endif // HAVE_IFPACK2_ZOLTAN2
93 #endif // IFPACK2_ZOLTAN2PARTITIONER_DECL_HPP