[cgma-dev] r5783 - in cgm/trunk: . util

janehu at mcs.anl.gov janehu at mcs.anl.gov
Wed Oct 10 13:35:46 CDT 2012


Author: janehu
Date: 2012-10-10 13:35:45 -0500 (Wed, 10 Oct 2012)
New Revision: 5783

Added:
   cgm/trunk/util/CubitLoops.hpp
   cgm/trunk/util/FacetShapeDefs.hpp
Modified:
   cgm/trunk/Makefile.am
Log:
Missed some files for build.

Modified: cgm/trunk/Makefile.am
===================================================================
--- cgm/trunk/Makefile.am	2012-10-10 18:16:19 UTC (rev 5782)
+++ cgm/trunk/Makefile.am	2012-10-10 18:35:45 UTC (rev 5783)
@@ -40,7 +40,7 @@
                   $(CGM_ll_LIB) \
                   geom/virtual/libcubit_virtual.la \
                   geom/facet/libcubit_facet.la \
-		  geom/Cholla/libcholla.la \
+		  geom/Cholla/libCholla.la \
                   geom/facetbool/libcubit_facetbool.la \
                   geom/libcubit_geom.la \
                   util/libcubit_util.la
@@ -48,7 +48,7 @@
   CORE_CGM_LIBS = geom/libcubit_geom.la $(CGM_ll_LIB)
 endif
 
-SUBDIRS = compat util geom init . $(igeom_DIR) test cgm_apps 
+SUBDIRS = compat util geom init . $(igeom_DIR) test cgm_apps
 # geom/testing
 
 libcgm_la_LIBADD = init/libcgma_init.la $(CORE_CGM_LIBS) $(CGM_EXT_LIBS) $(CUBIT_FILE)

Added: cgm/trunk/util/CubitLoops.hpp
===================================================================
--- cgm/trunk/util/CubitLoops.hpp	                        (rev 0)
+++ cgm/trunk/util/CubitLoops.hpp	2012-10-10 18:35:45 UTC (rev 5783)
@@ -0,0 +1,150 @@
+#ifndef CUBIT_LOOPS_HPP
+#define CUBIT_LOOPS_HPP
+
+#include "CubitDefines.h"
+#include <vector>
+#include <set>
+#include <map>
+
+template <class C, class V>
+class CubitLoops
+{
+public:
+  struct CoEdge
+  {
+    C* curve;
+    V* start;
+    V* end;
+    CubitSense sense;
+  };
+
+  static bool make_loops(std::vector<CoEdge>& coedges,
+      std::vector<std::vector<CoEdge*> >& loops);
+


More information about the cgma-dev mailing list