[MOAB-dev] r2645 - MOAB/trunk

janehu at mcs.anl.gov janehu at mcs.anl.gov
Wed Feb 18 14:51:31 CST 2009


Author: janehu
Date: 2009-02-18 14:51:31 -0600 (Wed, 18 Feb 2009)
New Revision: 2645

Modified:
   MOAB/trunk/ReadNCDF.hpp
Log:
Added a call to update function in load_file; simplified the calls by using smart pointer type data instead of manually arrange each memory allocation/deallocation; changed the option 'sum' to 'set' based on the nature of operation as Jason suggested.

Modified: MOAB/trunk/ReadNCDF.hpp
===================================================================
--- MOAB/trunk/ReadNCDF.hpp	2009-02-18 17:47:06 UTC (rev 2644)
+++ MOAB/trunk/ReadNCDF.hpp	2009-02-18 20:51:31 UTC (rev 2645)
@@ -82,7 +82,7 @@
   virtual ~ReadNCDF();
 
   //update the coords for deformed mesh according to FileOptions
-  MBErrorCode update(const char *exodus_file_name, FileOptions& opts);
+  MBErrorCode update(const char *exodus_file_name, const FileOptions& opts);
 
 private:
 
@@ -92,10 +92,6 @@
   
   void reset();
 
-  void do_delete(int *ptr2,
-                 std::vector<double*>* deformed_arrays,
-                 std::vector<double*>*  orig_coords );
-
     //! read the header from the ExoII file
   MBErrorCode read_exodus_header(const char *exodus_file_name);
   



More information about the moab-dev mailing list