Zoltan2
|
#include <Teuchos_Comm.hpp>
#include <Teuchos_ParameterList.hpp>
#include <Teuchos_FilteredIterator.hpp>
#include <Teuchos_ParameterEntry.hpp>
#include <iostream>
#include <ctime>
#include <limits>
#include <climits>
#include <string>
#include <cstdlib>
#include <sstream>
#include <fstream>
#include <Tpetra_MultiVector_decl.hpp>
#include <Zoltan2_XpetraMultiVectorAdapter.hpp>
#include <Zoltan2_PartitioningSolution.hpp>
#include <Teuchos_ArrayViewDecl.hpp>
#include <Teuchos_RCP.hpp>
#include <Tpetra_Distributor.hpp>
#include <Zoltan2_PartitioningProblem.hpp>
#include <zoltan.h>
Go to the source code of this file.
Namespaces | |
GeometricGen | |
Macros | |
#define | CATCH_EXCEPTIONS(pp) |
#define | SHAPE_COUNT 6 |
#define | DISTRIBUTION_COUNT 2 |
#define | HOLE_ALLOC_STEP 10 |
#define | MAX_WEIGHT_DIM 10 |
#define | INVALID(STR) "Invalid argument at " + STR |
#define | INVALIDSHAPE(STR, DIM) "Invalid shape name " + STR + " for " + DIM + ".\nValid shapes are \"SQUARE\", \"RECTANGLE\", \"CIRCLE\" for 2D, and \"CUBE\", \"RECTANGULAR_PRISM\", \"SPHERE\" for 3D" |
#define | INVALID_SHAPE_ARG(SHAPE, REQUIRED) "Invalid argument count for shape " + SHAPE + ". Requires " + REQUIRED + " argument(s)." |
#define | MAX_ITER_ALLOWED 500 |
Functions | |
template<typename tMVector_t > | |
int | GeometricGen::getNumObj (void *data, int *ierr) |
template<typename tMVector_t > | |
void | GeometricGen::getCoords (void *data, int numGid, int numLid, int numObj, ZOLTAN_ID_PTR gids, ZOLTAN_ID_PTR lids, int dim, double *coords_, int *ierr) |
template<typename tMVector_t > | |
int | GeometricGen::getDim (void *data, int *ierr) |
template<typename tMVector_t > | |
void | GeometricGen::getObjList (void *data, int numGid, int numLid, ZOLTAN_ID_PTR gids, ZOLTAN_ID_PTR lids, int num_wgts, float *obj_wgts, int *ierr) |
Variables | |
const std::string | GeometricGen::shapes [] = {"SQUARE", "RECTANGLE", "CIRCLE", "CUBE", "RECTANGULAR_PRISM", "SPHERE"} |
const std::string | GeometricGen::distribution [] = {"distribution", "uniform"} |
const std::string | GeometricGen::weight_distribution_string = "WeightDistribution-" |
#define CATCH_EXCEPTIONS | ( | pp | ) |
Definition at line 82 of file GeometricGenerator.hpp.
#define SHAPE_COUNT 6 |
Definition at line 198 of file GeometricGenerator.hpp.
#define DISTRIBUTION_COUNT 2 |
Definition at line 202 of file GeometricGenerator.hpp.
#define HOLE_ALLOC_STEP 10 |
Definition at line 204 of file GeometricGenerator.hpp.
#define MAX_WEIGHT_DIM 10 |
Definition at line 205 of file GeometricGenerator.hpp.
#define INVALID | ( | STR | ) | "Invalid argument at " + STR |
Definition at line 206 of file GeometricGenerator.hpp.
#define INVALIDSHAPE | ( | STR, | |
DIM | |||
) | "Invalid shape name " + STR + " for " + DIM + ".\nValid shapes are \"SQUARE\", \"RECTANGLE\", \"CIRCLE\" for 2D, and \"CUBE\", \"RECTANGULAR_PRISM\", \"SPHERE\" for 3D" |
Definition at line 207 of file GeometricGenerator.hpp.
#define INVALID_SHAPE_ARG | ( | SHAPE, | |
REQUIRED | |||
) | "Invalid argument count for shape " + SHAPE + ". Requires " + REQUIRED + " argument(s)." |
Definition at line 209 of file GeometricGenerator.hpp.
#define MAX_ITER_ALLOWED 500 |
Definition at line 210 of file GeometricGenerator.hpp.