]> https://gitweb.dealii.org/ - dealii.git/commitdiff
While there, also adjust existing tests to check a field that was added after the...
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 10 Apr 2015 22:40:27 +0000 (17:40 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 13 Apr 2015 00:10:19 +0000 (19:10 -0500)
tests/serialization/triangulation_01.cc
tests/serialization/triangulation_02.cc

index 43a277cef76dc2526208743e3db63450f3cc33e2..565114a1ca376377d9bad8b3c9c44cea59d68fe2 100644 (file)
@@ -97,6 +97,10 @@ namespace dealii
        if (c1->active() && c2->active())
          if (c1->active_cell_index() != c2->active_cell_index())
            return false;
+
+       if (c1->level()>0)
+         if (c1->parent_index() != c2->parent_index())
+           return false;
       }
 
     // also check the order of raw iterators as they contain
index 1e0c3bfbcfbaa9704383235950f0a2a57544b48b..8941dfab7bb043b67190b19b529c5ccb1b49e53e 100644 (file)
@@ -99,6 +99,10 @@ namespace dealii
        if (c1->active() && c2->active())
          if (c1->active_cell_index() != c2->active_cell_index())
            return false;
+
+       if (c1->level()>0)
+         if (c1->parent_index() != c2->parent_index())
+           return false;
       }
 
     // also check the order of raw iterators as they contain

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.