]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove an old TODO
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 8 Sep 2007 01:37:16 +0000 (01:37 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 8 Sep 2007 01:37:16 +0000 (01:37 +0000)
git-svn-id: https://svn.dealii.org/trunk@15165 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/grid/grid_reordering.cc

index 91de958d833edf39dcad06c740ce58e7be3006f3..0b70d37c85fb98c9b976cfda36791419f00b69dc 100644 (file)
@@ -646,6 +646,7 @@ namespace internal
     const EdgeOrientation forward_edge    = {'f'};
     const EdgeOrientation backward_edge   = {'b'};
 
+    
     inline
     bool
     EdgeOrientation::
@@ -700,17 +701,16 @@ namespace internal
                                        * the edge -1 means the end
                                        * of the edge.
                                        */
-//TODO: we should really initialize these entries as forward_edge or backward_edge, but gcc2.95 has a bug where it zero-initializes these data elements instead, leading to aborts later on.
       static const EdgeOrientation edge_to_node_orient[8][3] = 
       {
-           {{'f'},{'f'},{'f'}},
-           {{'b'},{'f'},{'f'}},
-           {{'b'},{'b'},{'f'}},
-           {{'f'},{'b'},{'f'}},
-           {{'f'},{'f'},{'b'}},
-           {{'b'},{'f'},{'b'}},
-           {{'b'},{'b'},{'b'}}, 
-           {{'f'},{'b'},{'b'}}
+           {forward_edge,  forward_edge,  forward_edge},
+           {backward_edge, forward_edge,  forward_edge},
+           {backward_edge, backward_edge, forward_edge},
+           {forward_edge,  backward_edge, forward_edge},
+           {forward_edge,  forward_edge,  backward_edge},
+           {backward_edge, forward_edge,  backward_edge},
+           {backward_edge, backward_edge, backward_edge}, 
+           {forward_edge,  backward_edge, backward_edge}
       };           
     
                                       /**

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.