10 #ifndef IFPACK2_USER_PARTITIONER_DECL_HPP
11 #define IFPACK2_USER_PARTITIONER_DECL_HPP
22 #include "Ifpack2_ConfigDefs.hpp"
23 #include "Ifpack2_OverlappingPartitioner_decl.hpp"
35 template<
class GraphType>
38 typedef typename GraphType::local_ordinal_type local_ordinal_type;
39 typedef typename GraphType::global_ordinal_type global_ordinal_type;
40 typedef typename GraphType::node_type node_type;
41 typedef Tpetra::RowGraph<local_ordinal_type, global_ordinal_type, node_type>
73 bool userProvidedParts_;
75 bool userProvidedMap_;
81 #endif // IFPACK2_USER_PARTITIONER_DECL_HPP
UserPartitioner(const Teuchos::RCP< const row_graph_type > &graph)
Constructor.
Definition: Ifpack2_Details_UserPartitioner_def.hpp:22
void computePartitions()
Compute the partitions.
Definition: Ifpack2_Details_UserPartitioner_def.hpp:92
Partition in which the user can define a nonoverlapping partition of the graph in any way they choose...
Definition: Ifpack2_Details_UserPartitioner_decl.hpp:36
virtual ~UserPartitioner()
Destructor.
Definition: Ifpack2_Details_UserPartitioner_def.hpp:29
Create overlapping partitions of a local graph.
Definition: Ifpack2_OverlappingPartitioner_decl.hpp:45
void setPartitionParameters(Teuchos::ParameterList &List)
Sets all the parameters for the partitioner. The only valid parameters are:
Definition: Ifpack2_Details_UserPartitioner_def.hpp:34