]> https://gitweb.dealii.org/ - dealii.git/commitdiff
small fix 8699/head
authorReza Rastak <rastak@stanford.edu>
Wed, 4 Sep 2019 20:26:13 +0000 (13:26 -0700)
committerReza Rastak <rastak@stanford.edu>
Wed, 4 Sep 2019 20:26:13 +0000 (13:26 -0700)
source/fe/mapping_cartesian.cc

index f9f87a5de675e86d2ab12643b6d75ea6c655635e..2b084f528d9b281eb7d1284cc13d5f489a5f0854 100644 (file)
@@ -279,19 +279,13 @@ MappingCartesian<dim, spacedim>::compute_fill(
     }
 
 
-  // compute normal vectors. since
-  // cells are aligned to coordinate
-  // axes, they are simply vectors
-  // with exactly one entry equal to
-  // 1 or -1. Furthermore, all
-  // normals on a face have the same
-  // value
+  // compute normal vectors. All normals on a face have the same value.
   if (update_flags & update_normal_vectors)
     {
       Assert(face_no < GeometryInfo<dim>::faces_per_cell, ExcInternalError());
       std::fill(normal_vectors.begin(),
                 normal_vectors.end(),
-                Point<dim>{GeometryInfo<dim>::unit_normal_vector[face_no]});
+                GeometryInfo<dim>::unit_normal_vector[face_no]);
     }
 }
 

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.