46 #ifndef MUELU_REPARTITIONFACTORY_DECL_HPP
47 #define MUELU_REPARTITIONFACTORY_DECL_HPP
112 template <
class Scalar =
double,
class LocalOrdinal =
int,
class GlobalOrdinal = LocalOrdinal,
class Node = KokkosClassic::DefaultNode::DefaultNodeType>
114 #undef MUELU_REPARTITIONFACTORY_SHORT
162 void DeterminePartitionPlacement(
const Matrix& A, GOVector& decomposition,
GO numPartitions,
bool willAcceptPartition=
true,
bool allSubdomainsAcceptPartitions=
true)
const;
168 #define MUELU_REPARTITIONFACTORY_SHORT
170 #endif //ifdef HAVE_MPI
171 #endif // MUELU_REPARTITIONFACTORY_DECL_HPP
void Build(Level ¤tLevel) const
Build an object with this factory.
void DeterminePartitionPlacement(const Matrix &A, GOVector &decomposition, GO numPartitions, bool willAcceptPartition=true, bool allSubdomainsAcceptPartitions=true) const
Determine which process should own each partition.
Factory for building permutation matrix that can be be used to shuffle data (matrices, vectors) among processes.
Class that holds all level-specific information.
void DeclareInput(Level ¤tLevel) const
Determines the data that RepartitionFactory needs, and the factories that generate that data...
RepartitionFactory()
Constructor.
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
Base class for factories that use one level (currentLevel).
virtual ~RepartitionFactory()
Destructor.