[MOAB-dev] r4664 - in MOAB/branches/Version4.0: . itaps/imesh
kraftche at cae.wisc.edu
kraftche at cae.wisc.edu
Mon Mar 28 11:00:33 CDT 2011
Author: kraftche
Date: 2011-03-28 11:00:32 -0500 (Mon, 28 Mar 2011)
New Revision: 4664
Modified:
MOAB/branches/Version4.0/
MOAB/branches/Version4.0/itaps/imesh/MBIter.hpp
MOAB/branches/Version4.0/itaps/imesh/iMeshP_MOAB.cpp
MOAB/branches/Version4.0/itaps/imesh/iMesh_MOAB.hpp
Log:
fix iMeshP iterators
Property changes on: MOAB/branches/Version4.0
___________________________________________________________________
Modified: svn:mergeinfo
- /MOAB/trunk:4610-4611,4628,4631,4640-4641,4646
+ /MOAB/trunk:4610-4611,4628,4631,4640-4641,4646,4663
Modified: MOAB/branches/Version4.0/itaps/imesh/MBIter.hpp
===================================================================
--- MOAB/branches/Version4.0/itaps/imesh/MBIter.hpp 2011-03-28 15:23:43 UTC (rev 4663)
+++ MOAB/branches/Version4.0/itaps/imesh/MBIter.hpp 2011-03-28 16:00:32 UTC (rev 4664)
@@ -55,7 +55,7 @@
template <class Container> class MBIter : public iBase_EntityArrIterator_Private
{
- private:
+ protected:
Container iterData;
typename Container::const_iterator iterPos;
@@ -76,7 +76,7 @@
array[count++] = *iterPos;
}
- ErrorCode reset( Interface* mb ) {
+ virtual ErrorCode reset( Interface* mb ) {
ErrorCode result;
iterData.clear();
if (entTopo != iMesh_ALL_TOPOLOGIES) {
Modified: MOAB/branches/Version4.0/itaps/imesh/iMeshP_MOAB.cpp
===================================================================
--- MOAB/branches/Version4.0/itaps/imesh/iMeshP_MOAB.cpp 2011-03-28 15:23:43 UTC (rev 4663)
+++ MOAB/branches/Version4.0/itaps/imesh/iMeshP_MOAB.cpp 2011-03-28 16:00:32 UTC (rev 4664)
@@ -7,6 +7,7 @@
#include "FileOptions.hpp"
#include "moab/ParallelComm.hpp"
#include "MBParallelConventions.h"
+#include "MBIter.hpp"
#define IS_BUILDING_MB
#include "Internals.hpp"
@@ -231,9 +232,110 @@
RETURN (iBase_SUCCESS);
}
+
+/********************* Iterators **************************/
+
+static ErrorCode get_boundary_entities( ParallelComm* pcomm,
+ EntityHandle part_handle,
More information about the moab-dev
mailing list