[cig-commits] commit 1958 by heien to /var/svn/dealii/aspect

dealii.demon at gmail.com dealii.demon at gmail.com
Tue Oct 15 07:15:23 PDT 2013


Revision 1958

Bug fix

U   trunk/aspect/include/aspect/particle/output.h


http://www.dealii.org/websvn/revision.php?repname=Aspect+Repository&path=%2F&rev=1958&peg=1958

Diff:
Modified: trunk/aspect/include/aspect/particle/output.h
===================================================================
--- trunk/aspect/include/aspect/particle/output.h	2013-10-15 13:02:55 UTC (rev 1957)
+++ trunk/aspect/include/aspect/particle/output.h	2013-10-15 14:15:09 UTC (rev 1958)
@@ -96,6 +96,16 @@
           std::string
           output_particle_data(const std::multimap<LevelInd, T> &particles,
                                const double &current_time) = 0;
+
+          /**
+           * Read or write the data of this object for serialization
+           */
+          template <class Archive>
+          void serialize(Archive &ar, const unsigned int version)
+          {
+            ar &file_index
+            ;
+          }
       };
 
 
@@ -123,16 +133,6 @@
       std::string
       output_object_names ();
 
-      /**
-       * Read or write the data of this object for serialization
-       */
-      template <class Archive>
-      void serialize(Archive &ar, const unsigned int version)
-      {
-        ar &file_index
-        ;
-      }
-
     }
   }
 }


More information about the CIG-COMMITS mailing list