[MOAB-dev] r6007 - in MOAB/trunk: . src/io

tautges at mcs.anl.gov tautges at mcs.anl.gov
Fri Feb 15 16:13:05 CST 2013


Author: tautges
Date: 2013-02-15 16:13:04 -0600 (Fri, 15 Feb 2013)
New Revision: 6007

Modified:
   MOAB/trunk/MOABConfig.cmake.in
   MOAB/trunk/src/io/WriteAns.hpp
   MOAB/trunk/src/io/WriteCCMIO.hpp
   MOAB/trunk/src/io/WriteDamsel.hpp
   MOAB/trunk/src/io/WriteGMV.hpp
   MOAB/trunk/src/io/WriteGmsh.hpp
   MOAB/trunk/src/io/WriteSLAC.hpp
   MOAB/trunk/src/io/WriteSmf.hpp
   MOAB/trunk/src/io/WriteTemplate.hpp
   MOAB/trunk/src/io/WriteVtk.hpp
Log:
MOABConfig.cmake.in: a few more comments on how to use this.

Others: add/make default args to write_file consistent across file writers.

Passes make check, serial and parallel.



Modified: MOAB/trunk/MOABConfig.cmake.in
===================================================================
--- MOAB/trunk/MOABConfig.cmake.in	2013-02-15 19:46:42 UTC (rev 6006)
+++ MOAB/trunk/MOABConfig.cmake.in	2013-02-15 22:13:04 UTC (rev 6007)
@@ -1,4 +1,6 @@
-# Config file for MOAB
+# Config file for MOAB; use the CMake find_package() function to pull this into
+# your own CMakeLists.txt file.
+#
 # This file defines the following variables:
 # MOAB_FOUND        - boolean indicating that MOAB is found
 # MOAB_INCLUDE_DIRS - include directories from which to pick up MOAB includes

Modified: MOAB/trunk/src/io/WriteAns.hpp
===================================================================
--- MOAB/trunk/src/io/WriteAns.hpp	2013-02-15 19:46:42 UTC (rev 6006)
+++ MOAB/trunk/src/io/WriteAns.hpp	2013-02-15 22:13:04 UTC (rev 6007)
@@ -65,9 +65,9 @@
                           const EntityHandle *output_list,
                           const int num_sets,
                           const std::vector<std::string>& qa_list,
-                          const Tag* tag_list,
-                          int num_tags,
-                          int export_dimension);
+                          const Tag* tag_list = NULL,
+                          int num_tags = 0,
+                          int export_dimension = 3);
   
 //! struct used to hold data for each block to be output; used by
 //! initialize_file to initialize the file header for increased speed

Modified: MOAB/trunk/src/io/WriteCCMIO.hpp
===================================================================
--- MOAB/trunk/src/io/WriteCCMIO.hpp	2013-02-15 19:46:42 UTC (rev 6006)
+++ MOAB/trunk/src/io/WriteCCMIO.hpp	2013-02-15 22:13:04 UTC (rev 6007)
@@ -67,9 +67,9 @@
                           const EntityHandle *output_list,
                           const int num_sets,
                           const std::vector<std::string>& qa_list,
-                          const Tag* tag_list,
-                          int num_tags,
-                          int export_dimension);
+                          const Tag* tag_list = NULL,
+                          int num_tags = 0,
+                          int export_dimension = 3);
   
 protected:
 

Modified: MOAB/trunk/src/io/WriteDamsel.hpp
===================================================================


More information about the moab-dev mailing list