[MOAB-dev] r1810 - MOAB/trunk/tools/mcnpmit

bckiedro at mcs.anl.gov bckiedro at mcs.anl.gov
Thu May 15 09:09:50 CDT 2008


Author: bckiedro
Date: 2008-05-15 09:09:49 -0500 (Thu, 15 May 2008)
New Revision: 1810

Modified:
   MOAB/trunk/tools/mcnpmit/main.cpp
Log:
05/15/08 BCK

Changed mcnpmit tool to write out a .h5m file from a .unv file now
that we have the capability to visualize in VISIT.




Modified: MOAB/trunk/tools/mcnpmit/main.cpp
===================================================================
--- MOAB/trunk/tools/mcnpmit/main.cpp	2008-05-14 18:13:59 UTC (rev 1809)
+++ MOAB/trunk/tools/mcnpmit/main.cpp	2008-05-15 14:09:49 UTC (rev 1810)
@@ -272,8 +272,8 @@
   if (read_unv) {
     std::string cfd_mesh_fname = CAD_filename;
     cfd_mesh_fname.erase( CAD_filename.find(".unv"), CAD_filename.length());
-    // MBresult = MBI->write_mesh( (cfd_mesh_fname + ".h5m").c_str(), &meshset, 1);
-    MBresult = MBI->write_file( (cfd_mesh_fname + ".vtk").c_str(), "vtk", NULL, &meshset, 1, &cfd_heating_tag, 1);
+    MBresult = MBI->write_mesh( (cfd_mesh_fname + ".h5m").c_str(), &meshset, 1);
+    // MBresult = MBI->write_file( (cfd_mesh_fname + ".vtk").c_str(), "vtk", NULL, &meshset, 1, &cfd_heating_tag, 1);
   }
 
   std::cout << "Time to read in file:     " << (double) load_time / CLOCKS_PER_SEC << std::endl;




More information about the moab-dev mailing list