From: Reza Rastak Date: Wed, 4 Sep 2019 20:26:13 +0000 (-0700) Subject: small fix X-Git-Tag: v9.2.0-rc1~1139^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F8699%2Fhead;p=dealii.git small fix --- diff --git a/source/fe/mapping_cartesian.cc b/source/fe/mapping_cartesian.cc index f9f87a5de6..2b084f528d 100644 --- a/source/fe/mapping_cartesian.cc +++ b/source/fe/mapping_cartesian.cc @@ -279,19 +279,13 @@ MappingCartesian::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::faces_per_cell, ExcInternalError()); std::fill(normal_vectors.begin(), normal_vectors.end(), - Point{GeometryInfo::unit_normal_vector[face_no]}); + GeometryInfo::unit_normal_vector[face_no]); } }