[MOAB-dev] r1880 - in MOAB/trunk: . tools/mbcoupler

dcthomp at mcs.anl.gov dcthomp at mcs.anl.gov
Mon Jun 9 13:08:26 CDT 2008


Author: dcthomp
Date: 2008-06-09 13:08:26 -0500 (Mon, 09 Jun 2008)
New Revision: 1880

Added:
   MOAB/trunk/tools/mbcoupler/CMakeLists.txt
Modified:
   MOAB/trunk/CMakeLists.txt
Log:
ENH: Track new stuff in repository.


Modified: MOAB/trunk/CMakeLists.txt
===================================================================
--- MOAB/trunk/CMakeLists.txt	2008-06-06 19:45:15 UTC (rev 1879)
+++ MOAB/trunk/CMakeLists.txt	2008-06-09 18:08:26 UTC (rev 1880)
@@ -103,6 +103,7 @@
   option ( MOAB_BUILD_MBSURFPLOT   "Build the mbsurfplot application?"    ON )
   option ( MOAB_BUILD_MBZOLTAN     "Build the mbzoltan partitioner?"      OFF )
   option ( MOAB_BUILD_DAGMC        "Build the dagmc tool?"                ON )
+  option ( MOAB_BUILD_MBCOUPLER    "Build the mesh coupler tool?"         ON )
 
   # iMesh
   option ( MOAB_BUILD_IMESH        "Build the iMesh interface?"           ON )
@@ -126,7 +127,6 @@
     MBBSPTree.cpp
     MBCN.cpp
     MBCartVect.cpp
-    MBElemUtil.cpp
     MBHandleUtils.cpp
     MBMatrix3.cpp
     MBCore.cpp
@@ -274,6 +274,11 @@
     add_subdirectory( tools/dagmc )
   endif ( MOAB_BUILD_DAGMC )
 
+  # MBCoupler
+  if ( MOAB_BUILD_MBCOUPLER )
+    add_subdirectory( tools/mbcoupler )
+  endif ( MOAB_BUILD_MBCOUPLER )
+
   # iMesh Babel
   if ( MOAB_BUILD_IMESH )
     option( MOAB_IMESH_FORTRAN "Should MOAB include iMesh FORTRAN bindings?" OFF )

Added: MOAB/trunk/tools/mbcoupler/CMakeLists.txt
===================================================================
--- MOAB/trunk/tools/mbcoupler/CMakeLists.txt	                        (rev 0)
+++ MOAB/trunk/tools/mbcoupler/CMakeLists.txt	2008-06-09 18:08:26 UTC (rev 1880)
@@ -0,0 +1,22 @@
+include_directories(
+  ${CMAKE_CURRENT_SOURCE_DIRECTORY}
+)
+
+set( MBCOUPLER_SRCS
+  MBElemUtil.cpp
+  tensor.c
+  poly.c
+  findpt.c
+  errmem.c
+)
+
+add_library( mbcoupler
+  ${MBCOUPLER_SRCS}
+)
+
+enable_testing()
+
+# A test for the coupler library
+add_executable( findpt_test findpt_test.cpp )
+target_link_libraries( findpt_test mbcoupler MOAB )
+add_test( TestMBCouplerFindPt ${EXECUTABLE_OUTPUT_PATH}/findpt_test )




More information about the moab-dev mailing list