[MOAB-dev] r4181 - MOAB/trunk/itaps/igeom

iulian at mcs.anl.gov iulian at mcs.anl.gov
Wed Sep 29 10:18:16 CDT 2010


Author: iulian
Date: 2010-09-29 10:18:15 -0500 (Wed, 29 Sep 2010)
New Revision: 4181

Added:
   MOAB/trunk/itaps/igeom/SmoothCurveEval.cpp
   MOAB/trunk/itaps/igeom/SmoothCurveEval.hpp
   MOAB/trunk/itaps/igeom/SmoothFaceEval.cpp
   MOAB/trunk/itaps/igeom/SmoothFaceEval.hpp
   MOAB/trunk/itaps/igeom/testSmooth.cc
Modified:
   MOAB/trunk/itaps/igeom/Makefile.am
   MOAB/trunk/itaps/igeom/iGeom_MOAB.cpp
Log:
Move smooth faceting in iGeom implementation in MOAB
right now, it is triggered by "SMOOTH;" option when loading a 
file; At that moment, smooth initialization is performed.
Currently, only a few iGeom methods are supported; most important are
projection to surface and normal evaluation at a point (close) to the
surface
These are minimum requirements for a surface mesher like Camal Paver

Maybe the "SMOOTH;" option should be part of "engine_opt", when a new 
iGeom instance is created.



Modified: MOAB/trunk/itaps/igeom/Makefile.am
===================================================================
--- MOAB/trunk/itaps/igeom/Makefile.am	2010-09-28 21:34:42 UTC (rev 4180)
+++ MOAB/trunk/itaps/igeom/Makefile.am	2010-09-29 15:18:15 UTC (rev 4181)
@@ -19,7 +19,9 @@
 
 libiGeomMOAB_la_SOURCES = \
         iGeom_MOAB.hpp \
-	iGeom_MOAB.cpp 
+	iGeom_MOAB.cpp \
+	SmoothCurveEval.hpp SmoothCurveEval.cpp \
+	SmoothFaceEval.hpp SmoothFaceEval.cpp 
 
 libiGeomMOAB_la_include_HEADERS = \
 	iGeom.h \
@@ -27,7 +29,7 @@
 	iGeom_f.h
 
 # stuff for test program
-check_PROGRAMS = testgeom
+check_PROGRAMS = testgeom  testSmoothGeom 
 testgeom_SOURCES = testgeom.cc
 testgeom_DEPENDENCIES = libiGeomMOAB.la \
                         $(top_builddir)/itaps/imesh/libiMesh.la \
@@ -36,6 +38,15 @@
                  $(top_builddir)/itaps/imesh/libiMesh.la \
                  $(top_builddir)/src/libMOAB.la \
                  ${MOAB_CXX_LINKFLAGS} ${MOAB_CXX_LIBS}
+
+testSmoothGeom_SOURCES = testSmooth.cc 
+testSmoothGeom_DEPENDENCIES = libiGeomMOAB.la \
+                        $(top_builddir)/itaps/imesh/libiMesh.la \
+                        $(top_builddir)/src/libMOAB.la 
+testSmoothGeom_LDADD = libiGeomMOAB.la \
+                 $(top_builddir)/itaps/imesh/libiMesh.la \
+                 $(top_builddir)/src/libMOAB.la \
+                 ${MOAB_CXX_LINKFLAGS} ${MOAB_CXX_LIBS}
                  
 TESTS = $(check_PROGRAMS)
 

Added: MOAB/trunk/itaps/igeom/SmoothCurveEval.cpp
===================================================================
--- MOAB/trunk/itaps/igeom/SmoothCurveEval.cpp	                        (rev 0)
+++ MOAB/trunk/itaps/igeom/SmoothCurveEval.cpp	2010-09-29 15:18:15 UTC (rev 4181)
@@ -0,0 +1,431 @@
+/*
+ * SmoothCurveEval.cpp
+ *
+ *  Created on: Jun 9, 2010
+ *      Author: iulian


More information about the moab-dev mailing list