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

tautges at mcs.anl.gov tautges at mcs.anl.gov
Fri Oct 26 13:41:27 CDT 2012


Author: tautges
Date: 2012-10-26 13:41:27 -0500 (Fri, 26 Oct 2012)
New Revision: 5837

Added:
   MOAB/trunk/src/io/ReadGCRM.cpp
   MOAB/trunk/src/io/ReadGCRM.hpp
Modified:
   MOAB/trunk/src/ReaderWriterSet.cpp
   MOAB/trunk/src/io/Makefile.am
Log:
Adding stub GCRM reader, disabled for now.



Modified: MOAB/trunk/src/ReaderWriterSet.cpp
===================================================================
--- MOAB/trunk/src/ReaderWriterSet.cpp	2012-10-26 17:29:24 UTC (rev 5836)
+++ MOAB/trunk/src/ReaderWriterSet.cpp	2012-10-26 18:41:27 UTC (rev 5837)
@@ -50,11 +50,13 @@
 #  include "WriteNCDF.hpp"
 #  include "WriteSLAC.hpp"
 #  include "ReadNC.hpp"
+#  include "ReadGCRM.hpp"
 #endif
 
 // 2nd include of ReadNC in case we have pnetcdf and not netcdf
 #ifdef PNETCDF_FILE 
 #  include "ReadNC.hpp"
+#  include "ReadGCRM.hpp"
 #endif
 
 #ifdef CCMIO_FILE
@@ -97,6 +99,7 @@
 #ifdef NETCDF_FILE
   const char* exo_sufxs[] = { "exo", "exoII", "exo2", "g", "gen", NULL };
   register_factory( ReadNCDF::factory, WriteNCDF::factory, "Exodus II", exo_sufxs, "EXODUS" );
+  register_factory( ReadGCRM::factory, NULL, "GCRM NC", "nc", "GCRM" );
   register_factory( ReadNC::factory, NULL, "Climate NC", "nc", "NC" );
 #endif
 

Modified: MOAB/trunk/src/io/Makefile.am
===================================================================
--- MOAB/trunk/src/io/Makefile.am	2012-10-26 17:29:24 UTC (rev 5836)
+++ MOAB/trunk/src/io/Makefile.am	2012-10-26 18:41:27 UTC (rev 5837)
@@ -16,14 +16,16 @@
   MOAB_NETCDF_SRCS = ReadNCDF.cpp  ReadNCDF.hpp \
                      WriteNCDF.cpp WriteNCDF.hpp \
                      WriteSLAC.cpp WriteSLAC.hpp \
-		     ReadNC.cpp ReadNC.hpp
+		     ReadNC.cpp ReadNC.hpp \
+	  	     ReadGCRM.cpp ReadGCRM.hpp
 else
   MOAB_NETCDF_SRCS =
 endif
 
 if PNETCDF_FILE
 if !NETCDF_FILE
-     MOAB_NETCDF_SRCS += ReadNC.cpp ReadNC.hpp
+     MOAB_NETCDF_SRCS += ReadNC.cpp ReadNC.hpp \
+	  	     ReadGCRM.cpp ReadGCRM.hpp
 endif
 endif
 



More information about the moab-dev mailing list