43 #ifndef IFPACK2_USER_PARTITIONER_DECL_HPP
44 #define IFPACK2_USER_PARTITIONER_DECL_HPP
55 #include "Ifpack2_ConfigDefs.hpp"
56 #include "Ifpack2_OverlappingPartitioner_decl.hpp"
68 template<
class GraphType>
71 typedef typename GraphType::local_ordinal_type local_ordinal_type;
72 typedef typename GraphType::global_ordinal_type global_ordinal_type;
73 typedef typename GraphType::node_type node_type;
74 typedef Tpetra::RowGraph<local_ordinal_type, global_ordinal_type, node_type>
102 bool userProvidedParts_;
104 bool userProvidedMap_;
110 #endif // IFPACK2_USER_PARTITIONER_DECL_HPP
UserPartitioner(const Teuchos::RCP< const row_graph_type > &graph)
Constructor.
Definition: Ifpack2_Details_UserPartitioner_def.hpp:55
void computePartitions()
Compute the partitions.
Definition: Ifpack2_Details_UserPartitioner_def.hpp:93
Partition in which the user can define a nonoverlapping partition of the graph in any way they choose...
Definition: Ifpack2_Details_UserPartitioner_decl.hpp:69
virtual ~UserPartitioner()
Destructor.
Definition: Ifpack2_Details_UserPartitioner_def.hpp:62
Create overlapping partitions of a local graph.
Definition: Ifpack2_OverlappingPartitioner_decl.hpp:78
void setPartitionParameters(Teuchos::ParameterList &List)
Sets all the parameters for the partitioner. The only valid parameters are:
Definition: Ifpack2_Details_UserPartitioner_def.hpp:67