]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add an explicit template argument, to be able to compile on gcc 3.2.x on itanium
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 17 Nov 2006 05:39:32 +0000 (05:39 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 17 Nov 2006 05:39:32 +0000 (05:39 +0000)
git-svn-id: https://svn.dealii.org/trunk@14205 0785d39b-7218-0410-832d-ea1e28bc413d

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

index e1167574b7674d272627ad1edda9b87c201fa786..88a39a654c76b37f9d5a8df0fcfefeaac5d03160 100644 (file)
@@ -1462,7 +1462,7 @@ GridReordering<3>::invert_all_cells_of_negative_grid(
                                       // in lexicographic ordering
       for (unsigned int i=0; i<GeometryInfo<3>::vertices_per_cell; ++i)
        vertices_lex[GeometryInfo<3>::ucd_to_deal[i]]=cells[cell_no].vertices[i];
-      if (GridTools::cell_measure(all_vertices, vertices_lex) < 0)
+      if (GridTools::cell_measure<3>(all_vertices, vertices_lex) < 0)
        {
          ++n_negative_cells;
          for (unsigned int i=0; i<4; ++i)
@@ -1476,7 +1476,7 @@ GridReordering<3>::invert_all_cells_of_negative_grid(
                                           // bin
          for (unsigned int i=0; i<GeometryInfo<3>::vertices_per_cell; ++i)
            vertices_lex[GeometryInfo<3>::ucd_to_deal[i]]=cells[cell_no].vertices[i];
-         AssertThrow(GridTools::cell_measure(all_vertices, vertices_lex) > 0,
+         AssertThrow(GridTools::cell_measure<3>(all_vertices, vertices_lex) > 0,
                      ExcInternalError());
        }
     }

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.