43#ifndef IFPACK2_LINEPARTITIONER_DECL_HPP
44#define IFPACK2_LINEPARTITIONER_DECL_HPP
46#include "Ifpack2_ConfigDefs.hpp"
47#include "Ifpack2_OverlappingPartitioner.hpp"
48#include "Teuchos_ScalarTraits.hpp"
49#include "Tpetra_MultiVector.hpp"
77 template<
class GraphType,
class Scalar>
80 typedef typename GraphType::local_ordinal_type local_ordinal_type;
81 typedef typename GraphType::global_ordinal_type global_ordinal_type;
82 typedef typename GraphType::node_type node_type;
83 typedef Tpetra::RowGraph<local_ordinal_type, global_ordinal_type, node_type> row_graph_type;
84 typedef typename Teuchos::ScalarTraits<Scalar>::magnitudeType magnitude_type;
85 typedef Tpetra::MultiVector<magnitude_type,local_ordinal_type, global_ordinal_type, node_type> multivector_type;
87 typedef typename row_graph_type::nonconst_global_inds_host_view_type nonconst_global_inds_host_view_type;
88 typedef typename row_graph_type::nonconst_local_inds_host_view_type nonconst_local_inds_host_view_type;
104 int Compute_Blocks_AutoLine(Teuchos::ArrayView<local_ordinal_type> blockIndices)
const;
105 void local_automatic_line_search(
int NumEqns, Teuchos::ArrayView <local_ordinal_type> blockIndices, local_ordinal_type last, local_ordinal_type next, local_ordinal_type LineID,
double tol, Teuchos::Array<local_ordinal_type> itemp, Teuchos::Array<magnitude_type> dtemp)
const;
111 Teuchos::RCP<multivector_type> coord_;
Ifpack2::LinePartitioner: A class to define partitions into a set of lines.
Definition: Ifpack2_LinePartitioner_decl.hpp:78
void setPartitionParameters(Teuchos::ParameterList &List)
Set the partitioner's parameters (none for linear partitioning).
Definition: Ifpack2_LinePartitioner_def.hpp:72
virtual ~LinePartitioner()
Destructor.
Definition: Ifpack2_LinePartitioner_def.hpp:66
void computePartitions()
Compute the partitions.
Definition: Ifpack2_LinePartitioner_def.hpp:86
Create overlapping partitions of a local graph.
Definition: Ifpack2_OverlappingPartitioner_decl.hpp:78
Preconditioners and smoothers for Tpetra sparse matrices.
Definition: Ifpack2_AdditiveSchwarz_decl.hpp:74