[MOAB-dev] r2638 - MOAB/trunk

kraftche at mcs.anl.gov kraftche at mcs.anl.gov
Wed Feb 11 12:13:16 CST 2009


Author: kraftche
Date: 2009-02-11 12:13:16 -0600 (Wed, 11 Feb 2009)
New Revision: 2638

Modified:
   MOAB/trunk/MBReaderWriterSet.cpp
Log:
add ReadTetGen to list of registered readers

Modified: MOAB/trunk/MBReaderWriterSet.cpp
===================================================================
--- MOAB/trunk/MBReaderWriterSet.cpp	2009-02-11 18:11:49 UTC (rev 2637)
+++ MOAB/trunk/MBReaderWriterSet.cpp	2009-02-11 18:13:16 UTC (rev 2638)
@@ -26,6 +26,7 @@
 #include "ReadIDEAS.hpp"
 #include "ReadSms.hpp"
 #include "Tqdcfr.hpp"
+#include "ReadTetGen.hpp"
 
 #include "WriteAns.hpp"
 #include "WriteVtk.hpp"
@@ -89,6 +90,9 @@
   register_factory( ReadGmsh::factory, WriteGmsh::factory, "Gmsh mesh file", gmsh_sufxs, "GMSH" );
   
   register_factory( ReadSTL::factory, WriteSTL::factory, "Stereo Lithography File (STL)", "stl", "STL" );
+
+  const char* tetgen_sufxs[] = { "node", "ele", "face", "edge", NULL };
+  register_factory( ReadTetGen::factory, 0, "TetGen output files", tetgen_sufxs, "TETGEN" );
 }
 
 



More information about the moab-dev mailing list