• Main Page
  • Related Pages
  • Modules
  • Data Structures
  • Files
  • File List
  • Globals

sst/elements/routermodel/src_genTopo/main.h

00001 /*
00002 ** $Id: main.h,v 1.6 2010/04/28 21:19:51 rolf Exp $
00003 **
00004 ** Rolf Riesen, March 2010, Sandia National Laboratories
00005 **
00006 */
00007 #ifndef _GENTOPO_H_
00008 #define _GENTOPO_H_
00009 
00010 #define FALSE           (0)
00011 #define TRUE            (1)
00012 
00013 
00014 /* Which topology to generate? */
00015 typedef enum {  TopoNone= 0,    /* Nothing specified */
00016                 Mesh2D,         /* Two dimensional mesh, no wraparounds */
00017                 Torus2D,        /* Two dimensional mesh, wraparounds in X and Y dimension */
00018                 Torus2Dx,       /* Two dimensional mesh, wraparounds in X dimension only */
00019                 Torus2Dy,       /* Two dimensional mesh, wraparounds in Y dimension only */
00020                 Mesh3D,         /* Three dimensional mesh, no wraparounds */
00021                 Torus3D,        /* Three dimensional mesh, wraparounds in X, Y, and Z dimension */
00022                 Torus3Dx,       /* Three dimensional mesh, wraparounds in X dimension only */
00023                 Torus3Dy,       /* Three dimensional mesh, wraparounds in Y dimension only */
00024                 Torus3Dz,       /* Three dimensional mesh, wraparounds in Z dimension only */
00025                 Torus3Dxy,      /* Three dimensional mesh, wraparounds in X and Y dimension */
00026                 Torus3Dxz,      /* Three dimensional mesh, wraparounds in X and Z dimension */
00027                 Torus3Dyz,      /* Three dimensional mesh, wraparounds in Y and Z dimension */
00028                 Flat2Dbutter,   /* Flattened, two-dimensional butterfly */
00029                 Ring,           /* A ring */
00030                 Full,           /* A fully connected graph */
00031                 Tree,           /* A simple binary tree with nodes at the leaves */
00032                 FatTree,        /* A binary fat tree with nodes at the leaves */
00033                 Hypercube       /* A hypercube */
00034 } topo_type_t;
00035 
00036 char *topo_names[]= {
00037     "none",
00038     "2D Mesh",
00039     "2D Torus",
00040     "2D Mesh, with x dimension wrap around",
00041     "2D Mesh, with y dimension wrap around",
00042     "3D Mesh",
00043     "3D Torus",
00044     "3D Mesh, with x dimension wrap around",
00045     "3D Mesh, with y dimension wrap around",
00046     "3D Mesh, with z dimension wrap around",
00047     "3D Mesh, with x and y dimension wrap around",
00048     "3D Mesh, with x and z dimension wrap around",
00049     "3D Mesh, with y and z dimension wrap around",
00050     "Flattened, two-dimensional butterfly",
00051     "Ring",
00052     "Fully connected",
00053     "Binary tree",
00054     "Binary fat tree",
00055     "Hypercube"
00056 };
00057 
00058 #endif /* _GENTOPO_H_ */

Generated on Fri Oct 22 2010 11:02:25 for SST by  doxygen 1.7.1