]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Either make implicit casts from Tensor<1,dim> to Point<dim> explicit, or correct...
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 6 Feb 2015 03:16:50 +0000 (21:16 -0600)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 9 Feb 2015 23:30:36 +0000 (17:30 -0600)
source/grid/tria_boundary.cc

index d7fae946ecd4e044816c51b2f83979098c5bccb8..e296a5f2152f7286435c66b8a8d2a0592a0fe5de 100644 (file)
@@ -1,6 +1,6 @@
 // ---------------------------------------------------------------------
 //
-// Copyright (C) 1998 - 2014 by the deal.II authors
+// Copyright (C) 1998 - 2015 by the deal.II authors
 //
 // This file is part of the deal.II library.
 //
@@ -628,7 +628,7 @@ normal_vector (const typename Triangulation<dim,spacedim>::face_iterator &face,
           for (unsigned int k=0; k<spacedim; ++k)
             H[i][j] += grad_F[i][k] * grad_F[j][k];
 
-      const Point<facedim> delta_xi = -invert(H) * J;
+      const Tensor<1,facedim> delta_xi = -invert(H) * J;
       xi += delta_xi;
 
       if (delta_xi.norm() < eps)
@@ -847,7 +847,7 @@ namespace internal
               H_k += (object->vertex(i) * object->vertex(j)) * tmp;
             }
 
-        const Point<dim> delta_xi = - invert(H_k) * F_k;
+        const Tensor<1,dim> delta_xi = - invert(H_k) * F_k;
         xi += delta_xi;
 
         x_k = Point<spacedim>();

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.