Go to the documentation of this file.
46 #ifndef MUELU_REPARTITIONFACTORY_DECL_HPP
47 #define MUELU_REPARTITIONFACTORY_DECL_HPP
54 #include <Xpetra_Map_fwd.hpp>
55 #include <Xpetra_MapFactory_fwd.hpp>
56 #include <Xpetra_Import_fwd.hpp>
57 #include <Xpetra_ImportFactory_fwd.hpp>
58 #include <Xpetra_Export_fwd.hpp>
59 #include <Xpetra_ExportFactory_fwd.hpp>
60 #include <Xpetra_Vector_fwd.hpp>
61 #include <Xpetra_Matrix_fwd.hpp>
62 #include <Xpetra_MatrixFactory_fwd.hpp>
111 template <
class Scalar =
double,
class LocalOrdinal =
int,
class GlobalOrdinal = LocalOrdinal,
class Node = KokkosClassic::DefaultNode::DefaultNodeType>
113 #undef MUELU_REPARTITIONFACTORY_SHORT
165 #define MUELU_REPARTITIONFACTORY_SHORT
167 #endif //ifdef HAVE_MPI
168 #endif // MUELU_REPARTITIONFACTORY_DECL_HPP
void DeterminePartitionPlacement(const Matrix &A, GOVector &decomposition, GO numPartitions) const
Determine which process should own each partition.
Namespace for MueLu classes and methods.
Factory for building permutation matrix that can be be used to shuffle data (matrices,...
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).
RepartitionFactory()
Constructor.
void DeclareInput(Level ¤tLevel) const
Determines the data that RepartitionFactory needs, and the factories that generate that data.
Class that holds all level-specific information.
void Build(Level ¤tLevel) const
Build an object with this factory.