[MOAB-dev] r3979 - in MOAB/trunk/src: . io
tautges at mcs.anl.gov
tautges at mcs.anl.gov
Fri May 28 17:13:43 CDT 2010
Author: tautges
Date: 2010-05-28 17:13:43 -0500 (Fri, 28 May 2010)
New Revision: 3979
Modified:
MOAB/trunk/src/GeomTopoTool.cpp
MOAB/trunk/src/OrientedBoxTreeTool.cpp
MOAB/trunk/src/WriteUtil.cpp
MOAB/trunk/src/io/WriteCCMIO.cpp
MOAB/trunk/src/io/WriteCCMIO.hpp
Log:
Fixing a few warnings.
Fixing WriteUtil::get_element_connect or somesuch for polyhedra.
Couple more errors in CCMIO writer, when material or neumann sets don't have ids.
Modified: MOAB/trunk/src/GeomTopoTool.cpp
===================================================================
--- MOAB/trunk/src/GeomTopoTool.cpp 2010-05-28 17:56:33 UTC (rev 3978)
+++ MOAB/trunk/src/GeomTopoTool.cpp 2010-05-28 22:13:43 UTC (rev 3979)
@@ -34,7 +34,7 @@
const char GEOM_SENSE_TAG_NAME[] = "GEOM_SENSE_2";
GeomTopoTool::GeomTopoTool(Interface *impl, bool find_geoments)
- : mdbImpl(impl), obbTree(impl), sense2Tag(0), oneVolRootSet(NULL)
+ : mdbImpl(impl), sense2Tag(0), obbTree(impl), oneVolRootSet(NULL)
{
ErrorCode result = mdbImpl->tag_create(GEOM_DIMENSION_TAG_NAME, 4,
MB_TAG_SPARSE, geomTag, NULL);
Modified: MOAB/trunk/src/OrientedBoxTreeTool.cpp
===================================================================
--- MOAB/trunk/src/OrientedBoxTreeTool.cpp 2010-05-28 17:56:33 UTC (rev 3978)
+++ MOAB/trunk/src/OrientedBoxTreeTool.cpp 2010-05-28 22:13:43 UTC (rev 3979)
@@ -973,7 +973,7 @@
if (len_idx >= 0) {
// If we no longer want an intersection outside the tolerance,
// remove it.
- if (intersections.size() >= minTolInt) {
+ if ((int)intersections.size() >= minTolInt) {
intersections[len_idx] = t;
sets[len_idx] = lastSet;
facets[len_idx] = facet;
@@ -997,7 +997,7 @@
// If we have all the intersections we want, set
// length such that we will only find further intersections
// within the tolerance
- if (intersections.size() >= minTolInt)
+ if ((int)intersections.size() >= minTolInt)
len = &tol;
}
}
@@ -1013,7 +1013,7 @@
}
// Otherwise if we want an intersection outside the tolerance
// and don'thave one yet, add it.
- else if (intersections.size() < minTolInt) {
+ else if ((int)intersections.size() < minTolInt) {
intersections.push_back( t );
sets.push_back( lastSet );
facets.push_back(facet);
Modified: MOAB/trunk/src/WriteUtil.cpp
===================================================================
--- MOAB/trunk/src/WriteUtil.cpp 2010-05-28 17:56:33 UTC (rev 3978)
+++ MOAB/trunk/src/WriteUtil.cpp 2010-05-28 22:13:43 UTC (rev 3979)
@@ -573,7 +573,7 @@
More information about the moab-dev
mailing list