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

hongjun at mcs.anl.gov hongjun at mcs.anl.gov
Wed May 18 15:13:53 CDT 2011


Author: hongjun
Date: 2011-05-18 15:13:53 -0500 (Wed, 18 May 2011)
New Revision: 4844

Modified:
   MOAB/trunk/src/parallel/ParallelComm.cpp
Log:
o Unused "print_mesh" function removed
o Several trivial changes for debugging are reverted to the previous revision(4880)
o Passes "make check" 


Modified: MOAB/trunk/src/parallel/ParallelComm.cpp
===================================================================
--- MOAB/trunk/src/parallel/ParallelComm.cpp	2011-05-18 19:07:20 UTC (rev 4843)
+++ MOAB/trunk/src/parallel/ParallelComm.cpp	2011-05-18 20:13:53 UTC (rev 4844)
@@ -121,21 +121,21 @@
 void PACK_DBLS( unsigned char*& buff, const double* dbl_val, size_t num )
   { PACK( buff, dbl_val, num ); PC(num, " doubles"); }
 
-static inline
-void PACK_DBL( unsigned char*& buff, const double dbl_val)
-{ PACK_DBLS( buff, &dbl_val, 1 ); }
+//static inline
+//void PACK_DBL( unsigned char*& buff, const double dbl_val)
+//{ PACK_DBLS( buff, &dbl_val, 1 ); }
 
 static inline
 void PACK_EH( unsigned char*& buff, const EntityHandle* eh_val, size_t num )
   { PACK( buff, eh_val, num ); PC(num, " handles"); }
 
-static inline
-void PACK_CHAR_64( unsigned char*& buff, const char* str )
-{
-  memcpy(buff, str, 64 );
-  buff += 64;
-  PC(64, " chars");
-}
+//static inline
+//void PACK_CHAR_64( unsigned char*& buff, const char* str )
+//{
+//  memcpy(buff, str, 64 );
+//  buff += 64;
+//  PC(64, " chars");
+//}
 
 static inline
 void PACK_VOID( unsigned char*& buff, const void* val, size_t num )
@@ -180,13 +180,13 @@
 void UNPACK_EH( unsigned char*& buff, EntityHandle* eh_val, size_t num )
   { UNPACK(buff, eh_val, num); UPC(num, " handles"); }
 
-static inline
-void UNPACK_CHAR_64( unsigned char*& buff, char* char_val )
-{
-  memcpy( buff, char_val, 64 );
-  buff += 64;
-  UPC(64, " chars");
-}
+//static inline
+//void UNPACK_CHAR_64( unsigned char*& buff, char* char_val )
+//{
+//  memcpy( buff, char_val, 64 );


More information about the moab-dev mailing list