[MOAB-dev] r4491 - in MOAB/trunk: . tools tools/mbfacetgeom

iulian at mcs.anl.gov iulian at mcs.anl.gov
Mon Feb 14 15:28:51 CST 2011


Author: iulian
Date: 2011-02-14 15:28:51 -0600 (Mon, 14 Feb 2011)
New Revision: 4491

Added:
   MOAB/trunk/tools/mbfacetgeom/
   MOAB/trunk/tools/mbfacetgeom/FBEngine.cpp
   MOAB/trunk/tools/mbfacetgeom/FBEngine.hpp
   MOAB/trunk/tools/mbfacetgeom/Makefile.am
   MOAB/trunk/tools/mbfacetgeom/SmoothCurve.cpp
   MOAB/trunk/tools/mbfacetgeom/SmoothCurve.hpp
   MOAB/trunk/tools/mbfacetgeom/SmoothFace.cpp
   MOAB/trunk/tools/mbfacetgeom/SmoothFace.hpp
   MOAB/trunk/tools/mbfacetgeom/mbfacet_test.cpp
Modified:
   MOAB/trunk/configure.ac
   MOAB/trunk/tools/Makefile.am
Log:
Add mesh based geometry tool in moab
It has the option of linear faceting or smooth faceting
FBEngine class will be delegated to iGeom-like calls
Example of usage is in mbfacet_test.cpp


Modified: MOAB/trunk/configure.ac
===================================================================
--- MOAB/trunk/configure.ac	2011-02-14 18:08:12 UTC (rev 4490)
+++ MOAB/trunk/configure.ac	2011-02-14 21:28:51 UTC (rev 4491)
@@ -570,6 +570,7 @@
 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
@@ -1122,6 +1123,7 @@
                  tools/mcnpmit/Makefile
                  tools/qvdual/Makefile
                  tools/vtkMOABReader/Makefile
+                 tools/mbfacetgeom/Makefile
                  tools/dagmc/Makefile
                  doc/Makefile
                  doc/user.dox

Modified: MOAB/trunk/tools/Makefile.am
===================================================================
--- MOAB/trunk/tools/Makefile.am	2011-02-14 18:08:12 UTC (rev 4490)
+++ MOAB/trunk/tools/Makefile.am	2011-02-14 21:28:51 UTC (rev 4491)
@@ -131,7 +131,8 @@
 	  $(mcnpmit_DIR) \
           $(qvdual_DIR) \
 	  $(vtkMOABReader_DIR) \
-          $(dagmc_DIR)
+          $(dagmc_DIR) \
+          mbfacetgeom
 
 mbconvert_SOURCES = convert.cpp
 mbgsets_SOURCES = gsets.cc

Added: MOAB/trunk/tools/mbfacetgeom/FBEngine.cpp
===================================================================
--- MOAB/trunk/tools/mbfacetgeom/FBEngine.cpp	                        (rev 0)
+++ MOAB/trunk/tools/mbfacetgeom/FBEngine.cpp	2011-02-14 21:28:51 UTC (rev 4491)
@@ -0,0 +1,683 @@
+#include <iostream>
+#include <map>
+
+#include "FBEngine.hpp"
+#include "moab/Interface.hpp"
+#include "moab/GeomTopoTool.hpp"
+#include "moab/OrientedBoxTreeTool.hpp"
+#include "moab/CartVect.hpp"
+#include <stdlib.h>
+#include <cstring>


More information about the moab-dev mailing list