From 4dc60e15bae9c59f4e3f9a8852e065ca1c1b064d Mon Sep 17 00:00:00 2001 From: Reza Rastak Date: Wed, 4 Sep 2019 13:26:13 -0700 Subject: [PATCH] small fix --- source/fe/mapping_cartesian.cc | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) 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]); } } -- 2.39.5