]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Minor cleanups.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 6 Sep 2015 21:47:15 +0000 (16:47 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 10 Sep 2015 19:36:43 +0000 (14:36 -0500)
source/fe/mapping_q1.cc

index faefe2be6c10a0789092d555339f2bc1eb81fd20..e3e1777a16be9e26ba71edc0497d5ba73c53d625 100644 (file)
@@ -219,7 +219,8 @@ MappingQ1<dim,spacedim>::transform_unit_to_real_cell (
   //a Q1 InternalData, but MappingQGeneric produces one with the
   //polynomial degree of the MappingQ
   std_cxx11::unique_ptr<InternalData> mdata (new InternalData(1));
-  mdata->initialize (this->requires_update_flags (update_quadrature_points | update_jacobians), point_quadrature, 1);
+  mdata->initialize (this->requires_update_flags (update_quadrature_points),
+                     point_quadrature, 1);
 
   // compute the mapping support
   // points
@@ -244,9 +245,8 @@ Point<spacedim>
 MappingQ1<dim,spacedim>::
 transform_unit_to_real_cell_internal (const InternalData &data) const
 {
-  const unsigned int n_mapping_points=data.mapping_support_points.size();
-  (void)n_mapping_points;
-  AssertDimension (data.shape_values.size(), n_mapping_points);
+  AssertDimension (data.shape_values.size(),
+                   data.mapping_support_points.size());
 
   // use now the InternalData to
   // compute the point in real space.

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.