10 #ifndef IFPACK2_LINEPARTITIONER_DECL_HPP
11 #define IFPACK2_LINEPARTITIONER_DECL_HPP
13 #include "Ifpack2_ConfigDefs.hpp"
14 #include "Ifpack2_OverlappingPartitioner.hpp"
16 #include "Tpetra_MultiVector.hpp"
44 template<
class GraphType,
class Scalar>
47 typedef typename GraphType::local_ordinal_type local_ordinal_type;
48 typedef typename GraphType::global_ordinal_type global_ordinal_type;
49 typedef typename GraphType::node_type node_type;
50 typedef Tpetra::RowGraph<local_ordinal_type, global_ordinal_type, node_type> row_graph_type;
52 typedef Tpetra::MultiVector<magnitude_type,local_ordinal_type, global_ordinal_type, node_type> multivector_type;
54 typedef typename row_graph_type::nonconst_global_inds_host_view_type nonconst_global_inds_host_view_type;
55 typedef typename row_graph_type::nonconst_local_inds_host_view_type nonconst_local_inds_host_view_type;
85 #endif // IFPACK2_LINEPARTITIONER_DECL_HPP
LinePartitioner(const Teuchos::RCP< const row_graph_type > &graph)
Constructor.
Definition: Ifpack2_LinePartitioner_def.hpp:27
void computePartitions()
Compute the partitions.
Definition: Ifpack2_LinePartitioner_def.hpp:53
virtual ~LinePartitioner()
Destructor.
Definition: Ifpack2_LinePartitioner_def.hpp:33
Create overlapping partitions of a local graph.
Definition: Ifpack2_OverlappingPartitioner_decl.hpp:45
void setPartitionParameters(Teuchos::ParameterList &List)
Set the partitioner's parameters (none for linear partitioning).
Definition: Ifpack2_LinePartitioner_def.hpp:39
Ifpack2::LinePartitioner: A class to define partitions into a set of lines.
Definition: Ifpack2_LinePartitioner_decl.hpp:45