10 #ifndef MUELU_ZOLTANINTERFACE_DECL_HPP
11 #define MUELU_ZOLTANINTERFACE_DECL_HPP
15 #if defined(HAVE_MUELU_ZOLTAN) && defined(HAVE_MPI)
17 #include <zoltan_cpp.h>
78 #undef MUELU_ZOLTANINTERFACE_SHORT
126 ZOLTAN_ID_PTR lids,
int wgtDim,
float *weights,
int *ierr);
143 static void GetProblemGeometry(
void *data,
int numGIDEntries,
int numLIDEntries,
int numObjectIDs,
144 ZOLTAN_ID_PTR gids, ZOLTAN_ID_PTR lids,
int dim,
double *coordinates,
int *ierr);
155 #define MUELU_ZOLTANINTERFACE_SHORT
156 #endif // if defined(HAVE_MUELU_ZOLTAN) && defined(HAVE_MPI)
158 #endif // MUELU_ZOLTANINTERFACE_DECL_HPP
MueLu::DefaultLocalOrdinal LocalOrdinal
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
static ArrayRCP< typename Teuchos::ScalarTraits< Scalar >::magnitudeType > coalesceCoordinates(ArrayRCP< typename Teuchos::ScalarTraits< Scalar >::magnitudeType > coord, LocalOrdinal blksize)
static int GetProblemDimension(void *data, int *ierr)
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)
Interface to Zoltan library.This interface provides access to partitioning methods in Zoltan...
void Build(Level &level) const
Build an object with this factory.
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Class that holds all level-specific information.
virtual ~ZoltanInterface()
Destructor.
static void GetLocalNumberOfNonzeros(void *data, int NumGidEntries, int NumLidEntries, ZOLTAN_ID_PTR gids, ZOLTAN_ID_PTR lids, int wgtDim, float *weights, int *ierr)
void DeclareInput(Level &level) 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.
ZoltanInterface()
Constructor.
Base class for factories that use one level (currentLevel).
static int GetLocalNumberOfRows(void *data, int *ierr)