43 #ifndef IFPACK2_LINEARPARTITIONER_DECL_HPP 44 #define IFPACK2_LINEARPARTITIONER_DECL_HPP 45 #include "Ifpack2_ConfigDefs.hpp" 46 #include "Ifpack2_OverlappingPartitioner_decl.hpp" 48 #include "Teuchos_ParameterList.hpp" 53 template<
class GraphType>
57 typedef typename GraphType::local_ordinal_type LocalOrdinal;
58 typedef typename GraphType::global_ordinal_type GlobalOrdinal;
59 typedef typename GraphType::node_type Node;
62 LinearPartitioner(
const Teuchos::RCP<
const Tpetra::RowGraph<LocalOrdinal,GlobalOrdinal,Node> >& Graph);
76 #endif // IFPACK2_LINEARPARTITIONER_DECL_HPP void computePartitions()
Computes the partitions. Returns 0 if successful.
virtual ~LinearPartitioner()
Destructor.
Definition: Ifpack2_LinearPartitioner_def.hpp:60
LinearPartitioner(const Teuchos::RCP< const Tpetra::RowGraph< LocalOrdinal, GlobalOrdinal, Node > > &Graph)
Constructor.
Definition: Ifpack2_LinearPartitioner_def.hpp:53
void setPartitionParameters(Teuchos::ParameterList &List)
Sets all the parameters for the partitioner (none for linear partioning).
Definition: Ifpack2_LinearPartitioner_def.hpp:67
Ifpack2::Container: a pure virtual class for creating and solving local linear problems.
Definition: Ifpack2_AdditiveSchwarz_decl.hpp:67
Ifpack2::LinearPartitioner: A class to define linear partitions.
Definition: Ifpack2_LinearPartitioner_decl.hpp:54