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"
30template <
class GraphType>
31class 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;
42 Zoltan2Partitioner(
const Teuchos::RCP<const row_graph_type>& graph);
45 virtual ~Zoltan2Partitioner();
48 void setPartitionParameters(Teuchos::ParameterList& List);
51 void computePartitions();
54 std::string zoltan2AlgoName_;
Preconditioners and smoothers for Tpetra sparse matrices.
Definition Ifpack2_AdditiveSchwarz_decl.hpp:40