Zoltan 2 Version 0.5
Classes | Defines | Enumerations | Variables
GeometricGenerator.hpp File Reference
#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_XpetraMultiVectorInput.hpp>
#include <Zoltan2_PartitioningSolution.hpp>
#include <Teuchos_ArrayViewDecl.hpp>
Include dependency graph for GeometricGenerator.hpp:

Go to the source code of this file.

Classes

struct  CoordinatePoint< T >
class  Hole< T >
class  SquareHole< T >
class  RectangleHole< T >
class  CircleHole< T >
class  CubeHole< T >
class  RectangularPrismHole< T >
class  SphereHole< T >
class  WeightDistribution< T, weighttype >
class  SteppedEquation< T, weighttype >
 Expression is a generic following method. More...
class  CoordinateDistribution< T, lno_t, gno_t >
class  CoordinateNormalDistribution< T, lno_t, gno_t >
class  CoordinateUniformDistribution< T, lno_t, gno_t >
class  CoordinateGridDistribution< T, lno_t, gno_t >
class  GeometricGenerator< T, lno_t, gno_t, node_t >

Defines

#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

Enumerations

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

Variables

const std::string shapes [] = {"SQUARE", "RECTANGLE", "CIRCLE", "CUBE", "RECTANGULAR_PRISM", "SPHERE"}
const std::string distribution [] = {"distribution", "uniform"}
const std::string weight_distribution = "WeightDistribution"
const std::string weight_distribution_string = "-"

Define Documentation

#define SHAPE_COUNT   6

Definition at line 64 of file GeometricGenerator.hpp.

#define DISTRIBUTION_COUNT   2

Definition at line 68 of file GeometricGenerator.hpp.

#define HOLE_ALLOC_STEP   10

Definition at line 70 of file GeometricGenerator.hpp.

#define MAX_WEIGHT_DIM   10

Definition at line 71 of file GeometricGenerator.hpp.

#define INVALID (   STR)    "Invalid argument at " + STR

Definition at line 72 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 73 of file GeometricGenerator.hpp.

#define INVALID_SHAPE_ARG (   SHAPE,
  REQUIRED 
)    "Invalid argument count for shape " + SHAPE + ". Requires " + REQUIRED + " argument(s)."

Definition at line 75 of file GeometricGenerator.hpp.

#define MAX_ITER_ALLOWED   500

Definition at line 76 of file GeometricGenerator.hpp.


Enumeration Type Documentation

enum shape
Enumerator:
SQUARE 
RECTANGLE 
CIRCLE 
CUBE 
RECTANGULAR_PRISM 
SPHERE 

Definition at line 62 of file GeometricGenerator.hpp.

Enumerator:
normal 
uniform 

Definition at line 66 of file GeometricGenerator.hpp.


Variable Documentation

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

Definition at line 63 of file GeometricGenerator.hpp.

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

Definition at line 67 of file GeometricGenerator.hpp.

const std::string weight_distribution = "WeightDistribution"

Definition at line 78 of file GeometricGenerator.hpp.

const std::string weight_distribution_string = "-"

Definition at line 79 of file GeometricGenerator.hpp.