[MOAB-dev] r5355 - MOAB/trunk/src/parallel

nbertram at wisc.edu nbertram at wisc.edu
Mon Jan 30 14:21:59 CST 2012


Author: bertram
Date: 2012-01-30 14:21:58 -0600 (Mon, 30 Jan 2012)
New Revision: 5355

Removed:
   MOAB/trunk/src/parallel/crystal.c
   MOAB/trunk/src/parallel/crystal.h
   MOAB/trunk/src/parallel/errmem.c
   MOAB/trunk/src/parallel/errmem.h
   MOAB/trunk/src/parallel/fcrystal.c
   MOAB/trunk/src/parallel/gs.c
   MOAB/trunk/src/parallel/gs.h
   MOAB/trunk/src/parallel/minmax.h
   MOAB/trunk/src/parallel/sort.c
   MOAB/trunk/src/parallel/sort.h
   MOAB/trunk/src/parallel/sort_imp.h
   MOAB/trunk/src/parallel/transfer.c
   MOAB/trunk/src/parallel/transfer.h
   MOAB/trunk/src/parallel/tuple_list.c
   MOAB/trunk/src/parallel/tuple_list.h
   MOAB/trunk/src/parallel/types.h
Log:
Removing old C files that are no longer needed because of TupleList.cpp/hpp and gs.cpp/hpp

Deleted: MOAB/trunk/src/parallel/crystal.c
===================================================================
--- MOAB/trunk/src/parallel/crystal.c	2012-01-30 20:09:58 UTC (rev 5354)
+++ MOAB/trunk/src/parallel/crystal.c	2012-01-30 20:21:58 UTC (rev 5355)
@@ -1,170 +0,0 @@
-/*------------------------------------------------------------------------------
-  
-  Crystal Router
-  
-  Accomplishes all-to-all communication in log P msgs per proc
-  The routine is low-level; the format of the input/output is an
-  array of integers, consisting of a sequence of messages with format:
-  
-      target proc
-      source proc
-      m
-      integer
-      integer
-      ...
-      integer  (m integers in total)
-
-  Before crystal_router is called, the source of each message should be
-  set to this proc id; upon return from crystal_router, the target of each
-  message will be this proc id.
-
-  Usage:
-  
-      MPI_Comm comm = ... ;
-      crystal_data crystal;
-      
-      crystal_init(&crystal, comm);  // initialize the data structure
-      // now crystal.id  = this proc
-      // and crystal.num = num of procs
-      
-      // allocate space for at least MAX ints
-      buffer_reserve(&crystal->all->buf, MAX*sizeof(uint));
-      
-      // fill up ((uint*)crystal->all->buf.ptr)[0 ... n-1]
-      // and set crystal->all->n
-      
-      crystal_router(&crystal);
-      
-      // incoming messages available as
-      // ((uint*)crystal->all->buf.ptr)[0 ... crystal->all->n-1]
-      
-      crystal_free(&crystal); // release acquired memory
-
-  ----------------------------------------------------------------------------*/
-#ifdef USE_MPI
-
-#include <stdio.h>


More information about the moab-dev mailing list