[MOAB-dev] r4566 - in MOAB/trunk/src/parallel: . moab
hongjun at mcs.anl.gov
hongjun at mcs.anl.gov
Wed Mar 9 18:04:07 CST 2011
Author: hongjun
Date: 2011-03-09 18:04:07 -0600 (Wed, 09 Mar 2011)
New Revision: 4566
Modified:
MOAB/trunk/src/parallel/Makefile.am
MOAB/trunk/src/parallel/ParallelComm.cpp
MOAB/trunk/src/parallel/moab/ParallelComm.hpp
Log:
o remote handles can be returned in "ParallelComm::send_entities", "recv_entities"
o "recv_messages" has more arguments for remote handle
o "recv_remote_handle_messages" is added for remote handle communication
o "resolve_shared_ents" function with skin entity array argument is added to be used by other place like parallel meshing
o pack parallel geometry unique id at the end of "pack_sets" function, if any
o "types.h, minmax.h, errmem.h, sort.h, tuple_list.h" are installed to be used outside of MOAB like in parallel meshing
Modified: MOAB/trunk/src/parallel/Makefile.am
===================================================================
--- MOAB/trunk/src/parallel/Makefile.am 2011-03-09 22:21:52 UTC (rev 4565)
+++ MOAB/trunk/src/parallel/Makefile.am 2011-03-10 00:04:07 UTC (rev 4566)
@@ -32,11 +32,10 @@
ParallelMergeMesh.cpp \
ReadParallel.cpp \
ReadParallel.hpp \
- crystal.h errmem.h types.h \
+ crystal.h \
crystal.c errmem.c \
transfer.c gs.c gs.h tuple_list.c \
- tuple_list.h \
- sort.c sort.h minmax.h transfer.h sort_imp.c
+ sort.c transfer.h sort_imp.c
# The list of header files which are to be installed
MOAB_PARALLEL_HDRS += \
@@ -46,7 +45,9 @@
moab/ParallelMergeMesh.hpp \
moab/ProcConfig.hpp \
moab/ParallelData.hpp \
- MBParallelConventions.h
+ MBParallelConventions.h \
+ types.h minmax.h errmem.h \
+ sort.h tuple_list.h
if PARALLEL_HDF5
# libMOABpar_la_LIBADD = $(top_builddir)/mhdf/libmhdf.la
Modified: MOAB/trunk/src/parallel/ParallelComm.cpp
===================================================================
--- MOAB/trunk/src/parallel/ParallelComm.cpp 2011-03-09 22:21:52 UTC (rev 4565)
+++ MOAB/trunk/src/parallel/ParallelComm.cpp 2011-03-10 00:04:07 UTC (rev 4566)
@@ -668,8 +668,12 @@
const bool adjs,
const bool tags,
const bool store_remote_handles,
+ const bool is_iface,
Range &final_ents,
- int &incoming, // added
+ int &incoming1,
+ int &incoming2,
+ tuple_list& entprocs,
+ std::vector<MPI_Request> &recv_remoteh_reqs,
bool wait_all)
{
#ifndef USE_MPI
@@ -677,20 +681,38 @@
#else
// pack entities to local buffer
More information about the moab-dev
mailing list