46#ifndef MUELU_ZOLTANINTERFACE_DECL_HPP
47#define MUELU_ZOLTANINTERFACE_DECL_HPP
51#if defined(HAVE_MUELU_ZOLTAN) && defined(HAVE_MPI)
53#include <zoltan_cpp.h>
55#include <Xpetra_Matrix.hpp>
56#include <Xpetra_MultiVectorFactory.hpp>
57#include <Xpetra_VectorFactory.hpp>
116#undef MUELU_ZOLTANINTERFACE_SHORT
165 ZOLTAN_ID_PTR lids,
int wgtDim,
float *weights,
int *ierr);
183 static void GetProblemGeometry(
void *data,
int numGIDEntries,
int numLIDEntries,
int numObjectIDs,
184 ZOLTAN_ID_PTR gids, ZOLTAN_ID_PTR lids,
int dim,
double *coordinates,
int *ierr);
190 static ArrayRCP<typename Teuchos::ScalarTraits<Scalar>::magnitudeType>
coalesceCoordinates(ArrayRCP<
typename Teuchos::ScalarTraits<Scalar>::magnitudeType> coord,
LocalOrdinal blksize);
196#define MUELU_ZOLTANINTERFACE_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 Zoltan library.
static void GetLocalNumberOfNonzeros(void *data, int NumGidEntries, int NumLidEntries, ZOLTAN_ID_PTR gids, ZOLTAN_ID_PTR lids, int wgtDim, float *weights, int *ierr)
static int GetLocalNumberOfRows(void *data, int *ierr)
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
virtual ~ZoltanInterface()
Destructor.
static ArrayRCP< typename Teuchos::ScalarTraits< Scalar >::magnitudeType > coalesceCoordinates(ArrayRCP< typename Teuchos::ScalarTraits< Scalar >::magnitudeType > coord, LocalOrdinal blksize)
ZoltanInterface()
Constructor.
void Build(Level &level) const
Build an object with this factory.
void DeclareInput(Level &level) const
Specifies the data that this class needs, and the factories that generate that data.
static void GetProblemGeometry(void *data, int numGIDEntries, int numLIDEntries, int numObjectIDs, ZOLTAN_ID_PTR gids, ZOLTAN_ID_PTR lids, int dim, double *coordinates, int *ierr)
static int GetProblemDimension(void *data, int *ierr)
Namespace for MueLu classes and methods.
KokkosClassic::DefaultNode::DefaultNodeType DefaultNode