]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Ensure to have valid quadrature point data for all SIMD lanes 9525/head
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Wed, 12 Feb 2020 14:46:25 +0000 (15:46 +0100)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Wed, 12 Feb 2020 14:46:25 +0000 (15:46 +0100)
include/deal.II/matrix_free/mapping_info.templates.h

index 307abf43486a200299a73661209f972bc77484ff..7c02c202c48be35c5cdf1a079bdb31afced07cb3 100644 (file)
@@ -1457,6 +1457,11 @@ namespace internal
                                 face_data.normal_vectors[q][d][v] =
                                   face_data.normal_vectors[q][d][0];
                               }
+                          if (fe_face_values.get_update_flags() &
+                              update_quadrature_points)
+                            for (unsigned int d = 0; d < dim; ++d)
+                              face_data.quadrature_points[q][d][v] =
+                                face_data.quadrature_points[q][d][0];
                         }
                     }
                   if (is_boundary_face == false &&

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.