]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Minor cleanup.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 27 Jul 2015 23:37:28 +0000 (18:37 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 30 Jul 2015 02:43:54 +0000 (21:43 -0500)
source/fe/mapping_q1.cc

index 7e090cfb0826796ab24373b738d80923a7e3ebd7..36e56291db550ec9eeafa1de1b168b21f62f8a7a 100644 (file)
@@ -1131,20 +1131,17 @@ fill_fe_face_values (const typename Triangulation<dim,spacedim>::cell_iterator &
                      const typename Mapping<dim,spacedim>::InternalDataBase    &internal_data,
                      FEValuesData<dim,spacedim>                                &output_data) const
 {
-  // ensure that the following cast
-  // is really correct:
+  // ensure that the following cast is really correct:
   Assert (dynamic_cast<const InternalData *>(&internal_data) != 0,
           ExcInternalError());
   const InternalData &data = static_cast<const InternalData &>(internal_data);
 
-  const unsigned int n_q_points = quadrature.size();
-
   compute_fill_face (cell, face_no, numbers::invalid_unsigned_int,
                      DataSetDescriptor::face (face_no,
                                               cell->face_orientation(face_no),
                                               cell->face_flip(face_no),
                                               cell->face_rotation(face_no),
-                                              n_q_points),
+                                              quadrature.size()),
                      quadrature,
                      data,
                      output_data);
@@ -1162,20 +1159,17 @@ fill_fe_subface_values (const typename Triangulation<dim,spacedim>::cell_iterato
                         const typename Mapping<dim,spacedim>::InternalDataBase    &internal_data,
                         FEValuesData<dim,spacedim>                                &output_data) const
 {
-  // ensure that the following cast
-  // is really correct:
+  // ensure that the following cast is really correct:
   Assert (dynamic_cast<const InternalData *>(&internal_data) != 0,
           ExcInternalError());
   const InternalData &data = static_cast<const InternalData &>(internal_data);
 
-  const unsigned int n_q_points = quadrature.size();
-
   compute_fill_face (cell, face_no, subface_no,
                      DataSetDescriptor::subface (face_no, subface_no,
                                                  cell->face_orientation(face_no),
                                                  cell->face_flip(face_no),
                                                  cell->face_rotation(face_no),
-                                                 n_q_points,
+                                                 quadrature.size(),
                                                  cell->subface_case(face_no)),
                      quadrature,
                      data,

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.