Zoltan2
|
#include <Zoltan2_TestHelpers.hpp>
#include <Zoltan2_XpetraCrsMatrixAdapter.hpp>
#include <Zoltan2_XpetraMultiVectorAdapter.hpp>
#include <Zoltan2_PartitioningSolution.hpp>
#include <Zoltan2_PartitioningProblem.hpp>
#include <Tpetra_MultiVector.hpp>
#include <zoltan.h>
Go to the source code of this file.
Macros | |
#define | NUMTESTS 30 |
#define | SET_ZID(n, a, b) |
Typedefs | |
typedef Tpetra::CrsGraph < zlno_t, zgno_t, znode_t > | tGraph_t |
typedef Tpetra::CrsMatrix < zscalar_t, zlno_t, zgno_t, znode_t > | tMatrix_t |
typedef Tpetra::MultiVector < zscalar_t, zlno_t, zgno_t, znode_t > | tMVector_t |
typedef Zoltan2::XpetraMultiVectorAdapter < tMVector_t > | vectorAdapter_t |
typedef Zoltan2::XpetraCrsMatrixAdapter < tMatrix_t, tMVector_t > | matrixAdapter_t |
typedef Zoltan2::EvaluatePartition < matrixAdapter_t > | quality_t |
Enumerations | |
enum | testFields { TESTNAMEOFFSET = 0, TESTMETHODOFFSET, TESTOBJWGTOFFSET, TESTNUMPROCS, TESTNUMARGS } |
Functions | |
static int | znumobj (void *data, int *ierr) |
static void | zobjlist (void *data, int ngid, int nlid, ZOLTAN_ID_PTR gids, ZOLTAN_ID_PTR lids, int nwgts, float *wgts, int *ierr) |
static int | znumgeom (void *data, int *ierr) |
static void | zgeom (void *data, int ngid, int nlid, int nobj, ZOLTAN_ID_PTR gids, ZOLTAN_ID_PTR lids, int ndim, double *coords, int *ierr) |
static void | zhgsize (void *data, int *nLists, int *nPins, int *format, int *ierr) |
static void | zhg (void *data, int ngid, int nLists, int nPins, int format, ZOLTAN_ID_PTR listGids, int *offsets, ZOLTAN_ID_PTR pinGids, int *ierr) |
int | run (const RCP< const Comm< int > > &comm, int numGlobalParts, int testCnt, std::string *thisTest) |
int | main (int narg, char *arg[]) |
Variables | |
static string | testArgs [] |
static constexpr int | znGidEnt = sizeof(zgno_t) / sizeof(ZOLTAN_ID_TYPE) |
Compares zoltan execution through Zoltan2 with direct zoltan execution
Definition in file zoltanCompare.cpp.
#define NUMTESTS 30 |
Definition at line 40 of file zoltanCompare.cpp.
#define SET_ZID | ( | n, | |
a, | |||
b | |||
) |
Definition at line 89 of file zoltanCompare.cpp.
Definition at line 80 of file zoltanCompare.cpp.
Definition at line 81 of file zoltanCompare.cpp.
typedef Tpetra::MultiVector<zscalar_t, zlno_t, zgno_t, znode_t> tMVector_t |
Definition at line 82 of file zoltanCompare.cpp.
Definition at line 83 of file zoltanCompare.cpp.
Definition at line 84 of file zoltanCompare.cpp.
Definition at line 85 of file zoltanCompare.cpp.
enum testFields |
Enumerator | |
---|---|
TESTNAMEOFFSET | |
TESTMETHODOFFSET | |
TESTOBJWGTOFFSET | |
TESTNUMPROCS | |
TESTNUMARGS |
Definition at line 31 of file zoltanCompare.cpp.
|
static |
Definition at line 99 of file zoltanCompare.cpp.
|
static |
Definition at line 106 of file zoltanCompare.cpp.
|
static |
Definition at line 128 of file zoltanCompare.cpp.
|
static |
Definition at line 135 of file zoltanCompare.cpp.
|
static |
Definition at line 149 of file zoltanCompare.cpp.
|
static |
Definition at line 158 of file zoltanCompare.cpp.
int run | ( | const RCP< const Comm< int > > & | comm, |
int | numGlobalParts, | ||
int | testCnt, | ||
std::string * | thisTest | ||
) |
Definition at line 193 of file zoltanCompare.cpp.
int main | ( | int | narg, |
char * | arg[] | ||
) |
Definition at line 461 of file zoltanCompare.cpp.
|
static |
Definition at line 41 of file zoltanCompare.cpp.
|
static |
Definition at line 88 of file zoltanCompare.cpp.