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"
35template <
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>
71 Teuchos::ArrayRCP<local_ordinal_type> map_;
73 bool userProvidedParts_;
75 bool userProvidedMap_;
Ifpack2's implementation of Trilinos::Details::LinearSolver interface.
Definition Ifpack2_Details_LinearSolver_decl.hpp:75
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:28
void computePartitions()
Compute the partitions.
Definition Ifpack2_Details_UserPartitioner_def.hpp:92
void setPartitionParameters(Teuchos::ParameterList &List)
Sets all the parameters for the partitioner. The only valid parameters are:
Definition Ifpack2_Details_UserPartitioner_def.hpp:32
Create overlapping partitions of a local graph.
Definition Ifpack2_OverlappingPartitioner_decl.hpp:45
Ifpack2 implementation details.
Preconditioners and smoothers for Tpetra sparse matrices.
Definition Ifpack2_AdditiveSchwarz_decl.hpp:40