]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Remove workarounds for DEAL_II_ARRAY_ARG_BUG from the source
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 28 Sep 2012 15:31:33 +0000 (15:31 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 28 Sep 2012 15:31:33 +0000 (15:31 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_cmake@26845 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/base/geometry_info.h
deal.II/source/base/geometry_info.cc

index cd6485273dac9ed618ded6cc0b04ed99335da57b..e2b005a2d7053b78e1cc80cd549f5ca2def1ad35 100644 (file)
@@ -2162,13 +2162,8 @@ struct GeometryInfo
     static
     void
     alternating_form_at_vertices
-#ifndef DEAL_II_ARRAY_ARG_BUG
     (const Point<spacedim> (&vertices)[vertices_per_cell],
      Tensor<spacedim-dim,spacedim> (&forms)[vertices_per_cell])
-#else
-    (const Point<spacedim> *vertices,
-     Tensor<spacedim-dim,spacedim> *forms)
-#endif
       ;
 
                                      /**
index 366731bc615ed9fbe015a2b72e8e26c116dae096..ded305d70b3e8d84a51bd36b1d0a3f942dc49591 100644 (file)
@@ -1680,13 +1680,8 @@ template <int spacedim>
 void
 GeometryInfo<dim>::
 alternating_form_at_vertices
-#ifndef DEAL_II_ARRAY_ARG_BUG
     (const Point<spacedim> (&vertices)[vertices_per_cell],
      Tensor<spacedim-dim,spacedim> (&forms)[vertices_per_cell])
-#else
-    (const Point<spacedim> *vertices,
-     Tensor<spacedim-dim,spacedim> *forms)
-#endif
 {
                                    // for each of the vertices,
                                    // compute the alternating form
@@ -1744,52 +1739,32 @@ template
 void
 GeometryInfo<1>::
 alternating_form_at_vertices
-#ifndef DEAL_II_ARRAY_ARG_BUG
 (const Point<1> (&vertices)[vertices_per_cell],
  Tensor<1-1,1> (&forms)[vertices_per_cell])
-#else
-  (const Point<1> *vertices,
-   Tensor<1-1,1> *forms)
-#endif
   ;
 
 template
 void
 GeometryInfo<1>::
 alternating_form_at_vertices
-#ifndef DEAL_II_ARRAY_ARG_BUG
 (const Point<2> (&vertices)[vertices_per_cell],
  Tensor<2-1,2> (&forms)[vertices_per_cell])
-#else
-  (const Point<2> *vertices,
-   Tensor<2-1,2> *forms)
-#endif
   ;
 
 template
 void
 GeometryInfo<2>::
 alternating_form_at_vertices
-#ifndef DEAL_II_ARRAY_ARG_BUG
 (const Point<2> (&vertices)[vertices_per_cell],
  Tensor<2-2,2> (&forms)[vertices_per_cell])
-#else
-  (const Point<2> *vertices,
-   Tensor<2-2,2> *forms)
-#endif
   ;
 
 template
 void
 GeometryInfo<2>::
 alternating_form_at_vertices
-#ifndef DEAL_II_ARRAY_ARG_BUG
 (const Point<3> (&vertices)[vertices_per_cell],
  Tensor<3-2,3> (&forms)[vertices_per_cell])
-#else
-(const Point<3> *vertices,
- Tensor<3-2,3> *forms)
-#endif
   ;
 
 
@@ -1797,13 +1772,8 @@ template
 void
 GeometryInfo<3>::
 alternating_form_at_vertices
-#ifndef DEAL_II_ARRAY_ARG_BUG
 (const Point<3> (&vertices)[vertices_per_cell],
  Tensor<3-3,3> (&forms)[vertices_per_cell])
-#else
-(const Point<3> *vertices,
- Tensor<3-3,3> *forms)
-#endif
  ;
 
 

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.