[MOAB-dev] r4567 - in MOAB/trunk/src/parallel: . moab
hongjun at mcs.anl.gov
hongjun at mcs.anl.gov
Wed Mar 9 23:50:50 CST 2011
Author: hongjun
Date: 2011-03-09 23:50:49 -0600 (Wed, 09 Mar 2011)
New Revision: 4567
Modified:
MOAB/trunk/src/parallel/ParallelComm.cpp
MOAB/trunk/src/parallel/moab/ParallelComm.hpp
Log:
o Tab characters are removed from the code
o get_num_buff_procs is removed
o buff_procs is set as const function
o Passes "make check" except read_cgm test because of using OCC CGM
Modified: MOAB/trunk/src/parallel/ParallelComm.cpp
===================================================================
--- MOAB/trunk/src/parallel/ParallelComm.cpp 2011-03-10 00:04:07 UTC (rev 4566)
+++ MOAB/trunk/src/parallel/ParallelComm.cpp 2011-03-10 05:50:49 UTC (rev 4567)
@@ -586,9 +586,9 @@
}
ErrorCode ParallelComm::scatter_entities( const int from_proc,
- std::vector<Range> &entities,
- const bool adjacencies,
- const bool tags)
+ std::vector<Range> &entities,
+ const bool adjacencies,
+ const bool tags)
{
#ifndef USE_MPI
return MB_FAILURE;
@@ -613,7 +613,7 @@
result = add_verts(entities[i]);
result = pack_buffer(entities[i], adjacencies, tags,
- false, -1, &buff);
+ false, -1, &buff);
RRA("Failed to compute buffer size in scatter_entities.");
buff_size = buff.buff_ptr - buff.mem_ptr - prev_size;
@@ -638,8 +638,8 @@
// scatter actual geometry
success = MPI_Scatterv(buff.mem_ptr, sendCounts, displacements,
- MPI_UNSIGNED_CHAR, rec_buff.mem_ptr, sendCounts[my_proc],
- MPI_UNSIGNED_CHAR, from_proc, procConfig.proc_comm());
+ MPI_UNSIGNED_CHAR, rec_buff.mem_ptr, sendCounts[my_proc],
+ MPI_UNSIGNED_CHAR, from_proc, procConfig.proc_comm());
if (MPI_SUCCESS != success) {
result = MB_FAILURE;
@@ -664,17 +664,17 @@
}
ErrorCode ParallelComm::send_entities(const int to_proc,
- Range &orig_ents,
- const bool adjs,
- const bool tags,
- const bool store_remote_handles,
- const bool is_iface,
- Range &final_ents,
- int &incoming1,
- int &incoming2,
- tuple_list& entprocs,
- std::vector<MPI_Request> &recv_remoteh_reqs,
More information about the moab-dev
mailing list