[MOAB-dev] r4517 - in MOAB/trunk: . src src/moab test tools
iulian at mcs.anl.gov
iulian at mcs.anl.gov
Mon Feb 21 23:58:26 CST 2011
Author: iulian
Date: 2011-02-21 23:58:25 -0600 (Mon, 21 Feb 2011)
New Revision: 4517
Added:
MOAB/trunk/src/FBEngine.cpp
MOAB/trunk/src/SmoothCurve.cpp
MOAB/trunk/src/SmoothCurve.hpp
MOAB/trunk/src/SmoothFace.cpp
MOAB/trunk/src/SmoothFace.hpp
MOAB/trunk/src/moab/FBEngine.hpp
MOAB/trunk/test/mbfacet_test.cpp
Removed:
MOAB/trunk/tools/mbfacetgeom/
Modified:
MOAB/trunk/configure.ac
MOAB/trunk/src/Makefile.am
MOAB/trunk/test/Makefile.am
Log:
move the Smooth Facetting in src folder, and make it part of moab namespace
mbfacet_test is added in test folder
tools/mbfacetgeom is completely removed
Modified: MOAB/trunk/configure.ac
===================================================================
--- MOAB/trunk/configure.ac 2011-02-21 22:53:26 UTC (rev 4516)
+++ MOAB/trunk/configure.ac 2011-02-22 05:58:25 UTC (rev 4517)
@@ -570,7 +570,6 @@
MB_OPTIONAL_TOOL([gsets], [yes])
MB_OPTIONAL_TOOL([mbdepth], [yes])
MB_OPTIONAL_TOOL([refiner], [no])
-MB_OPTIONAL_TOOL([mbfacetgeom], [yes])
if test "xyes" = "x$ENABLE_refiner"; then
if test "xyes" != "x$WITH_MPI"; then
@@ -1127,7 +1126,6 @@
tools/mcnpmit/Makefile
tools/qvdual/Makefile
tools/vtkMOABReader/Makefile
- tools/mbfacetgeom/Makefile
tools/dagmc/Makefile
doc/Makefile
doc/user.dox
Added: MOAB/trunk/src/FBEngine.cpp
===================================================================
--- MOAB/trunk/src/FBEngine.cpp (rev 0)
+++ MOAB/trunk/src/FBEngine.cpp 2011-02-22 05:58:25 UTC (rev 4517)
@@ -0,0 +1,683 @@
+#include <iostream>
+#include <map>
+
+#include "moab/FBEngine.hpp"
+#include "moab/Interface.hpp"
+#include "moab/GeomTopoTool.hpp"
+#include "moab/OrientedBoxTreeTool.hpp"
+#include "moab/CartVect.hpp"
+#include <stdlib.h>
+#include <cstring>
+#include <map>
+#include "assert.h"
+
+#include "SmoothCurve.hpp"
+#include "SmoothFace.hpp"
+
+
+// this is just to replace MBI with moab interface, which is _mbImpl in this class
+#define MBI _mbImpl
+#define MBERRORR(rval, STR) { if (MB_SUCCESS != rval) { std::cout<<STR<<std::endl; return rval; } }
+
+namespace moab {
+
+const bool Debug_surf_eval = false;
+
More information about the moab-dev
mailing list