]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix up places where we use Point<dim> for directions when we should be
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 5 Feb 2015 02:56:27 +0000 (20:56 -0600)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 5 Feb 2015 03:25:15 +0000 (21:25 -0600)
using Tensor<1,dim>.

source/fe/mapping_q1.cc

index 399bdaa2fb21b8768607f5a03c47a910271c5b8a..8b2cdb4de94b7c521e7c8ec21e41a29ab9d7d0a6 100644 (file)
@@ -1938,8 +1938,8 @@ transform_real_to_unit_cell_internal_codim1
 
   Point<spacedim1> p_minus_F;
 
-  Point<spacedim1>  DF[dim1];
-  Point<spacedim1>  D2F[dim1][dim1];
+  Tensor<1,spacedim1>  DF[dim1];
+  Tensor<1,spacedim1>  D2F[dim1][dim1];
 
   Point<dim1> p_unit = initial_p_unit;
   Point<dim1> f;

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.