[MOAB-dev] r5212 - in MOAB/trunk: itaps itaps/imesh src/parallel/moab test

tautges at mcs.anl.gov tautges at mcs.anl.gov
Mon Nov 14 13:59:32 CST 2011


Author: tautges
Date: 2011-11-14 13:59:32 -0600 (Mon, 14 Nov 2011)
New Revision: 5212

Modified:
   MOAB/trunk/itaps/iBase_f.h
   MOAB/trunk/itaps/imesh/iMesh_MOAB.cpp
   MOAB/trunk/itaps/imesh/iMesh_extensions.h
   MOAB/trunk/src/parallel/moab/ParallelComm.hpp
   MOAB/trunk/test/Makefile.am
Log:
test/Makefile.am: if parallel, include the src/parallel in places to look for includes
itaps/imesh/iMesh_MOAB.cpp, iMesh_extensions.h: implement new extension function iMesh_createStructuredMesh,
 which creates a rectangle of structured mesh and, optionally, resolves shared vertices on the boundary
 and exchanges ghost elements.
itaps/iBase_f.h: replace 'c' with '!' as a comment symbol, for comatability with F90 free-source form
src/parallel/moab/ParallelComm.hpp: add comment for one of the arguments

Passes make check, though I haven't written any tests for the iMesh extension, I'm with the customer that needs
it, so I'll have to implement that later.



Modified: MOAB/trunk/itaps/iBase_f.h
===================================================================
--- MOAB/trunk/itaps/iBase_f.h	2011-11-14 19:04:54 UTC (rev 5211)
+++ MOAB/trunk/itaps/iBase_f.h	2011-11-14 19:59:32 UTC (rev 5212)
@@ -2,17 +2,17 @@
 #define IBASE_F_H
 
 #ifdef POINTER_SIZE
-c  user-defined override
+!  user-defined override
 #  define IBASE_HANDLE_T INTEGER*POINTER_SIZE
 #elif defined(__SIZEOF_SIZE_T__)
-c  gfortran
+!  gfortran
 #  define IBASE_HANDLE_T integer*__SIZEOF_SIZE_T__
 #elif defined(__GNUC__) && defined (_LANGUAGE_FORTRAN)
-c  gfortran 4.2 and earlier
+!  gfortran 4.2 and earlier
 #  ifdef _LP64
 #    define IBASE_HANDLE_T integer*8
 #  else
-c    NOTE: not integer*4 (see meaning of _LP64 in GNU docs)
+!    NOTE: not integer*4 (see meaning of _LP64 in GNU docs)
 #    define IBASE_HANDLE_T integer
 #  endif
 #elif defined(__INTEL_COMPILER)
@@ -22,7 +22,7 @@
 #    define IBASE_HANDLE_T integer*4
 #  endif
 #elif defined(__XLCPP__) || defined(__bgp__) || defined(__bgq__)
-c  __XLCPP__ doesn't work for IBM.  AT least make things work for BGP and BGQ
+!  __XLCPP__ doesn't work for IBM.  AT least make things work for BGP and BGQ
         USE, INTRINSIC :: ISO_C_BINDING
 #  define IBASE_HANDLE_T C_PTR
 #else

Modified: MOAB/trunk/itaps/imesh/iMesh_MOAB.cpp
===================================================================
--- MOAB/trunk/itaps/imesh/iMesh_MOAB.cpp	2011-11-14 19:04:54 UTC (rev 5211)
+++ MOAB/trunk/itaps/imesh/iMesh_MOAB.cpp	2011-11-14 19:59:32 UTC (rev 5212)
@@ -3,15 +3,18 @@
 #include "moab/Range.hpp"
 #include "moab/CN.hpp"
 #include "moab/MeshTopoUtil.hpp"
+#include "moab/ScdInterface.hpp"
 #include "FileOptions.hpp"
 #include "iMesh_MOAB.hpp"
 #include "MBIter.hpp"
+#include "MBTagConventions.hpp"
 #define IS_BUILDING_MB
 #include "Internals.hpp"


More information about the moab-dev mailing list