]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Undo previous patch: the flag was used after all (in the .cc file, which I
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 10 Jun 2011 06:22:22 +0000 (06:22 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 10 Jun 2011 06:22:22 +0000 (06:22 +0000)
forgot existed) but not initialized. Initialize it now.

git-svn-id: https://svn.dealii.org/trunk@23803 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/grid/tria_objects.h

index cf32cc43d1c6b900372549a197f5f8c5f087535a..f1ea6938bf622db5ba7d7a444c31c4aaccb5e824 100644 (file)
@@ -380,6 +380,11 @@ namespace internal
                                          * Counter for next_free_pair_* functions
                                          */
        unsigned int next_free_pair;
+
+                                        /**
+                                         * Bool flag for next_free_single_* functions
+                                         */
+       bool reverse_order_next_free_single;
        
                                         /**
                                          * The data type storing user
@@ -730,6 +735,7 @@ namespace internal
     inline
     TriaObjects<G>::TriaObjects()
                    :
+                   reverse_order_next_free_single (false),
                    user_data_type(data_unknown)
     {}    
     
@@ -788,7 +794,7 @@ namespace internal
       ar & used;
       ar & user_flags;
       ar & material_id;
-      ar & next_free_single & next_free_pair;
+      ar & next_free_single & next_free_pair & reverse_order_next_free_single;
       ar & user_data & user_data_type;
     }
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.