Zoltan2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Classes | Enumerations | Functions | Variables
GeometricGen Namespace Reference

Classes

class  DOTS
 
struct  CoordinatePoint
 
class  Hole
 
class  SquareHole
 
class  RectangleHole
 
class  CircleHole
 
class  CubeHole
 
class  RectangularPrismHole
 
class  SphereHole
 
class  WeightDistribution
 
class  SteppedEquation
 Expression is a generic following method. More...
 
class  CoordinateDistribution
 
class  CoordinateNormalDistribution
 
class  CoordinateUniformDistribution
 
class  CoordinateGridDistribution
 
class  GeometricGenerator
 

Enumerations

enum  shape {
  SQUARE, RECTANGLE, CIRCLE, CUBE,
  RECTANGULAR_PRISM, SPHERE
}
 
enum  distribution { normal, uniform }
 

Functions

template<typename tMVector_t >
int getNumObj (void *data, int *ierr)
 
template<typename tMVector_t >
void 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 getDim (void *data, int *ierr)
 
template<typename tMVector_t >
void 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 shapes [] = {"SQUARE", "RECTANGLE", "CIRCLE", "CUBE", "RECTANGULAR_PRISM", "SPHERE"}
 
const std::string distribution [] = {"distribution", "uniform"}
 
const std::string weight_distribution_string = "WeightDistribution-"
 

Enumeration Type Documentation

Enumerator
SQUARE 
RECTANGLE 
CIRCLE 
CUBE 
RECTANGULAR_PRISM 
SPHERE 

Definition at line 196 of file GeometricGenerator.hpp.

Enumerator
normal 
uniform 

Definition at line 200 of file GeometricGenerator.hpp.

Function Documentation

template<typename tMVector_t >
int GeometricGen::getNumObj ( void *  data,
int *  ierr 
)

Definition at line 115 of file GeometricGenerator.hpp.

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 
)

Definition at line 123 of file GeometricGenerator.hpp.

template<typename tMVector_t >
int GeometricGen::getDim ( void *  data,
int *  ierr 
)

Definition at line 157 of file GeometricGenerator.hpp.

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 
)

Definition at line 168 of file GeometricGenerator.hpp.

Variable Documentation

const std::string GeometricGen::shapes[] = {"SQUARE", "RECTANGLE", "CIRCLE", "CUBE", "RECTANGULAR_PRISM", "SPHERE"}

Definition at line 197 of file GeometricGenerator.hpp.

const std::string GeometricGen::distribution[] = {"distribution", "uniform"}

Definition at line 201 of file GeometricGenerator.hpp.

const std::string GeometricGen::weight_distribution_string = "WeightDistribution-"

Definition at line 212 of file GeometricGenerator.hpp.