10 #ifndef MUELU_REPARTITIONFACTORY_DECL_HPP
11 #define MUELU_REPARTITIONFACTORY_DECL_HPP
80 #undef MUELU_REPARTITIONFACTORY_SHORT
128 void DeterminePartitionPlacement(
const Matrix& A, GOVector& decomposition,
GO numPartitions,
bool willAcceptPartition =
true,
bool allSubdomainsAcceptPartitions =
true)
const;
134 #define MUELU_REPARTITIONFACTORY_SHORT
136 #endif // ifdef HAVE_MPI
137 #endif // MUELU_REPARTITIONFACTORY_DECL_HPP
void Build(Level ¤tLevel) const
Build an object with this factory.
MueLu::DefaultLocalOrdinal LocalOrdinal
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
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.
MueLu::DefaultScalar Scalar
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
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.
virtual ~RepartitionFactory()
Destructor.
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).