10#ifndef MUELU_ZOLTAN2INTERFACE_DECL_HPP
11#define MUELU_ZOLTAN2INTERFACE_DECL_HPP
15#if defined(HAVE_MUELU_ZOLTAN2) && defined(HAVE_MPI)
17#include <Xpetra_Matrix_fwd.hpp>
18#include <Xpetra_VectorFactory_fwd.hpp>
26#if defined(HAVE_MUELU_ZOLTAN)
27#include "MueLu_ZoltanInterface.hpp"
80#undef MUELU_ZOLTAN2INTERFACE_SHORT
117#undef MUELU_ZOLTAN2INTERFACE_SHORT
120 using real_type =
typename Teuchos::ScalarTraits<SC>::coordinateType;
124 ComputeDecomposition(
int numPartitions, RCP<Matrix>& A, RCP<RealValuedMultiVector> coords, Teuchos::ParameterList& Zoltan2Params, std::string debuggingFile =
"");
129#define MUELU_ZOLTAN2INTERFACE_SHORT
MueLu::DefaultLocalOrdinal LocalOrdinal
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Class that holds all level-specific information.
Base class for factories that use one level (currentLevel).
Interface to Zoltan2 library.
void DeclareInput(Level ¤tLevel) const
Specifies the data that this class needs, and the factories that generate that data.
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
Zoltan2Interface()
Constructor.
void Build(Level ¤tLevel) const
Build an object with this factory.
virtual ~Zoltan2Interface()
Destructor.
RCP< ParameterList > defaultZoltan2Params
Namespace for MueLu classes and methods.
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
typename Teuchos::ScalarTraits< SC >::coordinateType real_type
typename Xpetra::MultiVector< real_type, LO, GO, NO > RealValuedMultiVector
static RCP< GOVector > ComputeDecomposition(int numPartitions, RCP< Matrix > &A, RCP< RealValuedMultiVector > coords, Teuchos::ParameterList &Zoltan2Params, std::string debuggingFile="")