10#ifndef MUELU_REPARTITIONFACTORY_DECL_HPP
11#define MUELU_REPARTITIONFACTORY_DECL_HPP
18#include <Xpetra_Map_fwd.hpp>
19#include <Xpetra_MapFactory_fwd.hpp>
20#include <Xpetra_Import_fwd.hpp>
21#include <Xpetra_ImportFactory_fwd.hpp>
22#include <Xpetra_Export_fwd.hpp>
23#include <Xpetra_ExportFactory_fwd.hpp>
24#include <Xpetra_Vector_fwd.hpp>
25#include <Xpetra_Matrix_fwd.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
MueLu::DefaultLocalOrdinal LocalOrdinal
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Class that holds all level-specific information.
Factory for building permutation matrix that can be be used to shuffle data (matrices,...
virtual ~RepartitionFactory()
Destructor.
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.
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).
Namespace for MueLu classes and methods.
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar