[MOAB-dev] commit/MOAB: 2 new changesets
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Fri Jan 10 14:38:09 CST 2014
2 new commits in MOAB:
https://bitbucket.org/fathomteam/moab/commits/777a988b1189/
Changeset: 777a988b1189
Branch: None
User: iulian07
Date: 2014-01-10 21:35:30
Summary: forgot to sort the tuple for second algorithm
the find in TupleList is smart enough to use binary search if the tuple
is sorted according to that key
if it is not sorted, just uses linear search
Affected #: 1 file
diff --git a/tools/mbcslam/Intx2Mesh.cpp b/tools/mbcslam/Intx2Mesh.cpp
index 625a442..99d7ca3 100644
--- a/tools/mbcslam/Intx2Mesh.cpp
+++ b/tools/mbcslam/Intx2Mesh.cpp
@@ -800,6 +800,12 @@ ErrorCode Intx2Mesh::create_departure_mesh_2nd_alg(EntityHandle & euler_set, Ent
ERRORR(rval, "can't set global id tag on new el");
}
}
+ // order the remote cells tuple list, with the global id, because we will search in it
+ //remote_cells->print("remote_cells before sorting");
+ moab::TupleList::buffer sort_buffer;
+ sort_buffer.buffer_init(n);
+ remote_cells->sort(1, &sort_buffer);
+ sort_buffer.reset();
return MB_SUCCESS;
}
https://bitbucket.org/fathomteam/moab/commits/1e89e1024c14/
Changeset: 1e89e1024c14
Branch: master
User: iulian07
Date: 2014-01-10 21:37:53
Summary: Merge branch 'master' of https://bitbucket.org/fathomteam/moab
Affected #: 1 file
diff --git a/config/compiler.m4 b/config/compiler.m4
index ce83a5f..4787100 100644
--- a/config/compiler.m4
+++ b/config/compiler.m4
@@ -548,6 +548,8 @@ case "$cc_compiler:$host_cpu" in
bgq)
FATHOM_CC_32BIT=-q32
FATHOM_CC_64BIT=-q64
+ FATHOM_CC_SPECIAL=-qarch=qp
+ FATHOM_CXX_SPECIAL="-qarch=qp -qpic=large -qmaxmem=-1"
AR="ar"
NM="nm -B"
;;
Repository URL: https://bitbucket.org/fathomteam/moab/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the moab-dev
mailing list