[MOAB-dev] r5485 - in MOAB/trunk: itaps/imesh src/parallel src/parallel/moab tools/mbcoupler

tautges at mcs.anl.gov tautges at mcs.anl.gov
Wed Apr 18 15:49:28 CDT 2012


Author: tautges
Date: 2012-04-18 15:49:28 -0500 (Wed, 18 Apr 2012)
New Revision: 5485

Added:
   MOAB/trunk/itaps/imesh/iMeshP_extensions.h
Modified:
   MOAB/trunk/itaps/imesh/Makefile.am
   MOAB/trunk/itaps/imesh/iMeshP_MOAB.cpp
   MOAB/trunk/itaps/imesh/iMesh_MOAB.cpp
   MOAB/trunk/itaps/imesh/iMesh_extensions.h
   MOAB/trunk/src/parallel/ParallelComm.cpp
   MOAB/trunk/src/parallel/ReadParallel.cpp
   MOAB/trunk/src/parallel/moab/ParallelComm.hpp
   MOAB/trunk/tools/mbcoupler/Coupler.cpp
   MOAB/trunk/tools/mbcoupler/Makefile.am
Log:
- move iMesh_getCommunicator to iMeshP 
- add an optional file set to exchange_ghost_cells, if specified new ghosts are added to the file set
- change mbcoupler to allow solution transfer to lower order vertices of higher-order elements

Passes make check in parallel.



Modified: MOAB/trunk/itaps/imesh/Makefile.am
===================================================================
--- MOAB/trunk/itaps/imesh/Makefile.am	2012-04-18 18:13:07 UTC (rev 5484)
+++ MOAB/trunk/itaps/imesh/Makefile.am	2012-04-18 20:49:28 UTC (rev 5485)
@@ -1,4 +1,4 @@
-BUILT_SOURCES = iMesh_protos.h iMeshP_protos.h iMesh_extensions_protos.h
+BUILT_SOURCES = iMesh_protos.h iMeshP_protos.h iMesh_extensions_protos.h iMeshP_extensions_protos.h
 
 MESHDIR = $(top_srcdir)/MeshFiles/unittest
 
@@ -33,7 +33,7 @@
 
 if PARALLEL
   libiMesh_la_SOURCES += iMeshP_MOAB.cpp
-  libiMesh_la_include_HEADERS += iMeshP.h iMeshP_f.h iMeshP_protos.h
+  libiMesh_la_include_HEADERS += iMeshP.h iMeshP_extensions.h iMeshP_extensions_protos.h iMeshP_f.h iMeshP_protos.h
   AM_CPPFLAGS += -I$(top_srcdir)/src/parallel -I$(top_srcdir)/src/parallel/moab
 
 #  check_PROGRAMS += partest iMeshP_unit_tests moabtest
@@ -101,3 +101,7 @@
 
 iMeshP_protos.h: iMeshP.h ../mkprotos.sh
 	$(AM_V_GEN)$(srcdir)/../mkprotos.sh iMeshP MOAB $< $@ MOAB_FCDefs.h
+
+iMeshP_extensions_protos.h: iMeshP_extensions.h ../mkprotos.sh
+	$(AM_V_GEN)$(srcdir)/../mkprotos.sh iMeshP MOAB $< $@ MOAB_FCDefs.h
+

Modified: MOAB/trunk/itaps/imesh/iMeshP_MOAB.cpp
===================================================================
--- MOAB/trunk/itaps/imesh/iMeshP_MOAB.cpp	2012-04-18 18:13:07 UTC (rev 5484)
+++ MOAB/trunk/itaps/imesh/iMeshP_MOAB.cpp	2012-04-18 20:49:28 UTC (rev 5485)
@@ -1,4 +1,4 @@
-#include "iMeshP.h"
+#include "iMeshP_extensions.h"
 #include "iMesh_MOAB.hpp"
 #include "moab/Core.hpp"
 #include "moab/Range.hpp"
@@ -1887,6 +1887,55 @@
                           err);
   }
 
+/** \brief Assign a global id space to entities
+ * Assign a global id space to entities and vertices, and optionally intermediate-dimension entities
+ *
+ *  COMMUNICATION:  Collective.
+ */
+void iMeshP_assignGlobalIds(
+    iMesh_Instance instance,
+    const iMeshP_PartitionHandle partition,
+    const iBase_EntitySetHandle this_set,


More information about the moab-dev mailing list