]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Avoid confusing xlC by being overly complicated.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 18 Apr 2010 22:23:02 +0000 (22:23 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 18 Apr 2010 22:23:02 +0000 (22:23 +0000)
git-svn-id: https://svn.dealii.org/trunk@21004 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/geometry_info.cc

index d74c97cdf7ce8f029260f9b29b20972334cb8720..6c6e38b39c8c8c191736d234b11bdab1eb969530 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 by the deal.II authors
+//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -1747,10 +1747,10 @@ 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])
+ Tensor<0,1> (&forms)[vertices_per_cell])
 #else
   (const Point<1> *vertices,
-   Tensor<1-1,1> *forms)
+   Tensor<0,1> *forms)
 #endif
   ;
 
@@ -1760,10 +1760,10 @@ 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])
+ Tensor<1,2> (&forms)[vertices_per_cell])
 #else
   (const Point<2> *vertices,
-   Tensor<2-1,2> *forms)
+   Tensor<1,2> *forms)
 #endif
   ;
 
@@ -1773,10 +1773,10 @@ 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])
+ Tensor<0,2> (&forms)[vertices_per_cell])
 #else
   (const Point<2> *vertices,
-   Tensor<2-2,2> *forms)
+   Tensor<0,2> *forms)
 #endif
   ;
 
@@ -1786,10 +1786,10 @@ 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])
+ Tensor<1,3> (&forms)[vertices_per_cell])
 #else
 (const Point<3> *vertices,
- Tensor<3-2,3> *forms)
+ Tensor<1,3> *forms)
 #endif
   ;
 
@@ -1800,10 +1800,10 @@ 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])
+ Tensor<0,3> (&forms)[vertices_per_cell])
 #else
 (const Point<3> *vertices,
- Tensor<3-3,3> *forms)
+ Tensor<0,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.