]> https://gitweb.dealii.org/ - dealii.git/commitdiff
MappingInfo: Use correct update flags for face quadrature fields 9776/head
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Mon, 30 Mar 2020 06:30:35 +0000 (08:30 +0200)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Mon, 30 Mar 2020 06:30:35 +0000 (08:30 +0200)
include/deal.II/matrix_free/mapping_info.templates.h

index ee0d69757f60031688eb49f02710b7d97455cf61..dcfab025c76cfb259c1b81366be20cafa119ed67 100644 (file)
@@ -2687,7 +2687,7 @@ namespace internal
           my_data.normals_times_jacobians[0].resize_fast(max_size);
           my_data.normals_times_jacobians[1].resize_fast(max_size);
 
-          if (update_flags_cells & update_quadrature_points)
+          if (update_flags_common & update_quadrature_points)
             {
               my_data.quadrature_point_offsets.resize(face_type.size());
               my_data.quadrature_point_offsets[0] = 0;

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.